homeassistant-0.83.1, and some more system-wide python libs.

This commit is contained in:
Andreas Billmeier 2018-11-30 18:59:41 +01:00
parent d7612f497f
commit 4102cf0f50
38 changed files with 1099 additions and 0 deletions

View File

@ -18,6 +18,7 @@ DIST homeassistant-0.81.1.tar.gz 3072648 BLAKE2B 584abd3b2e0f1f386f5e26ac1714522
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
DIST homeassistant-0.83.1.tar.gz 3174144 BLAKE2B 86567d1d67a6eb0cd64697fb7d7e5815aba20f342c139fa5e4dfb51bf58578c8d83290cdff9b745f6b9d005b1cf56541619177e012018d92b553eae222ab54b5 SHA512 db2f53eb110e16673264163b1704488219626b9256111fbf5288e61ef60634cce6b43eed9c6a5f6187f09d55eb4afc005677adb96d19ee6e2f1b12aa3acd9897
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
@ -31,3 +32,4 @@ EBUILD homeassistant-0.81.1.ebuild 3643 BLAKE2B 5c959a418aa57cf229416754e552962c
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 a898fdd5a93c42578baaf4040e8d13ef1ee2a2a564cb36b9328e0c4d51f429111f0ae1365f488aebb69f6c3c4d0437dc1d15512f2a8e397de00d3a037c1c4bcb SHA512 d39ae92f2e0b5edb2f9bd59bdd3758f26245bebf410c2979b68114e4f2d6739f4dd0c1cd0af603b3110910e468adfa38f6c20745c0150555e62937d188c1d2b4
EBUILD homeassistant-0.83.1.ebuild 5043 BLAKE2B 778944ef789b56207d86d695f0b04d08026dfcf190987e803d4fe47b5f60191ff9f25332b4c5b88b8d8f5487dc244cbd8a06d8189bab61cb2c2f9562252d32ab SHA512 f6a4a61ecc071a832d182f652b9faeb6c1fdd8f494ffb8d6e1efa94080a78f178f17460635cb974b54569b4e03cb2085249eade148434f93338cd492da26188d

View File

