parent
368d7027fd
commit
1337c7eead
@ -1,5 +1,2 @@
|
||||
DIST ansible-1.9.6.tar.gz 941457 SHA256 50773781b1e76f2885bbeb2351a97cf1c6a29239d3e073da939a104e7e81ee5d SHA512 97ea17f032bf253c53d5e1f79071603f0b3b7caffe4e267534cf181ab88b7186d953c41203c762e0650ab70302bde7e84bb5ee8bcd03153a3e4a76e41d1a3bec WHIRLPOOL b26390090aeabd2a6e8e27916a7cc0e89e0041715bd036118f034292da52df55107d27c577fe38e838b3455d3167cf3e876533fa47fe184d02ebfaa98cf46f5e
|
||||
DIST ansible-2.1.3.0.tar.gz 1851643 SHA256 a3bb0487687b70d5586277f0f0c9a419d05ad1811b81fa18535a568e5d064c0b SHA512 6a73a361a89e2785ba5157e309e18c04e2dd09a4133f9ab437d0b05f4e56790bc0430e08976638306c0254aa6b8eac4b558bbcd058f8f5bdba420de8f48c8c34 WHIRLPOOL 7dbb85ddb4533a2b4189aec7aa911a173e51646902bca71c7fdad2fadb7e3f3b88b3463dbf4a75913df0a9c72b3073dbad4b6c962dd484f638d5c58b5112ec4d
|
||||
DIST ansible-2.1.4.0.tar.gz 1889427 SHA256 e9f1033356557dff2fdbaa1b13a7cc8fb2ed2b15129c84d0c53f63001232cc16 SHA512 2f400ab45c4f482a467c1ea5c7654d6d37e5190ecea36d023c12c96869386fb0c2a8652e0ef1f0c9a933a54574447f9172fc74ab5100f177eb13ad0737d1e3fa WHIRLPOOL 168fa584d55f63159e429b4c7234300fa86dbf20ff44981eb3ab50d579a3df1ac39131358512c132ed10955bfdf6d0e49f57e02082d129f1ada71b4e5fc72492
|
||||
DIST ansible-2.2.0.0.tar.gz 2441851 SHA256 d9f198d293394ce0f8ba802561b21368888e3301036a706b5584641b49408586 SHA512 8bb8360f41e920c46552ead826a342311d0acffa264334c8c8ae868f8bf45caad4ff2b9c9c0ec4e551653edaf80eb49d8dece5c2ba7e1088c2ce74d3ff0e3130 WHIRLPOOL 911ba4959fbca8527e9cf4b46c86cefc415433cab21486ff47302d02e60c4c2da1abc91c7ab564642a518acd5a5c1cbc8b3930ef7f596518c5aa358f001f4064
|
||||
DIST ansible-2.2.1.0.tar.gz 2511062 SHA256 63a12ea784c0f90e43293b973d5c75263634c7415e463352846cd676c188e93f SHA512 10f90f4ac68215febd14e36fa9ea3b2156677f2b7a29a08633e0702bcbd8a7c3551980deeabcff756380b076ac7ba6a5e9eca07af66d908d8d6627390744bc00 WHIRLPOOL f246e38e800e7358d74b25c53386fd317ac50a015860d04abff6c360a78fc77ad8843f4537560ed73a27fded408151a64775c355a5c1528668e5431df747bc8d
|
||||
|
@ -1,63 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1 eutils readme.gentoo
|
||||
|
||||
DESCRIPTION="Simple model-driven configuration management and command execution framework"
|
||||
HOMEPAGE="http://ansible.com/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86 ~x64-macos"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/httplib2[${PYTHON_USEDEP}]
|
||||
dev-python/jinja[${PYTHON_USEDEP}]
|
||||
dev-python/keyczar[${PYTHON_USEDEP}]
|
||||
>=dev-python/pycrypto-2.6[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
net-misc/sshpass
|
||||
virtual/ssh
|
||||
"
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
${RDEPEND}
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/passlib[${PYTHON_USEDEP}]
|
||||
dev-vcs/git
|
||||
)"
|
||||
|
||||
# not included in release tarball
|
||||
RESTRICT="test"
|
||||
|
||||
python_test() {
|
||||
nosetests -d -w test/units -v --with-coverage --cover-package=ansible --cover-branches || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
EXAMPLES=( examples )
|
||||
distutils-r1_python_install_all
|
||||
|
||||
doman docs/man/man1/*.1
|
||||
|
||||
newenvd "${FILESDIR}"/${PN}.env 95ansible
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "Alternative ssh transport" dev-python/paramiko
|
||||
}
|
@ -1,58 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1 eutils versionator
|
||||
|
||||
DESCRIPTION="Model-driven deployment, config management, and command execution framework"
|
||||
HOMEPAGE="http://ansible.com/"
|
||||
BLAKE2B_HASH="00/7a/08c9157cbd5f65ed4aa64946cbd0a4af7da6034bcc9185a2786bd9d168d5"
|
||||
SRC_URI="https://pypi.python.org/packages/${BLAKE2B_HASH}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86 ~x64-macos"
|
||||
IUSE="keyczar test"
|
||||
|
||||
RDEPEND="
|
||||
keyczar? ( dev-python/keyczar[${PYTHON_USEDEP}] )
|
||||
dev-python/paramiko[${PYTHON_USEDEP}]
|
||||
dev-python/jinja[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/pycrypto-2.6[${PYTHON_USEDEP}]
|
||||
dev-python/httplib2[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
net-misc/sshpass
|
||||
virtual/ssh
|
||||
"
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/packaging-16.6[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
${RDEPEND}
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
>=dev-python/mock-1.0.1[${PYTHON_USEDEP}]
|
||||
<dev-python/mock-1.1[${PYTHON_USEDEP}]
|
||||
dev-python/passlib[${PYTHON_USEDEP}]
|
||||
dev-python/coverage[${PYTHON_USEDEP}]
|
||||
dev-python/unittest2[${PYTHON_USEDEP}]
|
||||
dev-vcs/git
|
||||
)"
|
||||
|
||||
# not included in release tarball
|
||||
RESTRICT="test"
|
||||
|
||||
python_test() {
|
||||
nosetests -d -w test/units -v --with-coverage --cover-package=ansible --cover-branches || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
doman docs/man/man1/*.1
|
||||
}
|
@ -1,58 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1 eutils versionator
|
||||
|
||||
DESCRIPTION="Model-driven deployment, config management, and command execution framework"
|
||||
HOMEPAGE="http://ansible.com/"
|
||||
BLAKE2B_HASH="48/da/5e51cf931e4c7849ba698654877e2951ade8f842f28f0c904453a1d317d7"
|
||||
SRC_URI="https://pypi.python.org/packages/${BLAKE2B_HASH}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86 ~x64-macos"
|
||||
IUSE="keyczar test"
|
||||
|
||||
RDEPEND="
|
||||
keyczar? ( dev-python/keyczar[${PYTHON_USEDEP}] )
|
||||
dev-python/paramiko[${PYTHON_USEDEP}]
|
||||
dev-python/jinja[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/pycrypto-2.6[${PYTHON_USEDEP}]
|
||||
dev-python/httplib2[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
net-misc/sshpass
|
||||
virtual/ssh
|
||||
"
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/packaging-16.6[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
${RDEPEND}
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
>=dev-python/mock-1.0.1[${PYTHON_USEDEP}]
|
||||
<dev-python/mock-1.1[${PYTHON_USEDEP}]
|
||||
dev-python/passlib[${PYTHON_USEDEP}]
|
||||
dev-python/coverage[${PYTHON_USEDEP}]
|
||||
dev-python/unittest2[${PYTHON_USEDEP}]
|
||||
dev-vcs/git
|
||||
)"
|
||||
|
||||
# not included in release tarball
|
||||
RESTRICT="test"
|
||||
|
||||
python_test() {
|
||||
nosetests -d -w test/units -v --with-coverage --cover-package=ansible --cover-branches || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
doman docs/man/man1/*.1
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST keystoneauth1-2.12.2.tar.gz 171693 SHA256 ed1be2617fe684768e0cac8a49f5dfa7bf7ef7dd83efbd1c8ba6e6764d8d9ae9 SHA512 3fe4c5e144fe2b810f815884ca0e81e9ae732715fac1f89a49a43dca918649ab8727d550d42683ba588ff0bae7908ef3d2bb8f411972d5e2ea1debe646777cb1 WHIRLPOOL 45455215c1d626150b426867537c70f2f93fed5bc282585833b4c53c0c26061e3944b08b063e980d5174d89494d2068b61bb42f61f8a4a510e079371f4d90eff
|
||||
DIST keystoneauth1-2.12.3.tar.gz 176768 SHA256 921e31ebe93e97f771a228296a40559ed1ab96797f589af0e9ac1189ee21364b SHA512 85c35f6c39135176a5a0393fe56d006f5929fbec6a08f8ba03ea39ce458a8d9dde6ffdbce724bcbedfb72e7a895c9ad003d46b23884692eefa773ca9a085446a WHIRLPOOL 7ff4b2f2aef099d0d0e3720e2553b5fc91dff6a80f3335583a07afcf7708dcdae0a7386ffd782932a04b739697677b6aced5b5cadf2f2ebc141c5dc0db0240d4
|
||||
DIST keystoneauth1-2.4.1.tar.gz 150586 SHA256 61a2f4cf374b55f10a0d8250a532ccb93dff2ea81994ced15b2a34af055d4e78 SHA512 f9e8fcea7b23001b907d643d5bf67fc4779c8729cca213b3240ef988eda9de1212b15c2031f6fd8b431aafac85e773346eda71e0b414fe967728611b6817fb05 WHIRLPOOL 42644ede5c0db10ffe77ef106d78764dcb49d455dbc09e3660160b9d7a9eb3453118f6777469f9779e2fca34eb9e09cf3ef759f2f27cc38b8dca8520b9febd43
|
||||
DIST keystoneauth1-2.4.2.tar.gz 151213 SHA256 c8be35bdf5c773c385a0b9b773ec55c44c9c3ea7587179d15b2d4352ae2cbe57 SHA512 dd3b0907c554606489081b970ad248efe52aa6593cb8584ac1d4e3b05075b6a60b8c5f159c00f5668eb0938dbed655e7135ac9b7d3d6017f2f280f69b9080122 WHIRLPOOL b0b79a431b90aa78852a2a76c5f3a72081975c8f5b7e2174ded010c560f3ec205ae702722cd32cea33876f478009400e626b8a7ef750bdb15b9b7a93d7b71189
|
||||
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python2_7 python3_4 python3_5 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="This package contains tools for authenticating to an OpenStack-based cloud."
|
||||
HOMEPAGE="https://github.com/openstack/keystoneauth"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}1/${PN}1-${PV}.tar.gz"
|
||||
S="${WORKDIR}/${PN}1-${PV}"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
CDEPEND=">=dev-python/pbr-1.6[${PYTHON_USEDEP}]"
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
${CDEPEND}"
|
||||
RDEPEND="${CDEPEND}
|
||||
>=dev-python/iso8601-0.1.11[${PYTHON_USEDEP}]
|
||||
>=dev-python/positional-1.0.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-2.10.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.9.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/stevedore-1.16.0[${PYTHON_USEDEP}]"
|
@ -1,7 +1,3 @@
|
||||
DIST packaging-15.3.tar.gz 34359 SHA256 1e9a6b9ad621bc1dbd3aa8dfff52abc4b44f5c14fbb406731c25cba250a5f61e SHA512 bd59408dc6ea2a4f8cb3a84b4d1e4284148a0f6fb2d3203f90885f608871f1f2315201427d08d2ca7b2d706bc5457c8a521b5edda9187e794522dbb8e46a663c WHIRLPOOL 197e9f26022383bf5962efbd562f1502bd5f0972a782c94f3188961d8d14167c25febee459ad5b3a731bafaf3f7e53e5b051d383382c169b58aff1cb521442f3
|
||||
DIST packaging-16.0.tar.gz 40167 SHA256 a32895134cd7b86ee8add60a3be5bfd7ef3f30e73e5b54221dbe67d0e0690689 SHA512 7672f0a51f73543e39ad80b021d288c0e235c2ace9add5022a1d494b2711ce55ba7d05d92245cbb96fa354d67fdfbdbdd2e1858ace3d6d2761869bc5ddaaeddd WHIRLPOOL be813ffbcc614e5be3bc9bb1e704e9c65c194b47172bb0c9bf0113ea8456256fa8263faec33b3e001b6d71ed7fd8763796afd6eeb608f3a65ea987db48304d5a
|
||||
DIST packaging-16.1.tar.gz 42929 SHA256 7792caf5bfda630c96310a84ecba5d61b17a843ab72194bb5606d81e4f44094f SHA512 f4e081be85247c989343e7532d5e4afcad68af960264b59271862799e8d63ed0b7fb733670f7446da69aa60f013fc886c8c31c6010c1157110c1a417209d9325 WHIRLPOOL 8c13ef4196633cc4c7c59aef2fa8980abc46908fd30ffbe79d565dcd6089bc1496a8b5dc6aa5968273281e8ef494ef54036c72192f36dfe30dbb0f3fcf8544c9
|
||||
DIST packaging-16.2.tar.gz 43398 SHA256 0eb4a6329c6d40a0deef725b4f510b6219ec8c365f888583babbb4454d761dd6 SHA512 2310efbd4d73498d5645d0c3a2f0cb162cd18cff28079ba2ac44b784e728363d84a8eae4d9e313c4491394841638ef01ef37ef7da3bac01e27af37a72e387dd1 WHIRLPOOL 5aff538bf5ee18474074048bb581140200c078ceb6366f5c709be931851b0835a8a725ecc17a1b2c34bae34cf79d8743a4422c6701e5c6e9ba99bfdc51aa439f
|
||||
DIST packaging-16.5.tar.gz 43810 SHA256 b763bd2a025e957323f761bf00fb72e8c17ac1c6d5eb8fb55c18802f2143f911 SHA512 60d4317f5a86518078d56a08a3121536ba2ed2232dfc44c7962aa0e17676c7116c25f710ff2056ca44a0f1b0db15e5f02d6f785f9db0ab3af613b2056430a6f3 WHIRLPOOL bdd83eb84af57dfc81aa318966b43b98f6915e7a81a6b3ae019c294cfb687a0fd491e84c8f15a3ae23d9568292f7c111ab4f17ff7e200ba4d1700e953bbf4fca
|
||||
DIST packaging-16.6.tar.gz 44194 SHA256 a335d0778b77d3525875dfe66c2b880529e3bbde08e1a6604710ac36f851021a SHA512 221bedd71f942516be77e8146f5b64d5fcfd5aeeb20a7d2f76dcf4aa0164595192e6bb5a829965cefb149ebf523560e57cf09214801b1bceb395b9f59a4cd993 WHIRLPOOL cee4ce64142c1ec3d8ae1c3547e6b840959ffe1c3c08833b61f316f531b0d0fdb751908618762fae40cd5a9d29205a99a8cacefd30ada8a7216186ac116dc3b2
|
||||
DIST packaging-16.8.tar.gz 44706 SHA256 5d50835fdf0a7edf0b55e311b7c887786504efea1177abd7e69329a8e5ea619e SHA512 d1a7b65472c7c02dd758f0c469d6c6aeea34de7b798613f7fcdf45fcccbeba1e9085cab113fa89b392a60f758f8747d13b1c265c809566990c22e61ca8db49bb WHIRLPOOL 611db9bbba97140abfa8097335cb13de2d548c0af731167c2d5f7236771cad47eaf66231c364611f1e6526464dedef8addaa9f0155bd5902f9008952f064d430
|
||||
|
@ -1,31 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5} pypy pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Core utilities for Python packages"
|
||||
HOMEPAGE="https://github.com/pypa/packaging https://pypi.python.org/pypi/packaging"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="|| ( Apache-2.0 BSD-2 )"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-python/pretend[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
PDEPEND="dev-python/pyparsing[${PYTHON_USEDEP}]"
|
||||
|
||||
python_test() {
|
||||
py.test --capture=no --strict -v || die
|
||||
}
|
@ -1,34 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5} pypy pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Core utilities for Python packages"
|
||||
HOMEPAGE="https://github.com/pypa/packaging https://pypi.python.org/pypi/packaging"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="|| ( Apache-2.0 BSD-2 )"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-python/pretend[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
PDEPEND="
|
||||
dev-python/pyparsing[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
python_test() {
|
||||
py.test --capture=no --strict -v || die
|
||||
}
|
@ -1,34 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5} pypy pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Core utilities for Python packages"
|
||||
HOMEPAGE="https://github.com/pypa/packaging https://pypi.python.org/pypi/packaging"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="|| ( Apache-2.0 BSD-2 )"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-python/pretend[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
PDEPEND="
|
||||
dev-python/pyparsing[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
python_test() {
|
||||
py.test --capture=no --strict -v || die
|
||||
}
|
@ -1,34 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5} pypy pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Core utilities for Python packages"
|
||||
HOMEPAGE="https://github.com/pypa/packaging https://pypi.python.org/pypi/packaging"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="|| ( Apache-2.0 BSD-2 )"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-python/pretend[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
PDEPEND="
|
||||
dev-python/pyparsing[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
python_test() {
|
||||
py.test --capture=no --strict -v || die
|
||||
}
|
@ -1,5 +1 @@
|
||||
DIST pycurl-7.19.3.1.tar.gz 116687 SHA256 c0d673fe99a9de07239eabe77c798f1b043f60c02afaec1430ceaf59d7501a4f SHA512 65ccb07638c663bc2a723664f1ade50f08eafa70bbcdc492cc99362a91873f453b63336a6b393d9f6591308f1450dadc64ce729b29990f37b170dda0eae0b23f WHIRLPOOL bf25bbb959e30140a261b9bede2e1a3675ec99c8f6c36f8afc8ca73288aa7f7cea6fa1d28385ca808872b251a676aebf8d77d203aed60619dab8852cac17b296
|
||||
DIST pycurl-7.19.5.1.tar.gz 142140 SHA256 6e9770f80459757f73bd71af82fbb29cd398b38388cdf1beab31ea91a331bc6c SHA512 89a474d7285cb040099dc6107a238f326dcb22cdb2c2325139f0d7ebea56f0860869d20b6e8e3bb43882048a261a8ff5734c7fc3e790fde8a96de3fffd04894f WHIRLPOOL 87eac50707acb4d764941e334a490d1c72c28433e8ff72caa7811f23d3f8ab2c6949a25ba8edd0cdacb27e498e60e728745c787a05853f1428ede8d91294a5cc
|
||||
DIST pycurl-7.19.5.3.tar.gz 154800 SHA256 24f6c4016b1dd2a5e29d1b025ac2ad61f80c17adfdcf8a7f47aefab63ace78d7 SHA512 f7e65e0c6f7d1666ed3bebc4fabb41205f6dadd96d80fb5d1985c13ab28d35effef2966e961383e01881648fca4a4d500e9692d712888313dbe164b2c651530c WHIRLPOOL c5fe1cc232bae07dfc63e1a8a3b0929b3c1bbf7adf29c2b6085e5bc1e97656d6f5afc236974bfc3febdd2ab4fe1b7cce08c96d4a8eba5ba870505c7c423badeb
|
||||
DIST pycurl-7.21.5.tar.gz 170962 SHA256 8a1e0eb55573388275a1d6c2534ca4cfca5d7fa772b99b505c08fa149b27aed0 SHA512 0f07b9e2256e4e019bf0ac85d9ca2fff56cffd49986495f2235f91e341ed937c9895da1636548be90523404027d063d83910055899e178e653842bc5de4151c4 WHIRLPOOL 2e46b5e16181d3cc66be56b38d40f4b7fd2ff7b9574fc4214247140a43ce70c0eac71d793ceddd24ff05bf784a1e8105c315fa4a7b0460bd908901b159e6655d
|
||||
DIST pycurl-7.43.0.tar.gz 182522 SHA256 aa975c19b79b6aa6c0518c0cc2ae33528900478f0b500531dbcdbf05beec584c SHA512 7442462c74c19964b9d72976e9b92bf68bb37debc1401bc399590bea42704065da13d6de710e795eeae79a4651b9a08841d50454243cb0994c7eb1c1bab233a5 WHIRLPOOL 640ef7669273bccdf72f0d98bd5f5c9d882f35ac507d2152f8ab1e2e680298ebe2691b4960713bb39b0a405ba8d0e9a03d69617c5150bb65581efaab99304185
|
||||
|
@ -1,64 +0,0 @@
|
||||
https://github.com/p-push/pycurl/commit/8644393bec56cd05c19d5dbe420ff741ba899d10
|
||||
diff --git a/tests/runwsgi.py b/tests/runwsgi.py
|
||||
index f419d7c..242ef1d 100644
|
||||
--- a/tests/runwsgi.py
|
||||
+++ b/tests/runwsgi.py
|
||||
@@ -11,6 +11,10 @@
|
||||
|
||||
class Server(bottle.WSGIRefServer):
|
||||
def run(self, handler): # pragma: no cover
|
||||
+ self.srv = self.make_server(handler)
|
||||
+ self.serve()
|
||||
+
|
||||
+ def make_server(self, handler):
|
||||
from wsgiref.simple_server import make_server, WSGIRequestHandler
|
||||
if self.quiet:
|
||||
base = self.options.get('handler_class', WSGIRequestHandler)
|
||||
@@ -18,7 +22,10 @@ class QuietHandler(base):
|
||||
def log_request(*args, **kw):
|
||||
pass
|
||||
self.options['handler_class'] = QuietHandler
|
||||
- self.srv = make_server(self.host, self.port, handler, **self.options)
|
||||
+ srv = make_server(self.host, self.port, handler, **self.options)
|
||||
+ return srv
|
||||
+
|
||||
+ def serve(self):
|
||||
if sys.version_info[0] == 2 and sys.version_info[1] < 6:
|
||||
# python 2.5 has no poll_interval
|
||||
# and thus no way to stop the server
|
||||
@@ -27,20 +34,21 @@ def log_request(*args, **kw):
|
||||
else:
|
||||
self.srv.serve_forever(poll_interval=0.1)
|
||||
|
||||
-class SslServer(bottle.CherryPyServer):
|
||||
- def run(self, handler):
|
||||
- import cherrypy.wsgiserver, cherrypy.wsgiserver.ssl_builtin
|
||||
- server = cherrypy.wsgiserver.CherryPyWSGIServer((self.host, self.port), handler)
|
||||
+# http://www.socouldanyone.com/2014/01/bottle-with-ssl.html
|
||||
+# https://github.com/mfm24/miscpython/blob/master/bottle_ssl.py
|
||||
+class SslServer(Server):
|
||||
+ def run(self, handler): # pragma: no cover
|
||||
+ self.srv = self.make_server(handler)
|
||||
+
|
||||
+ import ssl
|
||||
cert_dir = os.path.join(os.path.dirname(__file__), 'certs')
|
||||
- ssl_adapter = cherrypy.wsgiserver.ssl_builtin.BuiltinSSLAdapter(
|
||||
- os.path.join(cert_dir, 'server.crt'),
|
||||
- os.path.join(cert_dir, 'server.key'),
|
||||
- )
|
||||
- server.ssl_adapter = ssl_adapter
|
||||
- try:
|
||||
- server.start()
|
||||
- finally:
|
||||
- server.stop()
|
||||
+ self.srv.socket = ssl.wrap_socket(
|
||||
+ self.srv.socket,
|
||||
+ keyfile=os.path.join(cert_dir, 'server.key'),
|
||||
+ certfile=os.path.join(cert_dir, 'server.crt'),
|
||||
+ server_side=True)
|
||||
+
|
||||
+ self.serve()
|
||||
|
||||
def start_bottle_server(app, port, server, **kwargs):
|
||||
server_thread = ServerThread(app, port, server, kwargs)
|
||||
|
@ -1,15 +0,0 @@
|
||||
tests/memory_mgmt_test.py | 4 +++-
|
||||
1 file changed, 3 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/tests/memory_mgmt_test.py b/tests/memory_mgmt_test.py
|
||||
index 08636ae..a7b8a21 100644
|
||||
--- a/tests/memory_mgmt_test.py
|
||||
+++ b/tests/memory_mgmt_test.py
|
||||
@@ -258,4 +258,6 @@ class MemoryMgmtTest(unittest.TestCase):
|
||||
|
||||
gc.collect()
|
||||
new_object_count = len(gc.get_objects())
|
||||
- self.assertEqual(new_object_count, object_count)
|
||||
+ # it seems that GC sometimes collects something that existed
|
||||
+ # before this test ran, GH issues #273/#274
|
||||
+ self.assertTrue(new_object_count in (object_count, object_count-1))
|
@ -1,64 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
EAPI=5
|
||||
|
||||
# The selftests fail with pypy, and urlgrabber segfaults for me.
|
||||
PYTHON_COMPAT=( python{2_7,3_4} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="python binding for curl/libcurl"
|
||||
HOMEPAGE="https://github.com/pycurl/pycurl https://pypi.python.org/pypi/pycurl"
|
||||
SRC_URI="http://pycurl.sourceforge.net/download/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="curl_ssl_gnutls curl_ssl_nss +curl_ssl_openssl examples ssl test"
|
||||
|
||||
# Depend on a curl with curl_ssl_* USE flags.
|
||||
# libcurl must not be using an ssl backend we do not support.
|
||||
# If the libcurl ssl backend changes pycurl should be recompiled.
|
||||
# If curl uses gnutls, depend on at least gnutls 2.11.0 so that pycurl
|
||||
# does not need to initialize gcrypt threading and we do not need to
|
||||
# explicitly link to libgcrypt.
|
||||
RDEPEND=">=net-misc/curl-7.25.0-r1[ssl=]
|
||||
ssl? (
|
||||
net-misc/curl[curl_ssl_gnutls(-)=,curl_ssl_nss(-)=,curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-),-curl_ssl_polarssl(-)]
|
||||
curl_ssl_gnutls? ( >=net-libs/gnutls-2.11.0 ) )"
|
||||
|
||||
# bottle-0.12.7: https://github.com/pycurl/pycurl/issues/180
|
||||
# bottle-0.12.7: https://github.com/defnull/bottle/commit/f35197e2a18de1672831a70a163fcfd38327a802
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-python/nose[${PYTHON_USEDEP}]
|
||||
>=dev-python/bottle-0.12.7[${PYTHON_USEDEP}] )"
|
||||
# Needed for individual runs of testsuite by python impls.
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}-ssl-test.patch )
|
||||
|
||||
python_prepare_all() {
|
||||
sed -e "/setup_args\['data_files'\] = /d" -i setup.py || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Override faulty detection in setup.py, bug 510974.
|
||||
export PYCURL_SSL_LIBRARY=${CURL_SSL}
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
python_is_python3 || local -x CFLAGS="${CFLAGS} -fno-strict-aliasing"
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_test() {
|
||||
emake test
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
local HTML_DOCS=( doc/. )
|
||||
use examples && local EXAMPLES=( examples/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,73 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
EAPI=5
|
||||
|
||||
# The selftests fail with pypy, and urlgrabber segfaults for me.
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="python binding for curl/libcurl"
|
||||
HOMEPAGE="https://github.com/pycurl/pycurl https://pypi.python.org/pypi/pycurl"
|
||||
SRC_URI="http://pycurl.sourceforge.net/download/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="curl_ssl_gnutls curl_ssl_libressl curl_ssl_nss +curl_ssl_openssl examples ssl test"
|
||||
|
||||
# Depend on a curl with curl_ssl_* USE flags.
|
||||
# libcurl must not be using an ssl backend we do not support.
|
||||
# If the libcurl ssl backend changes pycurl should be recompiled.
|
||||
# If curl uses gnutls, depend on at least gnutls 2.11.0 so that pycurl
|
||||
# does not need to initialize gcrypt threading and we do not need to
|
||||
# explicitly link to libgcrypt.
|
||||
RDEPEND="
|
||||
>=net-misc/curl-7.25.0-r1[ssl=]
|
||||
ssl? (
|
||||
net-misc/curl[curl_ssl_gnutls(-)=,curl_ssl_libressl(-)=,curl_ssl_nss(-)=,curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-),-curl_ssl_polarssl(-)]
|
||||
curl_ssl_gnutls? ( >=net-libs/gnutls-2.11.0 )
|
||||
)"
|
||||
|
||||
# bottle-0.12.7: https://github.com/pycurl/pycurl/issues/180
|
||||
# bottle-0.12.7: https://github.com/defnull/bottle/commit/f35197e2a18de1672831a70a163fcfd38327a802
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
>=dev-python/bottle-0.12.7[${PYTHON_USEDEP}]
|
||||
)"
|
||||
# Needed for individual runs of testsuite by python impls.
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-py3.5-backport.patch
|
||||
)
|
||||
|
||||
python_prepare_all() {
|
||||
sed -e "/setup_args\['data_files'\] = /d" -i setup.py || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_configure_all() {
|
||||
# Override faulty detection in setup.py, bug 510974.
|
||||
export PYCURL_SSL_LIBRARY=${CURL_SSL/libressl/openssl}
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
python_is_python3 || local -x CFLAGS="${CFLAGS} -fno-strict-aliasing"
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# Python3.5 test problems
|
||||
# https://github.com/pycurl/pycurl/issues/273
|
||||
# https://github.com/pycurl/pycurl/issues/274
|
||||
emake -j1 do-test
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
local HTML_DOCS=( doc/. )
|
||||
use examples && local EXAMPLES=( examples/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,64 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
EAPI=5
|
||||
|
||||
# The selftests fail with pypy, and urlgrabber segfaults for me.
|
||||
PYTHON_COMPAT=( python2_7 python3_4 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="python binding for curl/libcurl"
|
||||
HOMEPAGE="https://github.com/pycurl/pycurl https://pypi.python.org/pypi/pycurl"
|
||||
SRC_URI="http://pycurl.sourceforge.net/download/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="curl_ssl_gnutls curl_ssl_nss +curl_ssl_openssl examples ssl test"
|
||||
|
||||
# Depend on a curl with curl_ssl_* USE flags.
|
||||
# libcurl must not be using an ssl backend we do not support.
|
||||
# If the libcurl ssl backend changes pycurl should be recompiled.
|
||||
# If curl uses gnutls, depend on at least gnutls 2.11.0 so that pycurl
|
||||
# does not need to initialize gcrypt threading and we do not need to
|
||||
# explicitly link to libgcrypt.
|
||||
RDEPEND=">=net-misc/curl-7.25.0-r1[ssl=]
|
||||
ssl? (
|
||||
net-misc/curl[curl_ssl_gnutls(-)=,curl_ssl_nss(-)=,curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-),-curl_ssl_polarssl(-)]
|
||||
curl_ssl_gnutls? ( >=net-libs/gnutls-2.11.0 ) )"
|
||||
|
||||
# bottle-0.12.7: https://github.com/pycurl/pycurl/issues/180
|
||||
# bottle-0.12.7: https://github.com/defnull/bottle/commit/f35197e2a18de1672831a70a163fcfd38327a802
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
>=dev-python/bottle-0.12.7[${PYTHON_USEDEP}]
|
||||
)"
|
||||
# Needed for individual runs of testsuite by python impls.
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
python_prepare_all() {
|
||||
sed -e "/setup_args\['data_files'\] = /d" -i setup.py || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_configure_all() {
|
||||
# Override faulty detection in setup.py, bug 510974.
|
||||
export PYCURL_SSL_LIBRARY=${CURL_SSL}
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
python_is_python3 || local -x CFLAGS="${CFLAGS} -fno-strict-aliasing"
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_test() {
|
||||
emake -j1 do-test
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
local HTML_DOCS=( doc/. )
|
||||
use examples && local EXAMPLES=( examples/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,71 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
# The selftests fail with pypy, and urlgrabber segfaults for me.
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="python binding for curl/libcurl"
|
||||
HOMEPAGE="https://github.com/pycurl/pycurl https://pypi.python.org/pypi/pycurl"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="curl_ssl_gnutls curl_ssl_libressl curl_ssl_nss +curl_ssl_openssl examples ssl test"
|
||||
|
||||
# Depend on a curl with curl_ssl_* USE flags.
|
||||
# libcurl must not be using an ssl backend we do not support.
|
||||
# If the libcurl ssl backend changes pycurl should be recompiled.
|
||||
# If curl uses gnutls, depend on at least gnutls 2.11.0 so that pycurl
|
||||
# does not need to initialize gcrypt threading and we do not need to
|
||||
# explicitly link to libgcrypt.
|
||||
RDEPEND="
|
||||
>=net-misc/curl-7.25.0-r1[ssl=]
|
||||
ssl? (
|
||||
net-misc/curl[curl_ssl_gnutls(-)=,curl_ssl_libressl(-)=,curl_ssl_nss(-)=,curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-),-curl_ssl_polarssl(-)]
|
||||
curl_ssl_gnutls? ( >=net-libs/gnutls-2.11.0 )
|
||||
)"
|
||||
|
||||
# bottle-0.12.7: https://github.com/pycurl/pycurl/issues/180
|
||||
# bottle-0.12.7: https://github.com/defnull/bottle/commit/f35197e2a18de1672831a70a163fcfd38327a802
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-python/bottle[${PYTHON_USEDEP}]
|
||||
dev-python/flaky[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
net-misc/curl[curl_ssl_gnutls(-)=,curl_ssl_libressl(-)=,curl_ssl_nss(-)=,curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-),-curl_ssl_polarssl(-),kerberos]
|
||||
>=dev-python/bottle-0.12.7[${PYTHON_USEDEP}]
|
||||
)"
|
||||
# Needed for individual runs of testsuite by python impls.
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
python_prepare_all() {
|
||||
sed -e "/setup_args\['data_files'\] = /d" -i setup.py || die
|
||||
sed -e '/pyflakes/d' -i Makefile || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_configure_all() {
|
||||
# Override faulty detection in setup.py, bug 510974.
|
||||
export PYCURL_SSL_LIBRARY=${CURL_SSL/libressl/openssl}
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
python_is_python3 || local -x CFLAGS="${CFLAGS} -fno-strict-aliasing"
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_test() {
|
||||
emake -j1 do-test
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
local HTML_DOCS=( doc/. )
|
||||
use examples && local EXAMPLES=( examples/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,71 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
# The selftests fail with pypy, and urlgrabber segfaults for me.
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="python binding for curl/libcurl"
|
||||
HOMEPAGE="https://github.com/pycurl/pycurl https://pypi.python.org/pypi/pycurl"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="curl_ssl_gnutls curl_ssl_libressl curl_ssl_nss +curl_ssl_openssl examples ssl test"
|
||||
|
||||
# Depend on a curl with curl_ssl_* USE flags.
|
||||
# libcurl must not be using an ssl backend we do not support.
|
||||
# If the libcurl ssl backend changes pycurl should be recompiled.
|
||||
# If curl uses gnutls, depend on at least gnutls 2.11.0 so that pycurl
|
||||
# does not need to initialize gcrypt threading and we do not need to
|
||||
# explicitly link to libgcrypt.
|
||||
RDEPEND="
|
||||
>=net-misc/curl-7.25.0-r1[ssl=]
|
||||
ssl? (
|
||||
net-misc/curl[curl_ssl_gnutls(-)=,curl_ssl_libressl(-)=,curl_ssl_nss(-)=,curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-),-curl_ssl_polarssl(-)]
|
||||
curl_ssl_gnutls? ( >=net-libs/gnutls-2.11.0 )
|
||||
)"
|
||||
|
||||
# bottle-0.12.7: https://github.com/pycurl/pycurl/issues/180
|
||||
# bottle-0.12.7: https://github.com/defnull/bottle/commit/f35197e2a18de1672831a70a163fcfd38327a802
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-python/bottle[${PYTHON_USEDEP}]
|
||||
dev-python/flaky[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
net-misc/curl[curl_ssl_gnutls(-)=,curl_ssl_libressl(-)=,curl_ssl_nss(-)=,curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-),-curl_ssl_polarssl(-),kerberos]
|
||||
>=dev-python/bottle-0.12.7[${PYTHON_USEDEP}]
|
||||
)"
|
||||
# Needed for individual runs of testsuite by python impls.
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
python_prepare_all() {
|
||||
sed -e "/setup_args\['data_files'\] = /d" -i setup.py || die
|
||||
sed -e '/pyflakes/d' -i Makefile || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_configure_all() {
|
||||
# Override faulty detection in setup.py, bug 510974.
|
||||
export PYCURL_SSL_LIBRARY=${CURL_SSL/libressl/openssl}
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
python_is_python3 || local -x CFLAGS="${CFLAGS} -fno-strict-aliasing"
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_test() {
|
||||
emake -j1 do-test
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
local HTML_DOCS=( doc/. )
|
||||
use examples && local EXAMPLES=( examples/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5} pypy pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Easy-to-use Python module for text parsing"
|
||||
HOMEPAGE="http://pyparsing.wikispaces.com/ https://pypi.python.org/pypi/pyparsing"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${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 ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="doc examples"
|
||||
|
||||
RDEPEND="!dev-python/pyparsing:py2 !dev-python/pyparsing:py3"
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
# no contained in the tarball
|
||||
RESTRICT=test
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}-print.patch )
|
||||
|
||||
python_install_all() {
|
||||
local HTML_DOCS=( HowToUsePyparsing.html )
|
||||
if use doc; then
|
||||
HTML_DOCS+=( htmldoc/. )
|
||||
dodoc docs/*.pdf
|
||||
fi
|
||||
use examples && local EXAMPLES=( examples/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
${PYTHON} unitTests.py || die
|
||||
}
|
@ -1,38 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5} pypy pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Easy-to-use Python module for text parsing"
|
||||
HOMEPAGE="http://pyparsing.wikispaces.com/ https://pypi.python.org/pypi/pyparsing"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${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 ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="doc examples"
|
||||
|
||||
RDEPEND="!dev-python/pyparsing:py2 !dev-python/pyparsing:py3"
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
# no contained in the tarball
|
||||
RESTRICT=test
|
||||
|
||||
python_install_all() {
|
||||
local HTML_DOCS=( HowToUsePyparsing.html )
|
||||
if use doc; then
|
||||
HTML_DOCS+=( htmldoc/. )
|
||||
dodoc docs/*.pdf
|
||||
fi
|
||||
use examples && local EXAMPLES=( examples/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
${PYTHON} unitTests.py || die
|
||||
}
|
@ -1,38 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5} pypy pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Easy-to-use Python module for text parsing"
|
||||
HOMEPAGE="http://pyparsing.wikispaces.com/ https://pypi.python.org/pypi/pyparsing"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${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 ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="doc examples"
|
||||
|
||||
RDEPEND="!dev-python/pyparsing:py2 !dev-python/pyparsing:py3"
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
# no contained in the tarball
|
||||
RESTRICT=test
|
||||
|
||||
python_install_all() {
|
||||
local HTML_DOCS=( HowToUsePyparsing.html )
|
||||
if use doc; then
|
||||
HTML_DOCS+=( htmldoc/. )
|
||||
dodoc docs/*.pdf
|
||||
fi
|
||||
use examples && local EXAMPLES=( examples/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
${PYTHON} unitTests.py || die
|
||||
}
|
@ -1,38 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5} pypy pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Easy-to-use Python module for text parsing"
|
||||
HOMEPAGE="http://pyparsing.wikispaces.com/ https://pypi.python.org/pypi/pyparsing"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${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 ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="doc examples"
|
||||
|
||||
RDEPEND="!dev-python/pyparsing:py2 !dev-python/pyparsing:py3"
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
# no contained in the tarball
|
||||
RESTRICT=test
|
||||
|
||||
python_install_all() {
|
||||
local HTML_DOCS=( HowToUsePyparsing.html )
|
||||
if use doc; then
|
||||
HTML_DOCS+=( htmldoc/. )
|
||||
dodoc docs/*.pdf
|
||||
fi
|
||||
use examples && local EXAMPLES=( examples/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
${PYTHON} unitTests.py || die
|
||||
}
|
@ -1,38 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5} pypy pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Easy-to-use Python module for text parsing"
|
||||
HOMEPAGE="http://pyparsing.wikispaces.com/ https://pypi.python.org/pypi/pyparsing"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${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 ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="doc examples"
|
||||
|
||||
RDEPEND="!dev-python/pyparsing:py2 !dev-python/pyparsing:py3"
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
# no contained in the tarball
|
||||
RESTRICT=test
|
||||
|
||||
python_install_all() {
|
||||
local HTML_DOCS=( HowToUsePyparsing.html )
|
||||
if use doc; then
|
||||
HTML_DOCS+=( htmldoc/. )
|
||||
dodoc docs/*.pdf
|
||||
fi
|
||||
use examples && dodoc -r examples
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
${PYTHON} unitTests.py || die
|
||||
}
|
@ -1,37 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5} pypy pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Easy-to-use Python module for text parsing"
|
||||
HOMEPAGE="http://pyparsing.wikispaces.com/ https://pypi.python.org/pypi/pyparsing"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${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 ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="doc examples"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
# not contained in the tarball
|
||||
RESTRICT=test
|
||||
|
||||
python_install_all() {
|
||||
local HTML_DOCS=( HowToUsePyparsing.html )
|
||||
if use doc; then
|
||||
HTML_DOCS+=( htmldoc/. )
|
||||
dodoc docs/*.pdf
|
||||
fi
|
||||
use examples && dodoc -r examples
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
${PYTHON} unitTests.py || die
|
||||
}
|
@ -1,36 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5} pypy pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Easy-to-use Python module for text parsing"
|
||||
HOMEPAGE="http://pyparsing.wikispaces.com/ https://pypi.python.org/pypi/pyparsing"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${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 ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="doc examples"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
# not contained in the tarball
|
||||
RESTRICT=test
|
||||
|
||||
python_install_all() {
|
||||
local HTML_DOCS=( HowToUsePyparsing.html )
|
||||
if use doc; then
|
||||
HTML_DOCS+=( htmldoc/. )
|
||||
dodoc docs/*.pdf
|
||||
fi
|
||||
use examples && dodoc -r examples
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
${PYTHON} unitTests.py || die
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue