diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-12-15 18:09:03 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-12-15 18:09:03 +0000 |
commit | 7bc9c63c9da678a7e6fceb095d56c634afd22c56 (patch) | |
tree | 4a67d50a439e9af63947e5f8b6ba3719af98b6c9 /dev-python/entrypoints | |
parent | b284a3168fa91a038925d2ecf5e4791011ea5e7d (diff) |
gentoo resync : 15.12.2019
Diffstat (limited to 'dev-python/entrypoints')
-rw-r--r-- | dev-python/entrypoints/Manifest | 5 | ||||
-rw-r--r-- | dev-python/entrypoints/entrypoints-0.2.3.ebuild | 2 | ||||
-rw-r--r-- | dev-python/entrypoints/entrypoints-0.3-r1.ebuild | 39 | ||||
-rw-r--r-- | dev-python/entrypoints/entrypoints-0.3.ebuild | 56 |
4 files changed, 101 insertions, 1 deletions
diff --git a/dev-python/entrypoints/Manifest b/dev-python/entrypoints/Manifest index aa08b7b20a2b..3525e72fa77e 100644 --- a/dev-python/entrypoints/Manifest +++ b/dev-python/entrypoints/Manifest @@ -1,5 +1,8 @@ AUX entrypoints-0.2.1-init.py.patch 243 BLAKE2B 79706eacd51f9eb2b9bb319befc01c44894e2fa0c394585d2ad578b07e64fa4a6fce5e7c8f1c50752b1fa63e05776186759bc1ce426559405fd0a0e6c8b14aa3 SHA512 f25cb047aa8743dd9145c8e5913c53b5faa6a2b0ed3a50a957d69739bef43b3a6612ec38754bb088c2f9a8e116df61e00962fd1a78c45e5c107cbdd40a9569d0 AUX entrypoints-0.2.3-setup.py.patch 614 BLAKE2B cd5248f366546bbba8c068d8a27f5853ced0757528f95f082473ab086dff5145f7735d48bb29da92237e1d1f31183726a0da4f7a8a405d1635c23ae634414c79 SHA512 eff2b655b0b0efe32fba265ee7816e6618062a665f86371104862cbc2e1ef79bd6ded749084ef18c09c6a5a43f572daff4c3377b6fa39b6b46d926de5bfeb42a DIST entrypoints-0.2.3.tar.gz 11219 BLAKE2B ae7745a075d564b3cc25a0580ae9f30f6e1a0b4bca7315c4fc3700408e4ab3762831212a451eb937ab94096d1db5c1478980b216dea7cfb95a8577d6337534a0 SHA512 dbf8085652e50cbdbe137ae655ef765cff58bdaa6beefebf1383dcd96dfcbf9c92580c09e9a58de7893aebdd7b2a701ef8d13a56ef0fa9a3d9ef7a5bd1d9b11b -EBUILD entrypoints-0.2.3.ebuild 1294 BLAKE2B 9ca193f90026ca4c1eff86509d7285feb791a6bdc8df963ebd8e9206e72662b240ee110c3e1b5e809223a4ce579040a8c37b555e0853083eb43d71def2196ce4 SHA512 10fc02f0393cab09261d8b1a02b0ee2e07f701be086c8d1bd7034b707d12f6e44a7de8656df7a4075dee2b9e8139b5ecd0a891479f982b8fc46d3bbd62cd8164 +DIST entrypoints-0.3.tar.gz 12315 BLAKE2B f548d98eeb9dcf5760b26f66e5dec0849c9a9027cd68447c07a585e7b80f79a7c66712d0dd270b6960db167d26f9cf0c9c221edd21f2692c2221d36e952ede65 SHA512 aa1274362d3a4b00266103319ca51aa266605b4999c89a9d0673eb61bfae9e646cb0ec6b86c95544493f6fe048385a2c7641d64adca8f45815546fb1e663c858 +EBUILD entrypoints-0.2.3.ebuild 1362 BLAKE2B dd7880bad5b9aedab071b4fcbbb02b00c7130a555acb1198344aa1c7e76f86574335e74cf334367b99641ed65890015415dd46de705cb8bb4dab585520cf3f20 SHA512 cc57a38b7fdad659bcec27de5f698d16f736b078709e75e4db6f31d6a45c57f4e471fc58812d1b4d6adc81a9a9cb4a496511a723cf7594485aa5e400195ca10c +EBUILD entrypoints-0.3-r1.ebuild 930 BLAKE2B 4a44cfdf528c662b68908abe73adfa44cb90a58c8ad260559d2076b28de2901085903feac64ba66bbe831023c1c9ba70298299b9432e1a9b98a79cffae06f0f6 SHA512 bfca4b79c7bd4eb4cdcb6aef0b0f6ec92099a369cc75e6a52444f82bcc110b450d4ee49243de2bbfb6393c5f8888bdd587958749cf6abda779ef6bbe78146e59 +EBUILD entrypoints-0.3.ebuild 1229 BLAKE2B dd5281ed4ca9ef09d8163b7a7fa970069dbc276ca8192ba46baeab92cb2c6996775f78efff7d0039c2f5d8d09999aa00c16e515895169f698e9301a377117741 SHA512 16565039604bf202c11e9b795fc883a6feaa54f34326180ee637c03bdfbc96aa713475d65e3bcd3cd76430c4f641c43e75fac0a6b0999b2b8a3814ea7c813797 MISC metadata.xml 623 BLAKE2B 997ce85b64d32c5c365c929f73349582978e299e71b2e304c54e37b0886b19d468270a63d2d766ed7ee52de4a9fc45eb02d11e3289154b03769dab99306d0940 SHA512 0cba95670dc165b6d6d173947a0a6bd567db198cdc6f10617ed68eeb55f3ee4392e5f95fdd136a6a1886a2f9b1e33b0ba8e098ff8c07f7e11b2374ae544ad506 diff --git a/dev-python/entrypoints/entrypoints-0.2.3.ebuild b/dev-python/entrypoints/entrypoints-0.2.3.ebuild index 733fe1027b9c..e1c09bde6457 100644 --- a/dev-python/entrypoints/entrypoints-0.2.3.ebuild +++ b/dev-python/entrypoints/entrypoints-0.2.3.ebuild @@ -15,8 +15,10 @@ LICENSE="BSD" SLOT="0" KEYWORDS="amd64 ~arm ~arm64 x86" IUSE="doc test" +RESTRICT="!test? ( test )" DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] $(python_gen_cond_dep '>=dev-python/configparser-3.5.0[${PYTHON_USEDEP}]' 'python2*') test? ( dev-python/pytest[${PYTHON_USEDEP}] diff --git a/dev-python/entrypoints/entrypoints-0.3-r1.ebuild b/dev-python/entrypoints/entrypoints-0.3-r1.ebuild new file mode 100644 index 000000000000..da55a0a76990 --- /dev/null +++ b/dev-python/entrypoints/entrypoints-0.3-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( pypy{,3} python{2_7,3_{5,6,7,8}} ) + +inherit distutils-r1 + +DESCRIPTION="Discover and load entry points from installed packages" +HOMEPAGE="https://github.com/takluyver/entrypoints" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 ~arm arm64 ~ia64 ~sparc ~x86" +IUSE="test" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + $(python_gen_cond_dep '>=dev-python/configparser-3.5.0[${PYTHON_USEDEP}]' 'python2*') + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + virtual/python-pathlib[${PYTHON_USEDEP}] + ) +" + +RESTRICT="!test? ( test )" + +PATCHES=( + "${FILESDIR}/${PN}"-0.2.1-init.py.patch +) + +python_test() { + distutils_install_for_testing + cd "${TEST_DIR}"/lib || die + cp -r "${S}"/tests "${TEST_DIR}"/lib/ || die + pytest -vv || die "Tests fail with ${EPYTHON}" +} diff --git a/dev-python/entrypoints/entrypoints-0.3.ebuild b/dev-python/entrypoints/entrypoints-0.3.ebuild new file mode 100644 index 000000000000..50ee9d9a4ca2 --- /dev/null +++ b/dev-python/entrypoints/entrypoints-0.3.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( pypy{,3} python{2_7,3_{5,6,7}} ) + +inherit distutils-r1 + +DESCRIPTION="Discover and load entry points from installed packages" +HOMEPAGE="https://github.com/takluyver/entrypoints" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="doc test" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + $(python_gen_cond_dep '>=dev-python/configparser-3.5.0[${PYTHON_USEDEP}]' 'python2*') + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + virtual/python-pathlib[${PYTHON_USEDEP}] + ) +" + +RESTRICT="!test? ( test )" + +PATCHES=( + "${FILESDIR}/${PN}"-0.2.1-init.py.patch +) + +python_prepare_all() { + # Prevent un-needed download during build + if use doc; then + sed -e "/^ 'sphinx.ext.intersphinx',/d" -i doc/conf.py || die + fi + + distutils-r1_python_prepare_all +} + +python_compile_all() { + if use doc; then + emake -C doc html + HTML_DOCS=( doc/_build/html/. ) + fi +} + +python_test() { + distutils_install_for_testing + cd "${TEST_DIR}"/lib || die + cp -r "${S}"/tests "${TEST_DIR}"/lib/ || die + py.test || die +} |