@ -0,0 +1,155 @@
# 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_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.7.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.57[${PYTHON_USEDEP}]
>=dev-python/botocore-1.12.57[${PYTHON_USEDEP}]
>=dev-python/beautifulsoup-4.6.0[${PYTHON_USEDEP}]
>=dev-python/certifi-2018.11.29[${PYTHON_USEDEP}]
>=dev-python/chardet-3.0.4[${PYTHON_USEDEP}]
>=dev-python/colorlog-3.1.4[${PYTHON_USEDEP}]
>=dev-python/coverage-4.5.2[${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/envs-1.2.6[${PYTHON_USEDEP}]
>=dev-python/future-0.17.1[${PYTHON_USEDEP}]
>=dev-python/ifaddr-0.1.5[${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/multidict-4.5.2[${PYTHON_USEDEP}]
>=dev-python/nose-1.3.7[${PYTHON_USEDEP}]
>=dev-python/numpy-1.15.4[${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.2[${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.1[${PYTHON_USEDEP}]
>=dev-python/ruamel-yaml-0.15.78[${PYTHON_USEDEP}]
>=dev-python/rxv-0.5.1[${PYTHON_USEDEP}]
>=dev-python/sqlalchemy-1.2.14[${PYTHON_USEDEP}]
>=dev-python/typing-3.6.2-r1[${PYTHON_USEDEP}]
>=dev-python/ua-parser-0.8.0[${PYTHON_USEDEP}]
>=dev-python/urllib3-1.24.1[${PYTHON_USEDEP}]
>=dev-python/user-agents-1.1.0[${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
}

View File

@ -0,0 +1,2 @@
DIST beautifulsoup4-4.6.0.tar.gz 160846 BLAKE2B c56c61c5ac2116721815b3cc8e0ec249f191a76bc36e26593af54cc0937e3a4d70c5a2b3069b12f1ae4f5b78cda78e2abda5da99fdd6987afe0f581a4130685c SHA512 1a7eee4218e58cc3852e71fe4f0892f673bb46a851941264766a38eff8ef05d612d88b4641fcb478ce8f66ac50dc987ca039923c4bbb11867c74813289f7e578
EBUILD beautifulsoup-4.6.0.ebuild 1323 BLAKE2B db4140d441f7c199556b29d2345b033bbbbee2bd4c12f9fe726617e32ba0c87ef41f43590b55991e3529cb79046b53ed45942279a9fe65a18ac9cbb92f9fb476 SHA512 c51a2173952200cee6c791d5100c50c51446c9daed23899df2d8588a4d760f24e29f39dba00788068425f217f3ae8edaa28a8f19a9ba08e3c22d5980d86843c4

View File

@ -0,0 +1,45 @@
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python2_7 python3_{5,6,7} pypy pypy3 )
inherit distutils-r1
MY_PN=${PN}4
MY_P=${MY_PN}-${PV}
DESCRIPTION="Pythonic idioms for iterating, searching, and modifying an HTML/XML parse tree"
HOMEPAGE="https://www.crummy.com/software/BeautifulSoup/bs4/"
SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
LICENSE="MIT"
SLOT="4"
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
IUSE="doc test"
# html5lib is optional however hard coding since its use is actively discouraged in the devmanual
RDEPEND="
$(python_gen_cond_dep 'dev-python/html5lib[${PYTHON_USEDEP}]' python2_7 pypy)
$(python_gen_cond_dep 'dev-python/lxml[${PYTHON_USEDEP}]' python2_7 'python3*')"
DEPEND="
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
test? ( dev-python/nose[${PYTHON_USEDEP}] )
"
S="${WORKDIR}/${MY_P}"
python_compile_all() {
use doc && emake -C doc html
}
python_test() {
nosetests --verbose -w "${BUILD_DIR}"/lib || die "Tests fail with ${EPYTHON}"
}
python_install_all() {
use doc && local HTML_DOCS=( doc/build/html/. )
distutils-r1_python_install_all
}

View File

@ -1,4 +1,6 @@
DIST boto3-1.9.16.tar.gz 238241 BLAKE2B dc191895e8130b01981a0452cad6b588f7ad068469bf9ea12913a98bd94a5d0636fc4faa47940b5ea8d86e61000e56fa1323e577fd3d9ea5e02c4a9333f35dfc SHA512 f36d35c030f2cc4108b2369905c868d364459bf7d3eef6ce7943187b02c1c7c48a8556e314e4e17f1652a4e61775e38eb060d888c4e3e13164bc0bbcf5430181
DIST boto3-1.9.35.tar.gz 240222 BLAKE2B f4132b24a1b7c2dbd9be4b8aeba8288d51ebfd0e0d88e462a3e9fedb3727d4c3bd23606147f30b0f1df59cddf88edaccbaf7b850a78b223a96089e62dc93a80d SHA512 2acd22bf63746d37c8ec8afd5fd52ec90fb84c6466e30113cb302587491851b7f3bfbd344684f19f6360870e89f718f0052244ab04ca94d132c851dcf24ffda9
DIST boto3-1.9.57.tar.gz 246248 BLAKE2B 5721b5e178fe85ca674baf2e60a65a0d06bc445b5586be45d5b22c74d857b3fbde82f2ad310a57285eba0cd157daf3f885acaa8e2465821cdb0dcda18d637dec SHA512 91465cd4ab39d24497fe184d5e48425cf0f64e06e296d68b21aab362d4d0870136f4687cc9df75558ca40bee4700831903888335d0dc9be42a5e5e1ac5652284
EBUILD boto3-1.9.16.ebuild 1228 BLAKE2B de6d5b56edbe0b4c9a8fe6cf28ac04a01c62ac4a60e1182daf7d5a4b3a5d9251952e85ef45d62a4953845219d38253ddb22aa303bb6e26ecaf0af3c258d11705 SHA512 13addc19481acfaf316e1d0f45e92a6077b3c1065e45c6e35889d91995f1b195dc45dc8cc966bdf983968a12994254395b885ac8163aebdbc10c87da41e16d25
EBUILD boto3-1.9.35.ebuild 1228 BLAKE2B de6d5b56edbe0b4c9a8fe6cf28ac04a01c62ac4a60e1182daf7d5a4b3a5d9251952e85ef45d62a4953845219d38253ddb22aa303bb6e26ecaf0af3c258d11705 SHA512 13addc19481acfaf316e1d0f45e92a6077b3c1065e45c6e35889d91995f1b195dc45dc8cc966bdf983968a12994254395b885ac8163aebdbc10c87da41e16d25
EBUILD boto3-1.9.57.ebuild 1228 BLAKE2B de6d5b56edbe0b4c9a8fe6cf28ac04a01c62ac4a60e1182daf7d5a4b3a5d9251952e85ef45d62a4953845219d38253ddb22aa303bb6e26ecaf0af3c258d11705 SHA512 13addc19481acfaf316e1d0f45e92a6077b3c1065e45c6e35889d91995f1b195dc45dc8cc966bdf983968a12994254395b885ac8163aebdbc10c87da41e16d25

View File

@ -0,0 +1,53 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 python3_4 python3_5 python3_6 )
inherit distutils-r1 vcs-snapshot
DESCRIPTION="The AWS SDK for Python"
HOMEPAGE="https://github.com/boto/boto3"
LICENSE="Apache-2.0"
SLOT="0"
IUSE="doc test"
if [[ "${PV}" == "9999" ]]; then
EGIT_REPO_URI="https://github.com/boto/boto3"
inherit git-r3
else
SRC_URI="https://github.com/boto/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
fi
RDEPEND="
>=dev-python/botocore-1.12.4[${PYTHON_USEDEP}]
dev-python/jmespath[${PYTHON_USEDEP}]
dev-python/s3transfer[${PYTHON_USEDEP}]
"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
doc? (
dev-python/guzzle_sphinx_theme[${PYTHON_USEDEP}]
dev-python/sphinx[${PYTHON_USEDEP}]
)
test? (
${RDEPEND}
dev-python/mock[${PYTHON_USEDEP}]
dev-python/nose[${PYTHON_USEDEP}]
)
"
python_compile_all() {
use doc && emake -C docs html
}
python_test() {
nosetests -v tests/unit/ tests/functional/ || die "test failed under ${EPYTHON}"
}
python_install_all() {
use doc && local HTML_DOCS=( docs/build/html/. )
distutils-r1_python_install_all
}

View File

@ -1,3 +1,5 @@
AUX 1.8.6-tests-pass-all-env-vars-to-cmd-runner.patch 1056 BLAKE2B ecdf805cd61e337d4152d56952aeb8b78bfdd871b4da060d025ca4e3f974b3b7a907eee71ce6de1bc6cff8130fa81391aeaa2c5537b1baf159ce23500908a5f4 SHA512 c3be1a6457990168c759f03b24de8f78242b9c06f189553e416ce75fee6a77dce68967a551dfd83e1be096db9baeca019b75526c4886c672eca35282e307f229
DIST botocore-1.12.35.tar.gz 4891973 BLAKE2B cce234fb4a33bf5be88d14fcc0b30acc2f13fb422f7a2af9bfcf064b91921115382713f1f371487470de7965ffba2209f578669bccf2af9d6b94b1af5223556c SHA512 9ca6d766a7ef8e32859b33a82fa99457d165ffd1a5b0e1cdc01ca9c28377e6374188e9661fd3d96e94dbab712fe4da3cbda8f9a757cfb11a8efc8e29ca3c007c
DIST botocore-1.12.57.tar.gz 5247450 BLAKE2B 537c14bc8541f597f835611a8bd8f13b4c5f112139788b67650ed5895882fc63327abb92ad4477785fbbae07fe66f28b095b3982b311421bf93b11377b7b4fdd SHA512 703d9d0967fa998112f9057475e11e2f064ffefa2dd90a2baafc5587bf34a7e255a10e69c9dc05e2e53c8c1414cfff18ffefd8a99d2de49ff749d55c24d5fa19
EBUILD botocore-1.12.35.ebuild 1494 BLAKE2B 36263e1b3bc056f6a5fc0034e3373d30920976a8e54113bb6f7b3fdc238f6acd6acb76f4026cd5f8302aa6d4ba50191d72883896282f1a2f0b55312cd389ce4c SHA512 ead62975b9cc2ef72e396994d62eb2a3e1c807d6d6a69b82cd07ea7db6b31bb5e88ea4af1fc9e4306c8f5fe84c2469501cf04e790c85ea5067940715049def57
EBUILD botocore-1.12.57.ebuild 1494 BLAKE2B 36263e1b3bc056f6a5fc0034e3373d30920976a8e54113bb6f7b3fdc238f6acd6acb76f4026cd5f8302aa6d4ba50191d72883896282f1a2f0b55312cd389ce4c SHA512 ead62975b9cc2ef72e396994d62eb2a3e1c807d6d6a69b82cd07ea7db6b31bb5e88ea4af1fc9e4306c8f5fe84c2469501cf04e790c85ea5067940715049def57

View File

@ -0,0 +1,58 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python2_7 python3_4 python3_5 python3_6 )
inherit distutils-r1
DESCRIPTION="Low-level, data-driven core of boto 3."
HOMEPAGE="https://github.com/boto/botocore"
LICENSE="Apache-2.0"
SLOT="0"
IUSE="doc test"
if [[ "${PV}" == "9999" ]]; then
EGIT_REPO_URI="https://github.com/boto/botocore"
inherit git-r3
else
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
fi
RDEPEND="
dev-python/docutils[${PYTHON_USEDEP}]
dev-python/jmespath[${PYTHON_USEDEP}]
dev-python/python-dateutil[${PYTHON_USEDEP}]
dev-python/urllib3[${PYTHON_USEDEP}]
"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
doc? (
dev-python/guzzle_sphinx_theme[${PYTHON_USEDEP}]
dev-python/sphinx[${PYTHON_USEDEP}]
)
test? (
${RDEPEND}
dev-python/mock[${PYTHON_USEDEP}]
dev-python/nose[${PYTHON_USEDEP}]
dev-python/jsonschema[${PYTHON_USEDEP}]
)
"
PATCHES=( "${FILESDIR}/1.8.6-tests-pass-all-env-vars-to-cmd-runner.patch" )
python_compile_all() {
use doc && emake -C docs html
}
python_test() {
PYTHONPATH="${BUILD_DIR}/lib" nosetests -v tests/unit || die "unit tests failed under ${EPYTHON}"
PYTHONPATH="${BUILD_DIR}/lib" nosetests -v tests/functional || die "functional tests failed under ${EPYTHON}"
}
python_install_all() {
use doc && local HTML_DOCS=( docs/build/html/. )
distutils-r1_python_install_all
}

View File

@ -1,3 +1,5 @@
AUX certifi-2018.4.16-use-system-cacerts.patch 340 BLAKE2B 42278c6b40ef6daef71a2ef3da75baf78833906c1cd018757b0b45d8ca623cbb5de15e5d5cfa444eb360738b368ad2111bb5594beaeb910275c65267b7532a34 SHA512 8c0b36be0ce23132fe739be4a173f537f4f8870fe0f5e2c98add13e94c0c23490cd0aac30e289193820790eb8580770e178e32b9f16b28255fd95565d6015faa
DIST certifi-2018.10.15.tar.gz 145887 BLAKE2B 695b4236d67022f12639850fdcd169570330f9dd59aee165a39143d5dc5867b8685859bc48c8af07d41b7124970748ceb97cf1f7557563865e6b3293f668393b SHA512 3324ae6c4b99dda6f48aa9f0918fe045a19b19b26fcfdcca4be93ec967b9e4112d863c982686837b327f1663e308250d56ea337caeeeeb96579e08b20fca92df
DIST certifi-2018.11.29.tar.gz 153772 BLAKE2B fb146409560beb85731b136541012f3f114a8e35c1b0ae9a9bac31d10642dc4ff3cad6a7e722e14e1d5092f9d4e3d7f5c4acb231edd2602d3452a6c9cebd323c SHA512 6a6bf1ff98caefcdbf78a8c83e11e155368bacdd806f0ae0c6afa8f513667df6598e594b3584de61acdca3d6049f4a776937f2aa8672b602bd6db7b737f6074e
EBUILD certifi-2018.10.15.ebuild 1433 BLAKE2B 30331bc3f24f66773fdb07ec7a267423cf59f5e0c231ce85114db5c702abe5dc8a1bc4973fcd12b50cd6e464f8984aa28953011cd3c99f0316b5e0aa0a1e0a5b SHA512 765e1b77b73d6c62402a2acf27e3c598e9586285226d5d80e0b65e256eb95677a8def99aa7e7e347dac71f18797c56c41da82eae3072ea91fdbbde6709247295
EBUILD certifi-2018.11.29.ebuild 1433 BLAKE2B 30331bc3f24f66773fdb07ec7a267423cf59f5e0c231ce85114db5c702abe5dc8a1bc4973fcd12b50cd6e464f8984aa28953011cd3c99f0316b5e0aa0a1e0a5b SHA512 765e1b77b73d6c62402a2acf27e3c598e9586285226d5d80e0b65e256eb95677a8def99aa7e7e347dac71f18797c56c41da82eae3072ea91fdbbde6709247295

View File

@ -0,0 +1,43 @@
# 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 pypy3 )
inherit distutils-r1 prefix readme.gentoo-r1 versionator
DESCRIPTION="Python package for providing Mozilla's CA Bundle"
HOMEPAGE="http://certifi.io/ https://pypi.org/project/certifi"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MPL-2.0"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE=""
RDEPEND="app-misc/ca-certificates"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
# Do not drop this patch -- this will affect system's security
PATCHES=( "${FILESDIR}"/certifi-2018.4.16-use-system-cacerts.patch )
python_prepare_all() {
distutils-r1_python_prepare_all
eprefixify certifi/core.py
}
python_install_all() {
distutils-r1_python_install_all
local DOC_CONTENTS="
In Gentoo, we don't use certifi's bundled CA certificates.
Instead we remove bundled cacert.pem and patch certifi
to return system's CA certificates.
"
readme.gentoo_create_doc
# Precaution -- nothing should use bundled CA certificates
find "${D}" -name 'cacert.pem' -delete || die "Failed to delete bundled CA certificates"
}

View File

@ -1,2 +1,4 @@
DIST coverage-4.5.1.tar.gz 379675 BLAKE2B a3dd18b6c6512a2880f48e685c15eed33589d7d46ffaddedd69dad88b8baa383e1661e1cd232e44f466512e292f82638ee2fd198de01dbd1324cb01857b986cf SHA512 82742a572549400778cad99057b1ced4c36b61e917983148eccc86bfa6340de8cfefc4f743e79ff876b641e0b9d21307dd6bde78638a6b20dd8ad215068dda25
DIST coverage-4.5.2.tar.gz 384845 BLAKE2B a7b4f249a68e025449d26ef8ee2194b9ce355c979d1f5192a7863a0ab0089f9deb3a8e63a39bef528ed7c58fbcc7cd4bc193fea3a135f5996a6655268a6b7a93 SHA512 0d98c8118648a319ac6f3b4c4c6f1ff8a92085bbe8276dd5504c8df4638933f920d7382d8e6de8e16bff43b62091310e0eab7b7722c6d28c976baedbfae3d03e
EBUILD coverage-4.5.1.ebuild 1245 BLAKE2B 7261754c2561133e867b651e780ad794543e52c8c9c3a7e68924877ef293ca13a5cc48ae4fbd57ba9542161d7bc3a5438769710287eead2950cc2f4e362e2316 SHA512 e683690a3ad77aff3b4ca2d92aeea4c0b531f995f41958fe4c21eb83a8515552701193d222f0c02a4d07feee0c7524a061c72ee69dd032ca121552f2b95a88c4
EBUILD coverage-4.5.2.ebuild 1245 BLAKE2B 7261754c2561133e867b651e780ad794543e52c8c9c3a7e68924877ef293ca13a5cc48ae4fbd57ba9542161d7bc3a5438769710287eead2950cc2f4e362e2316 SHA512 e683690a3ad77aff3b4ca2d92aeea4c0b531f995f41958fe4c21eb83a8515552701193d222f0c02a4d07feee0c7524a061c72ee69dd032ca121552f2b95a88c4

View File

@ -0,0 +1,44 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} pypy pypy3 )
PYTHON_REQ_USE="threads(+)"
inherit distutils-r1
DESCRIPTION="Code coverage measurement for Python"
HOMEPAGE="https://coverage.readthedocs.io/en/latest/ https://pypi.org/project/coverage/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="test"
RDEPEND=""
DEPEND="
>=dev-python/setuptools-18.4[${PYTHON_USEDEP}]
test? (
dev-python/PyContracts[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
dev-python/nose[${PYTHON_USEDEP}]
)
"
python_compile() {
if [[ ${EPYTHON} == python2.7 ]]; then
local CFLAGS="${CFLAGS} -fno-strict-aliasing"
export CFLAGS
fi
distutils-r1_python_compile
}
python_test() {
cd "${BUILD_DIR}"/lib || die
[[ "${PYTHON}" =~ pypy ]] && export COVERAGE_NO_EXTENSION=no
${PYTHON} "${S}"/igor.py test_with_tracer py || die
${PYTHON} "${S}"/igor.py test_with_tracer c || die
}

2
dev-python/envs/Manifest Normal file
View File

@ -0,0 +1,2 @@
DIST envs-1.2.6.tar.gz 21086 BLAKE2B f691aa80c0eb47c2ea9e384f4daf503f8d9d78170f7bd565a329aa6c05d19f395db4ff3ba27921a4acb7ada072feb58da47c12371ccffe1d3bb0ab00bf0cdabf SHA512 49d9db6a81e46bf6534abb036938f3a149435e93551599fd31c441a6af2e0ad6ed16da87851f67a8efc28086398027c28f8c7a460f6b8bf862b8b662c4c0593a
EBUILD envs-1.2.6.ebuild 769 BLAKE2B a425ecf974447dcd52f0ea1080c2d5811f67e2bd0c7f939565fa7e456bba03f948cc297a177ef1d72ddb0c9c75cc2f82483601ac10cab3683432a4d202c61bd2 SHA512 bf5d0fbb14218d50e80021d358d89f5003af6d5ebd9b49b30e72b24d8212c1ce0c171352c078e9241af91d09801a1913ee7114e8b30376b5284b40e76819f6b0

View File

@ -0,0 +1,27 @@
# 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} )
inherit distutils-r1
DESCRIPTION="Easy access of environment variables from Python with support for strings, booleans, list, tuples, and dicts."
HOMEPAGE="https://github.com/bjinwright/envs"
SRC_URI="https://files.pythonhosted.org/packages/34/f5/5277e967127581e5a63dca21dd42b43ab5d21ddd03cad0459649ee3c210a/envs-1.2.6.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="alpha amd64 ~arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 ~sparc x86 ~amd64-fbsd ~amd64-linux ~x86-linux"
IUSE="test"
DEPEND="
test? (
dev-python/pytest[${PYTHON_USEDEP}]
)
"
python_test() {
py.test -v || die "Tests failed under ${EPYTHON}"
}

View File

@ -1,2 +1,4 @@
DIST ifaddr-0.1.4.zip 13222 BLAKE2B e4f71884af39b32472ae76d8876886600ee8068b6b25b828ea344920505a1db3977c60b13b0ff9a87a1f040619c3f4d75b4914d74a961cb2d12c0446e2003438 SHA512 5b080d8f328f7a974644e15929850ba93b9232cee545740d89e4d63e982e351287504befef365834bfb3f4c5f25dc99f4a4d76753405658ae197590e2ce94929
DIST ifaddr-0.1.5.tar.gz 6439 BLAKE2B baef2e7ed13e0228710f711b08d1f0a995bf1edc84b43502c642126d48bccf992fe9f52db8dde3451bee2c7896a805eb78894e0183c1ef776dc7d6bdc47224ed SHA512 521345c2ab9e64bce61e052a5aeec0cb36c185c9cc39a03adef9aa78a999632052eed3b308a477fe14ff0f895c53edc3416d6085c270fd260362b3f5e6dc5f7a
EBUILD ifaddr-0.1.4.ebuild 638 BLAKE2B de33dad9397f5078773188d6c956f41fd9ae948d01a19efb5e18c580ef94955fd8535fc48053d67d6b21ae07dd164f9b9bff0128f6cf22938633d0863cc0580d SHA512 c6c8c8860f4ce25571083a5a3b0a354e4ae53246b2b096b8c9fcf5ae6aad8015ebb6c01ebe26f8c2f6f60933b1434a8a821b07370903c26ec310975e5ac336fd
EBUILD ifaddr-0.1.5.ebuild 775 BLAKE2B 495c1c06d3c31c820b0bc62dfb1b0d86f603ccb970b62a889138a8018a53f56ccdf1f13a31304b0eee7c135d08048642d335c470e19fb89a1dc099f9bfedcfec SHA512 79b0d5c87c1e553524c4b1d4c3a29136923beab4b0748222250808aec51bf41e1e8db22b8d20ad95f30006d9f2474ffb0cf30dd4d5d6b049550aacf51a51ea88

View File

@ -0,0 +1,28 @@
# 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} )
inherit distutils-r1
DESCRIPTION="Enumerates all IP addresses on all network adapters of the system."
HOMEPAGE="https://github.com/pydron/ifaddr"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
SRC_URI="https://files.pythonhosted.org/packages/7f/bd/08d26d3a31b6cd0e1a771f3d322bba3f90b118ae7420254f717e8b3b95b1/ifaddr-0.1.5.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="alpha amd64 ~arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 ~sparc x86 ~amd64-fbsd ~amd64-linux ~x86-linux"
IUSE="test"
DEPEND="
test? (
dev-python/pytest[${PYTHON_USEDEP}]
)
"
python_test() {
py.test -v || die "Tests failed under ${EPYTHON}"
}

View File

@ -0,0 +1,4 @@
DIST multidict-4.4.2.tar.gz 54084 BLAKE2B ba2deba8d2e0144af685aa1abce9c69d469785dd3cd84144209dbbb10846406793287fead1d0c80ef6aae0672561a000e0428b7460c10d87eb6062413925fff3 SHA512 1b34f5733f2d4d47f82d8c294e820db553fd993dc728b0796894f837dcd2fed1b0ce8e8094118cf0a8da0478316197b440f905bec250e7c23d464e6796a74a9f
DIST multidict-4.5.2.tar.gz 56753 BLAKE2B 01db2ea847e5ef2fbd4eab89c8a6070f3febcb0046be7344469a7e8e6de6a3c2b2af49069e64953dfcac0044d581c6af09eee70eba78dda8cfa9e0d11d3f1947 SHA512 ec66cf3c57e3386e07e45641536a6eeb94e9707d8a0d3b485d22b8687f20282c9115d533c7b0e9fb6dba28b923cf68dd8cdda08c75e78ca4eca2f0c3ec23c58f
EBUILD multidict-4.4.2.ebuild 1106 BLAKE2B d29d11b4668f640081325b661871642c0d81f84c54781fed1ee1894163ac2f6d5f9cf0b2fb85ceba1965228a72ebf2fd99f7e80c5dbca319f77e9c1e2b8b7c6a SHA512 9c2d81818aca3a8ca0227c6b9073bcfc034c778ae2227ed6a6990ced520054d67fedc2a90aa2847bbe11faf5eba7a9b278926600387c774966c3e608ec90079c
EBUILD multidict-4.5.2.ebuild 1106 BLAKE2B d29d11b4668f640081325b661871642c0d81f84c54781fed1ee1894163ac2f6d5f9cf0b2fb85ceba1965228a72ebf2fd99f7e80c5dbca319f77e9c1e2b8b7c6a SHA512 9c2d81818aca3a8ca0227c6b9073bcfc034c778ae2227ed6a6990ced520054d67fedc2a90aa2847bbe11faf5eba7a9b278926600387c774966c3e608ec90079c

View File

@ -0,0 +1,48 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python3_6 )
inherit distutils-r1
DESCRIPTION="multidict implementation"
HOMEPAGE="https://github.com/aio-libs/multidict/"
SRC_URI="https://github.com/aio-libs/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~x86"
IUSE="doc test"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
>=dev-python/cython-0.29.1[${PYTHON_USEDEP}]
>=dev-python/tox-3.0.0[${PYTHON_USEDEP}]
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
test? ( dev-python/pytest[${PYTHON_USEDEP}] )
"
RDEPEND=""
python_prepare_all() {
# don't use pytest-runner for tests
sed -i "s|'pytest-runner'||" setup.py || die
# don't enable coverage or other pytest settings
rm pytest.ini || die
distutils-r1_python_prepare_all
}
python_compile_all() {
use doc && emake -C docs html
}
python_test() {
py.test -v tests || die "Tests fail with ${EPYTHON}"
}
python_install_all() {
use doc && local HTML_DOCS=( docs/_build/html/. )
distutils-r1_python_install_all
}

View File

@ -0,0 +1,48 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python3_6 )
inherit distutils-r1
DESCRIPTION="multidict implementation"
HOMEPAGE="https://github.com/aio-libs/multidict/"
SRC_URI="https://github.com/aio-libs/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~x86"
IUSE="doc test"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
>=dev-python/cython-0.29.1[${PYTHON_USEDEP}]
>=dev-python/tox-3.0.0[${PYTHON_USEDEP}]
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
test? ( dev-python/pytest[${PYTHON_USEDEP}] )
"
RDEPEND=""
python_prepare_all() {
# don't use pytest-runner for tests
sed -i "s|'pytest-runner'||" setup.py || die
# don't enable coverage or other pytest settings
rm pytest.ini || die
distutils-r1_python_prepare_all
}
python_compile_all() {
use doc && emake -C docs html
}
python_test() {
py.test -v tests || die "Tests fail with ${EPYTHON}"
}
python_install_all() {
use doc && local HTML_DOCS=( docs/_build/html/. )
distutils-r1_python_install_all
}

View File

@ -2,5 +2,7 @@ AUX numpy-1.15.2-no-hardcode-blas.patch 3767 BLAKE2B f580a067b9c91a53f99daffd33f
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
DIST numpy-1.15.4.zip 4473522 BLAKE2B c030ef4a06c84091eec11b6602422468bd0674489a2c7fea1230132cd3a3ca1b10ec87eeb6788f2f263943f9ac43026dc1e7f0f5f1d52e9d1cc6934a5d361090 SHA512 9e0516da04368f0353fb7e3cc2c72e1ec936042908309732a298405bd7111e712899627b82f3674295b611e0ebfd74ef91d693f065fe9cb03dc7de23d1e72676
EBUILD numpy-1.15.2.ebuild 3877 BLAKE2B ce683718bc111b9132bd478e4c30eec49e097a23bda87985991b6a6f1b35bbd2efe2c2c859a1a98772446e19faa30c199f9cb041874fc32da2f8acd9b9071c0c SHA512 c9ee0dedb44c3c0c23e7596fd3297f08073a7695aceddfebd09528be0e3f26e8750c612d85f1f37d77ccf24c801e22e78330c3e8e7036c551a31ee06c157a26a
EBUILD numpy-1.15.3.ebuild 3877 BLAKE2B ce683718bc111b9132bd478e4c30eec49e097a23bda87985991b6a6f1b35bbd2efe2c2c859a1a98772446e19faa30c199f9cb041874fc32da2f8acd9b9071c0c SHA512 c9ee0dedb44c3c0c23e7596fd3297f08073a7695aceddfebd09528be0e3f26e8750c612d85f1f37d77ccf24c801e22e78330c3e8e7036c551a31ee06c157a26a
EBUILD numpy-1.15.4.ebuild 3876 BLAKE2B 2eea8c19f3d57c9f8d2636190a1de94ab37687ce5a1b87e8e247d9e303877c5871112836852acbf7747dcca2b8127bb97aa0b629e77ae0342fc0dfdb7ce37624 SHA512 3ca2913739bd09f2e736b31852ace80287f9c036ba4afd6128d3a224d999db0912f70cf2749bb70668a8ef0cc00786b91962cb15ac399a9041bfcfe8b8e888f0

View 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
}

View File

@ -1,2 +1,4 @@
DIST pycryptodome-3.7.0.tar.gz 7180132 BLAKE2B 1befc6704e50bf74b277cc76ac73518e4a25ab8fe811ee8347eaaf74d5534b5c2bdc9821b36e9658d83d88d096b73a31cb5b93d245ae541402a20140220741b6 SHA512 8a25ad339901cf0823f8035380f514de1b86a2468ba303b6c5c3f27cc0bea7cb0ea6d7e911e57b1e5a35d3089b0290f4dda7670525ce33b7e8dfb6b3277e1ecc
DIST pycryptodome-3.7.2.tar.gz 7192874 BLAKE2B 25f9e1f318e5256679f49eb0c59d4d94765b7e0c21a8590073c6e2fc06d5b6cffc18a1623736bb0e016eaba688be380b117f9c8d2c954c60fceb2305777afca7 SHA512 f505d2fccb272bf5cb3f3fc1c3c77cafe809303f0c108e8d1b128c7a9567dff20384bcccb91fc5f80a0e847eec34f2629f9ddd1cb90580e00426044feeea467f
EBUILD pycryptodome-3.7.0.ebuild 918 BLAKE2B 8e8738c09835e83d6da57c46b33256f2882123f5873864e39bbe6db981101bbc1874cf27313f74d4efd3dc02218312cdc54319bc3bb153dff0aa19e306f43ac0 SHA512 d742c1c1e7970b8ddb35c7636cdd2cad9beaee0af5180aa8d7d5136485ac56408901b99b37e1ccb43785735d98ce6f18de23f808a2912bbddc747cf6802d4a5e
EBUILD pycryptodome-3.7.2.ebuild 918 BLAKE2B 8e8738c09835e83d6da57c46b33256f2882123f5873864e39bbe6db981101bbc1874cf27313f74d4efd3dc02218312cdc54319bc3bb153dff0aa19e306f43ac0 SHA512 d742c1c1e7970b8ddb35c7636cdd2cad9beaee0af5180aa8d7d5136485ac56408901b99b37e1ccb43785735d98ce6f18de23f808a2912bbddc747cf6802d4a5e

View File

@ -0,0 +1,28 @@
# 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="threads(+)"
inherit distutils-r1
DESCRIPTION="A self-contained cryptographic library for Python"
HOMEPAGE="https://www.pycryptodome.org https://github.com/Legrandin/pycryptodome https://pypi.org/project/pycryptodome/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD-2 Unlicense"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE=""
RDEPEND="dev-libs/gmp:0
virtual/python-cffi[${PYTHON_USEDEP}]
!dev-python/pycrypto"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]"
python_test() {
esetup.py test
}

View File

@ -1,2 +1,4 @@
DIST requests-2.20.0.tar.gz 111179 BLAKE2B 642adfb54fb4ac1a4dee3b3b2d16386b099fe97f1713f77104a1402d17714886e954e4c476aa04ad1e0d17309e2d3d0e8d4098d66a48cd7a64399e2bdf5ad63f SHA512 d9d44ed56f868484e36686dee7a2507d8fef45f9cbd861971bb2b6956c7aecb20988f4830017f111027b5eebd00541805797820b0a455694fdbd1b5dce8907d2
DIST requests-2.20.1.tar.gz 111475 BLAKE2B 3d57831915d7f27cbd0891799eb8eca3a1c28a2fc9096cf2189fb17351fbb1b35ac754d44b5c0c7f5df367d51b61287ef383b97cb983399df695954eae21b39e SHA512 631969fab07e6674afc8cc9707a2e18ea394c09cdef031894fd0b28cf94e20f4f24434901edf3233b84ce7be199cc8325b9fe975d9003334206bb4a85ca278ae
EBUILD requests-2.20.0.ebuild 1426 BLAKE2B 24ce52d2cb0a623d17d45d963ff517115be73bea3fe153c905c66bd085f4cce75b70e8c6d48fe1e5cb8b2af1d6a8ffec3da6191cc7d78c07ba9f6c682a187856 SHA512 1efaf9b4f118a7fe0b4996d2e44f548e070716ab1543a83b4c768e67ef0a100926653e0189c8cdb1bdaed4c9cf7111c51c5b22eafe4183e955cc81a5b54c8a87
EBUILD requests-2.20.1.ebuild 1425 BLAKE2B 26061be68bf926f423ac58726b75b4c7f45783aacc6d65bfe975330308b91e30a647fd02067feef4b1532c0a381d88a91540c41f55d9e02a7431e218e84c0b38 SHA512 42bb3cca09786bf2473ed73362558bb1ff60ed4c25064e74d4cab11774f6de6f8482b190836af389dff289bfa6f7b63b26bff114e415a6cc3b6f65fcb7674e82

View File

@ -0,0 +1,52 @@
# 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="threads(+)"
inherit distutils-r1
DESCRIPTION="HTTP library for human beings"
HOMEPAGE="http://python-requests.org/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~x64-solaris"
IUSE="socks5 +ssl"
RDEPEND="
>=dev-python/certifi-2017.4.17[${PYTHON_USEDEP}]
>=dev-python/chardet-3.0.2[${PYTHON_USEDEP}]
>=dev-python/idna-2.5[${PYTHON_USEDEP}]
<dev-python/idna-2.8[${PYTHON_USEDEP}]
>=dev-python/urllib3-1.24[${PYTHON_USEDEP}]
socks5? ( >=dev-python/PySocks-1.5.6[${PYTHON_USEDEP}] )
ssl? (
>=dev-python/cryptography-1.3.4[${PYTHON_USEDEP}]
>=dev-python/pyopenssl-0.14[$(python_gen_usedep 'python*' pypy)]
)
"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
"
# tests connect to various remote sites
RESTRICT="test"
#DEPEND+="
# test? (
# dev-python/pytest[${PYTHON_USEDEP}]
# dev-python/pytest-httpbin[${PYTHON_USEDEP}]
# dev-python/pytest-mock[${PYTHON_USEDEP}]
# dev-python/pytest-xdist[${PYTHON_USEDEP}]
# >=dev-python/PySocks-1.5.6[${PYTHON_USEDEP}]
# )
#"
python_test() {
py.test || die
}

View File

@ -1,2 +1,4 @@
DIST ruamel-yaml-0.15.72.tar.gz 389496 BLAKE2B 762351e54a13ac575bc488de83c1cf94e84284abd40482992470cf6bdc7dd146e0df841eb37639ecd44e89acef6a1fdb5155c2e7a92bd06dc705b6737bd77cf0 SHA512 52e05bb047b9fa5789ca344a25a9877e9f88c92e8fba61fc4cf5c0d58c88d91a9879eb066f4ad2f7374e6bc1b8ddc37e2552b839079563731129d1218ae54e58
DIST ruamel-yaml-0.15.78.tar.gz 392962 BLAKE2B 1ed95d5a26039020b19132ff8d86bd5e32063f8ed29d720a45c2d2ffc5ce93fa2c08edffe8023790070f1239e9c74d697ffc1a10d0fba7d0df321f8a13364bb7 SHA512 986ca7ae0be32e5e01d798b2d132bcd02fabf986dc39dbef35b98b826c45fd598829ec6555ca0eedf75515ca8b0d2dc6ac6d20917bfbc3054b2896f5f6066bdf
EBUILD ruamel-yaml-0.15.72.ebuild 1086 BLAKE2B 875b8fc3a7c9a573ce23a1577edd3dbdc700fc641bb875a1595e2c32db2ba71188559e33310c8c0c965011cb001d60e0cc667ccab17d775cad0f75e1372cba4f SHA512 0c1867ea6d69d54ab68d98d075ccb3edcd5786edd7d30a403b3f6fdf689d776443daec973b7699924d80405e0c87abc2aac4783ec86037b319b1a7d219240ec1
EBUILD ruamel-yaml-0.15.78.ebuild 1086 BLAKE2B 875b8fc3a7c9a573ce23a1577edd3dbdc700fc641bb875a1595e2c32db2ba71188559e33310c8c0c965011cb001d60e0cc667ccab17d775cad0f75e1372cba4f SHA512 0c1867ea6d69d54ab68d98d075ccb3edcd5786edd7d30a403b3f6fdf689d776443daec973b7699924d80405e0c87abc2aac4783ec86037b319b1a7d219240ec1

View File

@ -0,0 +1,44 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python3_{4,5,6} )
inherit distutils-r1 vcs-snapshot
DESCRIPTION="YAML parser/emitter that supports roundtrip comment preservation"
HOMEPAGE="https://pypi.org/project/ruamel.yaml/ https://bitbucket.org/ruamel/yaml"
MY_PN="${PN//-/.}"
SRC_URI="https://bitbucket.org/${MY_PN/.//}/get/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm64"
IUSE="test"
RDEPEND="
${PYTHON_DEPS}
"
DEPEND="
${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/flake8[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
dev-python/ruamel-std-pathlib[${PYTHON_USEDEP}]
)
"
python_install() {
distutils-r1_python_install --single-version-externally-managed
find "${ED}" -name '*.pth' -delete || die
}
python_test() {
# This file produced by setup.py breaks finding system-wide installed
# ruamel.std.pathlib due to shared namespace
rm "${BUILD_DIR}/lib/ruamel/__init__.py" || die
py.test -v _test/test_*.py || die
}

4
dev-python/rxv/Manifest Normal file
View File

@ -0,0 +1,4 @@
DIST rxv-0.5.1.tar.gz 11005 BLAKE2B 54125e6b40e8d8ee2058f4cc4c9f2a50440337ce186e7afaa3e968db442a44e2c17b439abb2351543245219c2acf878597369029a34804988fea5b39a8bf988d SHA512 a95393127b9a39b3cf564769d7c1ac30aa7f730d50497b03be19b8b9f41f9b598d2c7231a8a1bdbf58458ff169b91a5ca84dfed695c644ba1f12a8451d19c5e1
DIST rxv-0.6.0.tar.gz 10173 BLAKE2B ff9549f7824d99f4ca7cd609d8fb43975bf7a31f9f44d912bd3ac219d229be71a690999f3119b6f606260a398dd80c93b057287bef2153227d880cc865f3f029 SHA512 8e1dc06e13ca380f5dfed3d9146ea9f645ca9a7b0b53361e4fe2164a96033c2cfe093e45559547c6e3ac622ef2d2d4b5f986aec108413f608aab41f5b8979d6c
EBUILD rxv-0.5.1.ebuild 726 BLAKE2B 3bc3cef4607c8c30fd205fc76a4f12367a4d7865da48004ed4d66f0425010a6c9c4a38e73157901bbab279cb9393b29562d13687193579c7ab6c5075d6fb7a57 SHA512 cc8d38c99461a51673c2825c6fe7284863c3750864ed41e3fea43a882df9efc6cd7b4ca832abe33f7763159fc60e1a4031a6cbbb5602959bb55edc4e9314c52e
EBUILD rxv-0.6.0.ebuild 726 BLAKE2B bbd9f72ed5e2f926e38497210e24f399fc40d585c74f74f4158578458688b22a03bc8dda1974874ea5732112d4ecb7652df361ecee2a94e1fb6bebefd7f47a42 SHA512 43fbb61be49263ad4a6f773bdf473d6ca27643ea3d3fba371b01413020318a9708c9a85683921666e83698f8e6d1682f70c79594b89209207951dcd5bdd00341

View File

@ -0,0 +1,27 @@
# 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} )
inherit distutils-r1
DESCRIPTION="Automation Library for Yamaha RX-V473, RX-V573, RX-V673, RX-V773 receivers"
HOMEPAGE="https://github.com/wuub/rxv"
SRC_URI="https://files.pythonhosted.org/packages/2b/eb/5ee70a361d826c3e86eef2e61b8a5bd7d8346f34ee05e1e2121fc435dfbb/rxv-0.5.1.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="alpha amd64 ~arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 ~sparc x86 ~amd64-fbsd ~amd64-linux ~x86-linux"
IUSE="test"
DEPEND="
test? (
dev-python/pytest[${PYTHON_USEDEP}]
)
"
python_test() {
py.test -v || die "Tests failed under ${EPYTHON}"
}

View File

@ -0,0 +1,27 @@
# 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} )
inherit distutils-r1
DESCRIPTION="Automation Library for Yamaha RX-V473, RX-V573, RX-V673, RX-V773 receivers"
HOMEPAGE="https://github.com/wuub/rxv"
SRC_URI="https://files.pythonhosted.org/packages/67/01/f2c35d41cbef0e236122572da177d4684fa0a924e521538c194b020729dc/rxv-0.6.0.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="alpha amd64 ~arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 ~sparc x86 ~amd64-fbsd ~amd64-linux ~x86-linux"
IUSE="test"
DEPEND="
test? (
dev-python/pytest[${PYTHON_USEDEP}]
)
"
python_test() {
py.test -v || die "Tests failed under ${EPYTHON}"
}

View File

@ -1,4 +1,6 @@
DIST SQLAlchemy-1.2.11.tar.gz 5611782 BLAKE2B 2f6546bbab1bf250033120971ba436bcf93edfd902b2c7b869826c8093eda6df215bac370e39623fda0204581b147cb39efd18b0778b76f5b6a2944e779c9c37 SHA512 dfe60cdf4923239d9ca16ee2ee8618ebe3fe2553c35d393f27c51aec16bcba3a6692e7f045e8206a41ad7cfbf71380d607cb27cbc9a6320faedbcd3a37517604
DIST SQLAlchemy-1.2.13.tar.gz 5650472 BLAKE2B fd92da4d2d9a90dd93fa714e68828bce041601dd96f1b2153948f4c33152445afcdc16d5d01751d67b1c43700b7d87789cc06a8fc5a4febea563fec6dd63a28a SHA512 e41c5a2b09e3958343e517eae9ead619fe68c8e50c64ee2b7d77789240b373fdd9c6f427a49ac81f55826a2e34bf1f12ffc7f8613c91ab0edbd1d723581183ba
DIST SQLAlchemy-1.2.14.tar.gz 5657372 BLAKE2B 1d9f67652b2306262a625a743b15b6cf0527f9978a712ca3e7614c155ea1aa8eacced2079d464c64163b6aa0eb621350b72b85869f62471cf7353a531ac9cba8 SHA512 f6b89029180bc6f3e35bc17a1d80c111f6ce05f2f799bbdfee00c961e83aa2f95cbb363c85a5f97c18d5ff0aa1408c164621474cd6ddf8e63dd88da35de69539
EBUILD sqlalchemy-1.2.11.ebuild 1756 BLAKE2B 541a095699b0b7af77811a8bb575c7c66745ab920482dece60a6d51e63959837627e7460973d4cfc5afb4de962d4dfd5daf3df34407087bd3aee153edac7bd5b SHA512 e126209bd8c6c60e99da68f06131ad812681f56ed41aad8912884f1ecf60ec8803e7cf2309650338e3aebeb3cf7e8f840a54b096a4db8783abb5955244353fef
EBUILD sqlalchemy-1.2.13.ebuild 1756 BLAKE2B 541a095699b0b7af77811a8bb575c7c66745ab920482dece60a6d51e63959837627e7460973d4cfc5afb4de962d4dfd5daf3df34407087bd3aee153edac7bd5b SHA512 e126209bd8c6c60e99da68f06131ad812681f56ed41aad8912884f1ecf60ec8803e7cf2309650338e3aebeb3cf7e8f840a54b096a4db8783abb5955244353fef
EBUILD sqlalchemy-1.2.14.ebuild 1742 BLAKE2B 9c0f7ce2402ad9305a4f06f555a1f8587c9accaa54c4aa32bed7a843f7f1635775d2d297671b26d751c52fe29eb106551731acea307a6c80069259546fbb720c SHA512 80d9d0b250432d0ae1eecf179013ce38e74c2ac61fafed924d76c4edda3e6759e35ce083dd717c976bdacab82d4350052da27f42e20ef404132696d8be41dc82

View 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=( python3_{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
}

View File

@ -0,0 +1,2 @@
DIST ua-parser-0.8.0.tar.gz 35024 BLAKE2B 61248efca1642e7f52ce8753456c44a7c1d84f6bc556308bc824da5f7422a97328e107ed3ca637bd23998cee5a2f407ab1f07a351857338baf8d5f8e4f884454 SHA512 3c9fb70a6cbae13aedc9e3bb0ed2442d9d4f1f6bb211c1a71a45c8f2afe38c90d824dbd827a6d9cf4badb298d3e7d5992d2139fdd4b0349abd1fe400bb9b183f
EBUILD ua-parser-0.8.0.ebuild 717 BLAKE2B 77069ac49aae32a181b12ca3749939c7a26770ddb58a8617895a84e5685bfbeed89640f4cc3c929d766e9a4ef18d6f66211f459bb2dfd40dc9b68f24cf3cc8ed SHA512 a56084c4208f9cd254b5ac52b332f76e18fb12ca710c67d46fa4a3d2e4d3f8501ec3ba960e4b999eecfb95dd44d9de27826ce21757b9f82253fe510e870f82da

View File

@ -0,0 +1,27 @@
# 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} )
inherit distutils-r1
DESCRIPTION="Python port of Browserscope's user agent parser"
HOMEPAGE="https://github.com/ua-parser/uap-python"
SRC_URI="https://files.pythonhosted.org/packages/b0/02/94ea43fc432fb112fbb62a89855317c41c210fb5239a2ed9b94ecb63024f/ua-parser-0.8.0.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="alpha amd64 ~arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 ~sparc x86 ~amd64-fbsd ~amd64-linux ~x86-linux"
IUSE="test"
DEPEND="
test? (
dev-python/pytest[${PYTHON_USEDEP}]
)
"
python_test() {
py.test -v || die "Tests failed under ${EPYTHON}"
}

View File

@ -1,3 +1,5 @@
AUX urllib3-1.23-tornado5.patch 2878 BLAKE2B 7d64d012de5f0d83043ca5c6262d4e395faa888b582cc2c094c82c90aad3bb7e3e7bf835c002bcc72339974d06b5b211d22571a0470b44e453024626e47ee507 SHA512 c4c1facce9e90a8c8b845e4ca9b5c1b4bd1400fa9b2841172bd8a721ed96fac36cdead6014bf33ec841237f7cd4cb0994283f1a62840e22f829f9f0234d1cfde
DIST urllib3-1.24.1.tar.gz 229688 BLAKE2B ee72e61d417ef266af43b5c4d3eb0b154eac41a392b0a7e9d19523fdb00786b60f8067a8e876c1b7813b127431b1625b1480d9812d623a6d3c540a8ecf646242 SHA512 4c12d08076b0f260727d5aac780f5e9a24e0164755ff05b02a1f5a697876741ff13ba278fdd6e46ef678e8e1146bc39de1fc49ee10ee839229a70540a9424a99
DIST urllib3-1.24.tar.gz 229200 BLAKE2B 7a1943ce14b9fd88b7b8a86a1ecbd9fd1baa2f7a5eedc64c7989062eef192467e722db480f9667c9390b289a1f3f999c7a6e554f7d013e958d9e60753532e74b SHA512 557e3fa616f064e4447faf9cbbcc9ca14c29077e70871d8bfa7d7271acc3ae012bf4c0dae76ddc8760195c31da90b204168dbf5c99bcf5a1b72158d460a3bcdf
EBUILD urllib3-1.24.1.ebuild 1779 BLAKE2B 5dff6de83e055f2adc07c5e291387abc817ac40aa68fade2a8095973fbb8fe82cc9065dfbbabc8c296e6601d486ae0c1cf93388872e2f9f54373b0ba585fb3a6 SHA512 d9ecb43626d9cb0a82f2726013bdc63ec6e30ffcb42aa1ce8ec45dae1671dc6bfed76fc254aa0a44cf426c42c8e880376cee79722e1c25fe45e22ff25d29a044
EBUILD urllib3-1.24.ebuild 1779 BLAKE2B 5dff6de83e055f2adc07c5e291387abc817ac40aa68fade2a8095973fbb8fe82cc9065dfbbabc8c296e6601d486ae0c1cf93388872e2f9f54373b0ba585fb3a6 SHA512 d9ecb43626d9cb0a82f2726013bdc63ec6e30ffcb42aa1ce8ec45dae1671dc6bfed76fc254aa0a44cf426c42c8e880376cee79722e1c25fe45e22ff25d29a044

View 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="ssl(+)"
inherit distutils-r1
DESCRIPTION="HTTP library with thread-safe connection pooling, file post, and more"
HOMEPAGE="https://github.com/shazow/urllib3"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
IUSE="doc test"
#RESTRICT="test"
RDEPEND="
>=dev-python/PySocks-1.5.6[${PYTHON_USEDEP}]
!~dev-python/PySocks-1.5.7[${PYTHON_USEDEP}]
<dev-python/PySocks-2.0[${PYTHON_USEDEP}]
dev-python/certifi[${PYTHON_USEDEP}]
>=dev-python/cryptography-1.3.4[${PYTHON_USEDEP}]
>=dev-python/pyopenssl-0.14[${PYTHON_USEDEP}]
>=dev-python/idna-2.0.0[${PYTHON_USEDEP}]
virtual/python-ipaddress[${PYTHON_USEDEP}]
"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
${RDEPEND}
>=www-servers/tornado-4.2.1[$(python_gen_usedep 'python*')]
dev-python/pytest[${PYTHON_USEDEP}]
)
doc? (
dev-python/mock[${PYTHON_USEDEP}]
dev-python/sphinx[${PYTHON_USEDEP}]
)
"
# Testsuite written requiring mock to be installed under all Cpythons
python_prepare_all() {
# skip appengine tests
rm -r test/appengine || die
distutils-r1_python_prepare_all
}
python_compile_all() {
use doc && emake -C docs SPHINXOPTS= html
}
python_test() {
# FIXME: get tornado ported
if [[ ${EPYTHON} == python* ]]; then
py.test -v || die "Tests fail with ${EPYTHON}"
fi
}
python_install_all() {
use doc && local HTML_DOCS=( docs/_build/html/. )
distutils-r1_python_install_all
}

View File

@ -0,0 +1,2 @@
DIST user-agents-1.1.0.tar.gz 11217 BLAKE2B 1f57302568a75c3dbf7504e097a48095ce1b4e5b43f71f2933908de5b44ee821e3ccb8d34132952ac8b1abe17a83cbfd95c9f0d3c9830dc939601689ae51e39b SHA512 4968c80d21e3f10225b74b00617d012381767657d654c2a085c72dab35756b2e3ac25e42376dd57e5dd4888ea05ecf9787164366fae736d762cc5c02d8fb5aed
EBUILD user-agents-1.1.0.ebuild 792 BLAKE2B 44b8e55ae8bf7ae0c81a14ac65835799b732b056aaf31e4f0138182932660c2c907b0634531d9631ca4d1ca30ec07149c873526f2fb102caea137fbcce703f79 SHA512 5c6100f13cfdf56b3e37644397900ebca19f648ea2664fad0524ed51c60bade7bd6aaf8b2303e142569224f6c0a507cd431a2d4f013879e52e19a54c50926998

View File

@ -0,0 +1,27 @@
# 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} )
inherit distutils-r1
DESCRIPTION="A library to identify devices (phones, tablets) and their capabilities by parsing (browser/HTTP) user agent strings"
HOMEPAGE="https://github.com/selwin/python-user-agents"
SRC_URI="https://files.pythonhosted.org/packages/be/ff/886a1e2570784ee63b1c4b0fd77037b84087ffe7b7b45f9751285418be34/user-agents-1.1.0.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="alpha amd64 ~arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 ~sparc x86 ~amd64-fbsd ~amd64-linux ~x86-linux"
IUSE="test"
DEPEND="
test? (
dev-python/pytest[${PYTHON_USEDEP}]
)
"
python_test() {
py.test -v || die "Tests failed under ${EPYTHON}"
}