homeassistant-0.82.1
This commit is contained in:
parent
8c9ef8fe47
commit
ebf2e9e972
@ -17,6 +17,7 @@ DIST homeassistant-0.80.3.tar.gz 2979360 BLAKE2B ad04bd4ee64f0942280d0a30305c8ad
|
||||
DIST homeassistant-0.81.1.tar.gz 3072648 BLAKE2B 584abd3b2e0f1f386f5e26ac17145226f482dac2ece408d30de54f2a818709d3c2eb069128371eb498638beea1442dad3967d4f9d79b5e934c6a0f07addeb9a9 SHA512 30fb700d2810f493d4e2814c57ee4bad75f698a477b3c008c24084efcc761186e719f8770b69033930441c2f3ea8c79379b3c16c7dd2ed73aacc14438886e786
|
||||
DIST homeassistant-0.81.2.tar.gz 3074637 BLAKE2B 1bf2e9d5df9e27b8db9959b8133ad5c144e1226cf248351345da5188130a7c5d128e3d1f527a07ec5651e00a5eab21618b15e85abd9892498d42fb89bee9fd1c SHA512 5b0cc5b35c756a8c0e7bd06b30823ba7bf0faa62a73e22fd5ed43de64b96d45eeb17f44440c290deb5c7da703434e5182bb5cc1299b2dfe0e957737739ff4112
|
||||
DIST homeassistant-0.81.6.tar.gz 3074124 BLAKE2B 2b816cd3547547d3f5797abf0670ba9eeefeb461f75c5b9ef85985b093be544ae57fbf3a9596ebd405183d010b81256b69d82bc34fbe418d2ef7dd19ffcf97a2 SHA512 6892b52a7f7ecb194d6d43e0252b3aea7e3545ed1e1139bb80f311307844e0bec9b0aa42e5c626f83870e98342091c1f9df71a0b65f161f484afc00e630e0dd3
|
||||
DIST homeassistant-0.82.1.tar.gz 3105867 BLAKE2B 533e8df79ba85ff1eedfb4d03de5f61b0c512a08b5f5e7e0f58f0a659e31cb6d582806a9cc602a4c6010431a39cca8616411e55f7c88abb002585c4758b915b0 SHA512 2ad5685220489e8cc56b675129d5544753b6225525ac224df1be4574ec6f7e124481569c22a612211c2fa6f64228a2a3f9cf92adf956ea08580258cf208070cd
|
||||
EBUILD homeassistant-0.77.2.ebuild 2814 BLAKE2B 79f83a94173802e5026fab45e3d544fa15e896aeed85bcb0c52364411f4c6a83b5a922fe834569629d2b557e8ecf3df375b0142de0ac943938a584c71945ca46 SHA512 84491521b703ae12e2433914898e82f9318c34999dd6113c99ca9745e895c5dc2bc3dab4221cb3238f2ef23c34b93f2999ae1fe54afa89692d682bd89de29cee
|
||||
EBUILD homeassistant-0.77.3.ebuild 2814 BLAKE2B 79f83a94173802e5026fab45e3d544fa15e896aeed85bcb0c52364411f4c6a83b5a922fe834569629d2b557e8ecf3df375b0142de0ac943938a584c71945ca46 SHA512 84491521b703ae12e2433914898e82f9318c34999dd6113c99ca9745e895c5dc2bc3dab4221cb3238f2ef23c34b93f2999ae1fe54afa89692d682bd89de29cee
|
||||
EBUILD homeassistant-0.78.0.ebuild 2814 BLAKE2B 79f83a94173802e5026fab45e3d544fa15e896aeed85bcb0c52364411f4c6a83b5a922fe834569629d2b557e8ecf3df375b0142de0ac943938a584c71945ca46 SHA512 84491521b703ae12e2433914898e82f9318c34999dd6113c99ca9745e895c5dc2bc3dab4221cb3238f2ef23c34b93f2999ae1fe54afa89692d682bd89de29cee
|
||||
@ -29,3 +30,4 @@ EBUILD homeassistant-0.80.3.ebuild 3643 BLAKE2B 5c959a418aa57cf229416754e552962c
|
||||
EBUILD homeassistant-0.81.1.ebuild 3643 BLAKE2B 5c959a418aa57cf229416754e552962c192a12341afeb45d59ea2758ae3a60721ed65fbab18dd69d3cee858c48d662c0d93a933fe07b02eab8b4ab59efa538e1 SHA512 a2bef58b11d06101200da843b6909849bb153c6901de3c6650b6b3c34fb7ebfd738f2363e3bd3f7cf2dd342e4373a8a65a25cbc33b0035002418d294e2627dbb
|
||||
EBUILD homeassistant-0.81.2.ebuild 4685 BLAKE2B cd0da1106450a6f374cdbbda7b54b09a908db7ee965f197993b0014bf7a8c3e094d4dd27f26734f5d08e0dd03dd1da28312e656f7eeadbc8aeca992cff6fb506 SHA512 c14835694e4136b8dda56da2798221f8e4ab5a887300e2d79e60fc356955778f3f4c81df02b9d87d8dbb6da783a713465123572a51d12e2c76bf715ca8fd119b
|
||||
EBUILD homeassistant-0.81.6.ebuild 4730 BLAKE2B 11f2fd08b034c71c24f53ee45e5f1f2843770f0c889dd4630eea8e06e31439d5eab027179e5ba024a44202e9834eb48dc63ad12dfa1aa801b60bfe7a8fa9bed7 SHA512 4b14c58f767bdae65a4b9238abd3f52dfaa4e58abc010c2e30ed4a517a6187a5aff37e64c03278e04d273e19a724b5378efb61413ce3d03dd7e400e68e7480bd
|
||||
EBUILD homeassistant-0.82.1.ebuild 4775 BLAKE2B 20f68873a42e782367ffcb9de0604e04c429cd94216ef9cba211027a53f454bcad938ad09add8b55de961a1d4f4d231fb109b78b7cd91086941e621e8ae0eef7 SHA512 603c0f3b7e8deba9ad6a156c4db5a8db7f9d8ca54e6a4cd142bbb609c922a153acf95dd0c91e8bb5c788d0a29e57f51908acc9fa9943c3893ca353cd8bdd631b
|
||||
|
149
app-misc/homeassistant/homeassistant-0.82.1.ebuild
Normal file
149
app-misc/homeassistant/homeassistant-0.82.1.ebuild
Normal file
@ -0,0 +1,149 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Ebuild (C)2018 OnkelBeh
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
PYTHON_COMPAT=( python3_5 python3_6 )
|
||||
|
||||
inherit user readme.gentoo-r1 eutils distutils-r1
|
||||
|
||||
DESCRIPTION="Open-source home automation platform running on Python 3.6"
|
||||
HOMEPAGE="https://home-assistant.io"
|
||||
SRC_URI="https://github.com/home-assistant/home-assistant/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
RESTRICT="mirror"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64"
|
||||
IUSE="atv hs100 maint tradfri wemo mysql musiccast samsungtv"
|
||||
|
||||
DEPEND="
|
||||
${PYTHON_DEPS}
|
||||
!app-misc/homeassistant-bin
|
||||
>=dev-python/aiohttp-3.4.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/astral-1.6.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/async_timeout-3.0.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/attrs-18.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/attrs-18.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/bcrypt-3.1.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/boto3-1.9.16[${PYTHON_USEDEP}]
|
||||
>=dev-python/botocore-1.12.35[${PYTHON_USEDEP}]
|
||||
>=dev-python/beautifulsoup-4.5.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/certifi-2018.10.15[${PYTHON_USEDEP}]
|
||||
>=dev-python/chardet-3.0.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/colorlog-3.1.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/coverage-4.5.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/cryptography-2.3.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/distro-1.3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/docutils-0.14[${PYTHON_USEDEP}]
|
||||
>=dev-python/ecdsa-0.13[${PYTHON_USEDEP}]
|
||||
>=dev-python/future-0.17.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/idna-ssl-1.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/idna-2.7[${PYTHON_USEDEP}]
|
||||
>=dev-python/jinja-2.10[${PYTHON_USEDEP}]
|
||||
>=dev-python/lxml-4.2.5[${PYTHON_USEDEP}]
|
||||
>=dev-python/nose-1.3.7[${PYTHON_USEDEP}]
|
||||
>=dev-python/numpy-1.15.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/paho-mqtt-1.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pip-9.0.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/psutil-5.4.8[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytz-2018.04[${PYTHON_USEDEP}]
|
||||
>=dev-python/pycryptodome-3.7.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-dateutil-2.7.5[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyyaml-3.13[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyotp-2.2.6-r1[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyqrcode-1.2.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/netdisco-2.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-2.20.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/ruamel-yaml-0.15.72[${PYTHON_USEDEP}]
|
||||
>=dev-python/sqlalchemy-1.2.13[${PYTHON_USEDEP}]
|
||||
>=dev-python/typing-3.6.2-r1[${PYTHON_USEDEP}]
|
||||
>=dev-python/urllib3-1.24[${PYTHON_USEDEP}]
|
||||
>=dev-python/voluptuous-0.11.5[${PYTHON_USEDEP}]
|
||||
>=dev-python/voluptuous-serialize-2.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/vobject-0.9.6.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/websocket-client-0.40.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/xmltodict-0.11.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/yarl-1.2.6[${PYTHON_USEDEP}]
|
||||
atv? ( >=dev-python/pyatv-0.3.9[${PYTHON_USEDEP}] )
|
||||
musiccast? ( >=dev-python/pymusiccast-0.1.6[${PYTHON_USEDEP}] )
|
||||
samsungtv? ( >=dev-python/samsungctl-0.7.1[${PYTHON_USEDEP}] )
|
||||
mysql? ( dev-python/mysqlclient[${PYTHON_USEDEP}] )
|
||||
hs100? ( >=dev-python/pyhs100-0.3.0[${PYTHON_USEDEP}] )
|
||||
tradfri? ( >=dev-python/pytradfri-4.1.0[${PYTHON_USEDEP}]
|
||||
sys-devel/autoconf )
|
||||
wemo? ( >=dev-python/pywemo-0.4.25[${PYTHON_USEDEP}] )
|
||||
>=dev-python/zeroconf-0.21.3[${PYTHON_USEDEP}]
|
||||
dev-db/sqlite
|
||||
dev-libs/libfastjson
|
||||
dev-libs/openssl
|
||||
>=media-libs/mutagen-1.41.1
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
app-admin/logrotate
|
||||
maint? (
|
||||
app-crypt/certbot
|
||||
app-crypt/ssl-cert-check
|
||||
net-misc/dropbox-uploader
|
||||
)
|
||||
"
|
||||
|
||||
INSTALL_DIR="/opt/${PN}"
|
||||
|
||||
DISABLE_AUTOFORMATTING=1
|
||||
DOC_CONTENTS="
|
||||
The HA interface listens on port 8123 - this _will_ take a minute or two to appear
|
||||
|
||||
hass configuration is in: /etc/${MY_PN}
|
||||
daemon command line arguments are configured in: /etc/conf.d/${MY_PN}
|
||||
|
||||
logging is to: /var/log/${MY_PN}/{server,errors,stdout}.log
|
||||
|
||||
The sqlite db is by default in: /etc/${MY_PN}
|
||||
To move it after ${MY_PN} has run once and while ${MY_PN} is stopped:
|
||||
- add /etc/${MY_PN}/recorder.yaml to /etc/${MY_PN}/configuration.yaml
|
||||
- mv /etc/${MY_PN}/home-assistant_v2.db /var/db/${MY_PN}
|
||||
|
||||
support thread at:
|
||||
https://community.home-assistant.io/t/gentoo-homeassistant-0-59-2-ebuild/35577
|
||||
"
|
||||
|
||||
S="${WORKDIR}/home-assistant-${PV}"
|
||||
|
||||
DOCS="README.rst"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup "${PN}"
|
||||
enewuser "${PN}" -1 -1 "$INSTALL_DIR" "${PN}"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -e 's;astral==1.5;astral>=1.5;' \
|
||||
-i "setup.py" \
|
||||
-i homeassistant/package_constraints.txt
|
||||
|
||||
eapply_user
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
dodoc ${DOCS}
|
||||
distutils-r1_python_install_all
|
||||
|
||||
keepdir "$INSTALL_DIR"
|
||||
|
||||
keepdir "/etc/${PN}"
|
||||
fowners -R "${PN}:${PN}" "/etc/${PN}"
|
||||
|
||||
newconfd "${FILESDIR}/${PN}.conf.d" "${PN}"
|
||||
newinitd "${FILESDIR}/${PN}.init.d" "${PN}"
|
||||
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
readme.gentoo_print_elog
|
||||
}
|
@ -1,4 +1,6 @@
|
||||
AUX numpy-1.15.2-no-hardcode-blas.patch 3767 BLAKE2B f580a067b9c91a53f99daffd33f38306abb3d2852f4d513152531fb0796f50371c9031b7c685fd35801afbe2a5b649efd4d2cdca9c239f119893b1fde19bda3b SHA512 66a7d9988ab3e6f5b1788df7db9d81719c43ba641edc3450a4912c46aaf0ffb3ba6030dc458182adfb11eafac91f2ba6e1c5aa9b8eb077d6d8c776b2ec5ad2fc
|
||||
AUX numpy-1.15.2-py37.patch 5417 BLAKE2B a6660b06a6f5ebc436b8bef4f53934892384889304f3b48ed1e9e84298deb78528e431e2102856fe1bc44b5e9a472b3a0b51401ad824b7072465d8c54f6aa939 SHA512 78b6a1640cf51e9b58478fd9ad5044bec2efc1319cc050f0a1345fc367b57b9170954ce25b88b2851007b438a00ac380eab48f6b699fed1115d109972ec553ad
|
||||
DIST numpy-1.15.2.zip 4484511 BLAKE2B 35eead87706f2f3ab1f9e82a2f6816ef8c5015c611aff838a18dcd9fda49f1a20840a0f2a5c6cfc144118545f00a66c0b599c38600a63a454d1d95cdd4286d5f SHA512 6a2c9c5e67963558749e6468d79c7dc55f13749400640dbb7dea8c87a30c9cadb04df6b3cf3f92ac7d720486ef3f3c248ab4680b954e7adeb44edf2f2a072250
|
||||
DIST numpy-1.15.3.zip 4487045 BLAKE2B e88c7822b8317e7c75f2f595a2c0fb057c0932e2bbdae0ce472a017d5ee4cac93d20028f74d3127dea28feee584d25d5176300ea6eab4e68bc6dca9168442fb3 SHA512 5d3e399c54c8ffacae3518011c5fba523b463a300a44c454c149c57365d2cfad370f292952c93ea0a98b3cdd4f67824b8d02ff4638106e57524f315ccb6a5c3c
|
||||
EBUILD numpy-1.15.2.ebuild 3877 BLAKE2B ce683718bc111b9132bd478e4c30eec49e097a23bda87985991b6a6f1b35bbd2efe2c2c859a1a98772446e19faa30c199f9cb041874fc32da2f8acd9b9071c0c SHA512 c9ee0dedb44c3c0c23e7596fd3297f08073a7695aceddfebd09528be0e3f26e8750c612d85f1f37d77ccf24c801e22e78330c3e8e7036c551a31ee06c157a26a
|
||||
EBUILD numpy-1.15.3.ebuild 3877 BLAKE2B ce683718bc111b9132bd478e4c30eec49e097a23bda87985991b6a6f1b35bbd2efe2c2c859a1a98772446e19faa30c199f9cb041874fc32da2f8acd9b9071c0c SHA512 c9ee0dedb44c3c0c23e7596fd3297f08073a7695aceddfebd09528be0e3f26e8750c612d85f1f37d77ccf24c801e22e78330c3e8e7036c551a31ee06c157a26a
|
||||
|
144
dev-python/numpy/numpy-1.15.3.ebuild
Normal file
144
dev-python/numpy/numpy-1.15.3.ebuild
Normal file
@ -0,0 +1,144 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
FORTRAN_NEEDED=lapack
|
||||
|
||||
inherit distutils-r1 flag-o-matic fortran-2 multiprocessing toolchain-funcs
|
||||
|
||||
DOC_PV="${PV}"
|
||||
DOC_P="${PN}-${DOC_PV}"
|
||||
|
||||
DESCRIPTION="Fast array and numerical python library"
|
||||
HOMEPAGE="https://www.numpy.org"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="doc lapack test"
|
||||
|
||||
RDEPEND="lapack? ( virtual/cblas virtual/lapack )"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/unzip
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
lapack? ( virtual/pkgconfig )
|
||||
test? ( >=dev-python/nose-1.0[${PYTHON_USEDEP}] )"
|
||||
|
||||
PATCHES=(
|
||||
# "${FILESDIR}"/${PN}-1.14.5-no-hardcode-blas.patch
|
||||
# backport a fix for py3.7 test failures
|
||||
# "${FILESDIR}"/numpy-1.14.5-py37.patch
|
||||
)
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
if use doc; then
|
||||
unzip -qo "${DISTDIR}"/${PN}-html-${DOC_PV}.zip -d html || die
|
||||
fi
|
||||
}
|
||||
|
||||
pc_incdir() {
|
||||
$(tc-getPKG_CONFIG) --cflags-only-I $@ | \
|
||||
sed -e 's/^-I//' -e 's/[ ]*-I/:/g' -e 's/[ ]*$//' -e 's|^:||'
|
||||
}
|
||||
|
||||
pc_libdir() {
|
||||
$(tc-getPKG_CONFIG) --libs-only-L $@ | \
|
||||
sed -e 's/^-L//' -e 's/[ ]*-L/:/g' -e 's/[ ]*$//' -e 's|^:||'
|
||||
}
|
||||
|
||||
pc_libs() {
|
||||
$(tc-getPKG_CONFIG) --libs-only-l $@ | \
|
||||
sed -e 's/[ ]-l*\(pthread\|m\)\([ ]\|$\)//g' \
|
||||
-e 's/^-l//' -e 's/[ ]*-l/,/g' -e 's/[ ]*$//' \
|
||||
| tr ',' '\n' | sort -u | tr '\n' ',' | sed -e 's|,$||'
|
||||
}
|
||||
|
||||
python_prepare_all() {
|
||||
if use lapack; then
|
||||
append-ldflags "$($(tc-getPKG_CONFIG) --libs-only-other cblas lapack)"
|
||||
local libdir="${EPREFIX}"/usr/$(get_libdir)
|
||||
cat >> site.cfg <<-EOF || die
|
||||
[blas]
|
||||
include_dirs = $(pc_incdir cblas)
|
||||
library_dirs = $(pc_libdir cblas blas):${libdir}
|
||||
blas_libs = $(pc_libs cblas blas)
|
||||
[lapack]
|
||||
library_dirs = $(pc_libdir lapack):${libdir}
|
||||
lapack_libs = $(pc_libs lapack)
|
||||
EOF
|
||||
else
|
||||
export {ATLAS,PTATLAS,BLAS,LAPACK,MKL}=None
|
||||
fi
|
||||
|
||||
export CC="$(tc-getCC) ${CFLAGS}"
|
||||
|
||||
append-flags -fno-strict-aliasing
|
||||
|
||||
# See progress in http://projects.scipy.org/scipy/numpy/ticket/573
|
||||
# with the subtle difference that we don't want to break Darwin where
|
||||
# -shared is not a valid linker argument
|
||||
if [[ ${CHOST} != *-darwin* ]]; then
|
||||
append-ldflags -shared
|
||||
fi
|
||||
|
||||
# only one fortran to link with:
|
||||
# linking with cblas and lapack library will force
|
||||
# autodetecting and linking to all available fortran compilers
|
||||
append-fflags -fPIC
|
||||
if use lapack; then
|
||||
NUMPY_FCONFIG="config_fc --noopt --noarch"
|
||||
# workaround bug 335908
|
||||
[[ $(tc-getFC) == *gfortran* ]] && NUMPY_FCONFIG+=" --fcompiler=gnu95"
|
||||
fi
|
||||
|
||||
# don't version f2py, we will handle it.
|
||||
sed -i -e '/f2py_exe/s: + os\.path.*$::' numpy/f2py/setup.py || die
|
||||
|
||||
# we don't have f2py-3.3
|
||||
sed \
|
||||
-e 's:test_f2py:_&:g' \
|
||||
-i numpy/tests/test_scripts.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
export MAKEOPTS=-j1 # bug #660754
|
||||
|
||||
local python_makeopts_jobs=""
|
||||
python_is_python3 || python_makeopts_jobs="-j $(makeopts_jobs)"
|
||||
distutils-r1_python_compile \
|
||||
${python_makeopts_jobs} \
|
||||
${NUMPY_FCONFIG}
|
||||
}
|
||||
|
||||
python_test() {
|
||||
distutils_install_for_testing --single-version-externally-managed --record "${TMPDIR}/record.txt" ${NUMPY_FCONFIG}
|
||||
|
||||
cd "${TMPDIR}" || die
|
||||
|
||||
${EPYTHON} -c "
|
||||
import numpy, sys
|
||||
r = numpy.test(label='full', verbose=3)
|
||||
sys.exit(0 if r.wasSuccessful() else 1)" || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install() {
|
||||
distutils-r1_python_install ${NUMPY_FCONFIG}
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
local DOCS=( THANKS.txt )
|
||||
|
||||
if use doc; then
|
||||
local HTML_DOCS=( "${WORKDIR}"/html/. )
|
||||
DOCS+=( "${DISTDIR}"/${PN}-{user,ref}-${DOC_PV}.pdf )
|
||||
fi
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
2
dev-python/psutil/Manifest
Normal file
2
dev-python/psutil/Manifest
Normal file
@ -0,0 +1,2 @@
|
||||
DIST psutil-5.4.8.tar.gz 422742 BLAKE2B 13c4b9b412704728c4b192032a6be78756b03a37cd6f425a81a83d0aca4ce155ebf24a1f62b75e66433f21e8bd3f2fa3c7bbb5ec2686c6dc951b89e97ebfa688 SHA512 5691e7e7ecd827aff2755a85c4c1be3a23beec3a1dbff079547991dcfffa8e075cff7fb6983e1f6fa287e2216e3b1466618730afaf114a0ee209d7b70d7b0c6a
|
||||
EBUILD psutil-5.4.8.ebuild 908 BLAKE2B b623abc46b78c7510f4880d82727a2d6c7c590f8cc444799d47b1088cdd6606e526817fbc7f4f940ef74270e32cad8013184d1e3d193248bb42b16082621ff10 SHA512 2a304523d0e64f5f192e43648798d9407c31b1d2320caa26269daf1bbfa00954cb6419b133b657941649d94e52e665372dc26d0bfa5d98bc4ad8a895aca64a7f
|
32
dev-python/psutil/psutil-5.4.8.ebuild
Normal file
32
dev-python/psutil/psutil-5.4.8.ebuild
Normal file
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} pypy pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Retrieve information on running processes and system utilization"
|
||||
HOMEPAGE="https://github.com/giampaolo/psutil https://pypi.org/project/psutil/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/ipaddress[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
# Many tests fail, even on a regular tox run on a upstream clone
|
||||
RESTRICT="test"
|
||||
|
||||
python_test() {
|
||||
${PYTHON} psutil/tests/__main__.py || die
|
||||
}
|
@ -1,2 +1,4 @@
|
||||
DIST SQLAlchemy-1.2.11.tar.gz 5611782 BLAKE2B 2f6546bbab1bf250033120971ba436bcf93edfd902b2c7b869826c8093eda6df215bac370e39623fda0204581b147cb39efd18b0778b76f5b6a2944e779c9c37 SHA512 dfe60cdf4923239d9ca16ee2ee8618ebe3fe2553c35d393f27c51aec16bcba3a6692e7f045e8206a41ad7cfbf71380d607cb27cbc9a6320faedbcd3a37517604
|
||||
DIST SQLAlchemy-1.2.13.tar.gz 5650472 BLAKE2B fd92da4d2d9a90dd93fa714e68828bce041601dd96f1b2153948f4c33152445afcdc16d5d01751d67b1c43700b7d87789cc06a8fc5a4febea563fec6dd63a28a SHA512 e41c5a2b09e3958343e517eae9ead619fe68c8e50c64ee2b7d77789240b373fdd9c6f427a49ac81f55826a2e34bf1f12ffc7f8613c91ab0edbd1d723581183ba
|
||||
EBUILD sqlalchemy-1.2.11.ebuild 1756 BLAKE2B 541a095699b0b7af77811a8bb575c7c66745ab920482dece60a6d51e63959837627e7460973d4cfc5afb4de962d4dfd5daf3df34407087bd3aee153edac7bd5b SHA512 e126209bd8c6c60e99da68f06131ad812681f56ed41aad8912884f1ecf60ec8803e7cf2309650338e3aebeb3cf7e8f840a54b096a4db8783abb5955244353fef
|
||||
EBUILD sqlalchemy-1.2.13.ebuild 1756 BLAKE2B 541a095699b0b7af77811a8bb575c7c66745ab920482dece60a6d51e63959837627e7460973d4cfc5afb4de962d4dfd5daf3df34407087bd3aee153edac7bd5b SHA512 e126209bd8c6c60e99da68f06131ad812681f56ed41aad8912884f1ecf60ec8803e7cf2309650338e3aebeb3cf7e8f840a54b096a4db8783abb5955244353fef
|
||||
|
67
dev-python/sqlalchemy/sqlalchemy-1.2.13.ebuild
Normal file
67
dev-python/sqlalchemy/sqlalchemy-1.2.13.ebuild
Normal file
@ -0,0 +1,67 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} pypy{,3} )
|
||||
PYTHON_REQ_USE="sqlite?"
|
||||
|
||||
inherit distutils-r1 eutils flag-o-matic
|
||||
|
||||
MY_PN="SQLAlchemy"
|
||||
MY_P="${MY_PN}-${PV/_beta/b}"
|
||||
|
||||
DESCRIPTION="Python SQL toolkit and Object Relational Mapper"
|
||||
HOMEPAGE="http://www.sqlalchemy.org/ https://pypi.org/project/SQLAlchemy/"
|
||||
SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris"
|
||||
IUSE="doc examples +sqlite test"
|
||||
|
||||
REQUIRED_USE="test? ( sqlite )"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
test? (
|
||||
<dev-python/pluggy-0.7s[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7 pypy)
|
||||
)"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
python_prepare_all() {
|
||||
# Disable tests hardcoding function call counts specific to Python versions.
|
||||
rm -r test/aaa_profiling || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
if ! python_is_python3; then
|
||||
local CFLAGS=${CFLAGS}
|
||||
append-cflags -fno-strict-aliasing
|
||||
fi
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_test() {
|
||||
pytest -vv test || die "Testsuite failed under ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && HTML_DOCS=( doc/. )
|
||||
use examples && dodoc -r examples
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "MySQL support" dev-python/mysql-python dev-python/mysql-connector-python
|
||||
optfeature "mssql support" dev-python/pymssql
|
||||
optfeature "postgresql support" dev-python/psycopg:2
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user