diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-06-22 01:49:29 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-06-22 01:49:29 +0000 |
| commit | 8647ca998cfba3e57abe4b6683073c78031c9349 (patch) | |
| tree | 8a0680591b8c272ebd6dbb82e856713070786701 /dev-python | |
| parent | 2f9aa4b906bfcb9cbd05d2d2a0e0453d03ff8f50 (diff) | |
| download | baldeagleos-repo-8647ca998cfba3e57abe4b6683073c78031c9349.tar.gz baldeagleos-repo-8647ca998cfba3e57abe4b6683073c78031c9349.tar.xz baldeagleos-repo-8647ca998cfba3e57abe4b6683073c78031c9349.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
18 files changed, 199 insertions, 62 deletions
diff --git a/dev-python/agate/Manifest b/dev-python/agate/Manifest index 79f708548fda..7b0c44d435ca 100644 --- a/dev-python/agate/Manifest +++ b/dev-python/agate/Manifest @@ -1 +1 @@ -DIST agate-1.6.1.tar.gz 137280 BLAKE2B cc022eb05865af0c3f2602d0e5da19a7cbc1516ffbac3900e8cf5c414ff9237151911036170632bfddc4ebe1d40192a3efc0fa73f5ec25a996345919165729ec SHA512 03cbd569a8cff8352ea7fc7469508f5aa5fd6e99381088b53711cc688f8fe9c19c50265852d2e1f9b92852509dbab9630359b72b504a46c9f0aaa37b14027ab9 +DIST agate-1.6.2.tar.gz 191216 BLAKE2B 63e89f6815a36dea956e8a919aeb926291eaf1f4d5eaac7f96dab97c6958dfee4788e18a4c1325a5b8cebf15df27b32e75409ddeab1289c1e8e548088fdc0ea7 SHA512 34d9e45d162bce69d28ad0ec07f5b410b2cdac831e5bd986ca8cb8902fd0ca1ec67663b2f956f42acaf18b8ca0fa169d5236aa4cee7457765e4e86d837e7794e diff --git a/dev-python/agate/agate-1.6.1.ebuild b/dev-python/agate/agate-1.6.1.ebuild deleted file mode 100644 index 7596300de6d9..000000000000 --- a/dev-python/agate/agate-1.6.1.ebuild +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -DISTUTILS_USE_SETUPTOOLS=bdepend - -inherit distutils-r1 - -DESCRIPTION="A Python data analysis library that is optimized for humans instead of machines" -HOMEPAGE="https://github.com/wireservice/agate https://pypi.org/project/agate/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" -RDEPEND=" - >=dev-python/six-1.9.0[${PYTHON_USEDEP}] - >=dev-python/pytimeparse-1.1.5[${PYTHON_USEDEP}] - >=dev-python/parsedatetime-2.1[${PYTHON_USEDEP}] - >=dev-python/Babel-2.0[${PYTHON_USEDEP}] - >=dev-python/isodate-0.5.4[${PYTHON_USEDEP}] - >=dev-python/python-slugify-1.2.1[${PYTHON_USEDEP}] - >=dev-python/leather-0.3.2[${PYTHON_USEDEP}] -" diff --git a/dev-python/agate/agate-1.6.2.ebuild b/dev-python/agate/agate-1.6.2.ebuild new file mode 100644 index 000000000000..9bb07707e488 --- /dev/null +++ b/dev-python/agate/agate-1.6.2.ebuild @@ -0,0 +1,65 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +DISTUTILS_USE_SETUPTOOLS=bdepend + +inherit distutils-r1 + +DESCRIPTION="A Python data analysis library that is optimized for humans instead of machines" +HOMEPAGE="https://github.com/wireservice/agate https://pypi.org/project/agate/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" +RESTRICT="!test? ( test )" +RDEPEND=" + >=dev-python/six-1.9.0[${PYTHON_USEDEP}] + >=dev-python/pytimeparse-1.1.5[${PYTHON_USEDEP}] + >=dev-python/parsedatetime-2.1[${PYTHON_USEDEP}] + >=dev-python/Babel-2.0[${PYTHON_USEDEP}] + >=dev-python/isodate-0.5.4[${PYTHON_USEDEP}] + >=dev-python/pyicu-2.4.2[${PYTHON_USEDEP}] + >=dev-python/python-slugify-1.2.1[${PYTHON_USEDEP}] + >=dev-python/leather-0.3.2[${PYTHON_USEDEP}] +" +BDEPEND="test? ( >=dev-python/leather-0.3.2[xml,${PYTHON_USEDEP}] )" + +distutils_enable_tests pytest + +# @FUNCTION: pytest-expect-to-deselect +# @USAGE: readarray -t pytest_args < <(pytest-expect-to-deselect <<<PYTEST_EXPECT_CONTENT) +# @DESCRIPTION: +# Read a pytest-expect pytest --xfail-file file from stdin and write +# equivalent pytest --deselect arguments to stdout for consumption by +# readarray -t. The generated pytest --deselect arguments are appropriate +# for use as described here: +# https://dev.gentoo.org/~mgorny/python-guide/pytest.html#skipping-tests-based-on-paths-names +pytest-expect-to-deselect() { + while read -r; do + [[ ${REPLY} =~ ^[u]?\'([^\']*) ]] || continue + printf -- '%s\n' --deselect "${BASH_REMATCH[1]}" || return + done +} + +python_test() { + # test_cast_format_locale fails with "locale.Error: unsupported locale setting" + # which appears to be triggered by these locale settings in the unit tests: + # + # agate-1.6.2/tests/test_data_types.py:257: def test_cast_format_locale(self): + # agate-1.6.2/tests/test_data_types.py-258- date_type = Date(date_format='%d-%b-%Y', locale='de_DE') + # agate-1.6.2/tests/test_data_types.py:381: def test_cast_format_locale(self): + # agate-1.6.2/tests/test_data_types.py-382- date_type = DateTime(datetime_format='%Y-%m-%d %I:%M %p', locale='ko_KR') + + local -a pytest_args + readarray -t pytest_args < <(pytest-expect-to-deselect <<<" +pytest-expect file v1 +(3, 8, 10, 'final', 0) +u'tests/test_data_types.py::TestDate::test_cast_format_locale': FAIL +u'tests/test_data_types.py::TestDateTime::test_cast_format_locale': FAIL +") + + epytest "${pytest_args[@]}" || die +} diff --git a/dev-python/grpcio-testing/Manifest b/dev-python/grpcio-testing/Manifest index f6d350347a7d..1a1f4ac18e3f 100644 --- a/dev-python/grpcio-testing/Manifest +++ b/dev-python/grpcio-testing/Manifest @@ -1,2 +1,2 @@ DIST grpcio-testing-1.37.1.tar.gz 16930 BLAKE2B 17f30c1c8266ab1fdb363aaafa80a51711be61a76048ff47b09954f0d5ab570d87a1fcff9b3531245c2dc7066e8f71034662ef524aee898af81d922646d3482b SHA512 bb32067abd145dc2b45b29fe2f01ea9cd4c2a9fe76b94f4c5392c26557118aba2e3032b2566809575311e2773a0afd408a3ae656e31deb93e978fb35ad64c98a -DIST grpcio-testing-1.38.0.tar.gz 16637 BLAKE2B e5d63653baa3ddd7c85b04a8979a748703037aacd1daa25e3e066a14efbcf6e9a36352cb4fd14422490246e72f7d3bff2e445f659eaf890db31cec0ddfdf7445 SHA512 5bcd2204475329bfe7ea194380152bddd440d82cb31a3a2510bf253cd4c165c06e02b607f19e93d5860eec18e08ef39bd6ac105c6dc016bb2d083c1dd74fbee4 +DIST grpcio-testing-1.38.1.tar.gz 16862 BLAKE2B fad99b35851e36b4e80e8d5d1ec91fd5f22e21a37596b3240aa81128fc77b73c95ce83f0d0423a047c85b9dba428e94f9a2c1681971776c1a141c756026b7ce1 SHA512 2814247be309498ef9605d630afd4bdf1843b21e89a7d6742b27107499ac73ca60c2bbcbe9b76d2be765505025e887af9a2b2159b324f10e3d85960759aba23c diff --git a/dev-python/grpcio-testing/grpcio-testing-1.38.0.ebuild b/dev-python/grpcio-testing/grpcio-testing-1.38.1.ebuild index 323b9bd0d773..323b9bd0d773 100644 --- a/dev-python/grpcio-testing/grpcio-testing-1.38.0.ebuild +++ b/dev-python/grpcio-testing/grpcio-testing-1.38.1.ebuild diff --git a/dev-python/grpcio-tools/Manifest b/dev-python/grpcio-tools/Manifest index 83d2af410cfa..c8791812c413 100644 --- a/dev-python/grpcio-tools/Manifest +++ b/dev-python/grpcio-tools/Manifest @@ -1,2 +1,2 @@ DIST grpcio-tools-1.37.1.tar.gz 2120381 BLAKE2B a0a0249166c4f2b0167ea3608f962d0cafae8d7ca7d9085649dc3ef70fb32a93240739c311dbdb59e29c5f1e3319f76f28bc97eebedd37c06b298099750d6730 SHA512 7fa77a822fd242c94547e93aaa7120648a25ddfc0af16a0c1b721e6e2df1fb02a4e29c260e0cd3b35f1b25fa74dcfd42065d0dc34e71fa489e7abbdf2e4ddb4a -DIST grpcio-tools-1.38.0.tar.gz 2128330 BLAKE2B e2d191289dd7cb1edf85ed3d63dc2c469ed03f75145fdbf8dc0c300427c629dbf27a9c4393bf37ac29545dc5b959dff20a7ac6cef679f34aa6b395c556e9c01d SHA512 0aa5827d2f6e575874b9d1222f889a8d07e54c64d4a2e9fb76610cc5ca731789cf5e9eec2dd42462eda386d96ea519040e162e0ad8883c1fe9683289311cd8eb +DIST grpcio-tools-1.38.1.tar.gz 2128280 BLAKE2B bd8f8a371e89c096ce0e7f458e88c7d00ee6d75f18c008e8e0daef37559afea1792cf874829e1a8bda315ae49cd6e453406a75705672032811b059c2189b6aee SHA512 7498443a42da8077b91972ccf78bc64d9906a4344d8f4ce17ae8e45f32c952baf0c84d20771f572e7c883a26022be32f6e0a46f1d0e79dc651f90193987892e5 diff --git a/dev-python/grpcio-tools/grpcio-tools-1.38.0.ebuild b/dev-python/grpcio-tools/grpcio-tools-1.38.1.ebuild index 79d43be41993..79d43be41993 100644 --- a/dev-python/grpcio-tools/grpcio-tools-1.38.0.ebuild +++ b/dev-python/grpcio-tools/grpcio-tools-1.38.1.ebuild diff --git a/dev-python/grpcio/Manifest b/dev-python/grpcio/Manifest index 3962d9846504..982c9eebc3fd 100644 --- a/dev-python/grpcio/Manifest +++ b/dev-python/grpcio/Manifest @@ -1,2 +1,2 @@ DIST grpcio-1.37.1.tar.gz 21678919 BLAKE2B ea1c9a1ce1d888d0e9aca27a9e12ebcaca5c79b6f70a282e4e9a12a4aba982c2cef3f755cc2e789de2302071ce3abf12c91f329febd04159b3c8abded96818d5 SHA512 e7697a6d0da40b7d63be7f4f31223d2314bf16fcab8887a41bc4750c844a58ad55fd27fca0a9f1016fc725076a16c3b2db5a9eb040a86a2acb9f45083835d90e -DIST grpcio-1.38.0.tar.gz 21391828 BLAKE2B efbbf42ad4e67a2c39369c47f345b2a823427341f3e535737d28ff4061941bc649bca179cab84ff5457bab2ccef49146fd2cf7daeb0cae7303e47f192f250feb SHA512 7def460f1a96df65b99fae8aa149428286002aecd14242f62885622fda1568f2d44fc69c3bea28cd1568e3eaa46f03b0fbfda2a9cee23e1e5dfb44ac99ffe597 +DIST grpcio-1.38.1.tar.gz 21392075 BLAKE2B 92f1ad9e119fe346bc1f8f10ffe7067fb736c975ecd276eb8ab37a3b25d0a818fff76cec164db5745ac157ba7b94b841c6e66bb332d9f3b2c08974cab415a973 SHA512 c4f831ee654eec78f01c099fa5a6d9dc7e9551b1db5e5c89e3b8bd4e5c3bae622aee32cac9212bb60bc1baec98e4a49f8e18c0043bc90d1144729dee337072f9 diff --git a/dev-python/grpcio/grpcio-1.38.0-r1.ebuild b/dev-python/grpcio/grpcio-1.38.1.ebuild index eddc66a068bb..eddc66a068bb 100644 --- a/dev-python/grpcio/grpcio-1.38.0-r1.ebuild +++ b/dev-python/grpcio/grpcio-1.38.1.ebuild diff --git a/dev-python/gst-python/Manifest b/dev-python/gst-python/Manifest index e94968236c21..fa50d06616b9 100644 --- a/dev-python/gst-python/Manifest +++ b/dev-python/gst-python/Manifest @@ -1 +1,2 @@ DIST gst-python-1.16.3.tar.xz 419932 BLAKE2B 3c3d7d8dbde7d77d57e340c68503c436ab03f8768be4dd67561b13712bf88d7f8025118cf6a2ff115fbd41b28dc9a3208f612d1b72bf449fd7b23be4437f837f SHA512 2b038c4fc4891ddcf09e58c9e3e8d8462c150589dbb8a1f8d0a1266cffe49fd83531b2eb97cd57baab0f416a2bb1ba81383b55bb953545f3eedc50b6895986c4 +DIST gst-python-1.18.4.tar.xz 158252 BLAKE2B 2fd60d2d451ae572cee2f7e9158e9c06e82cdd56c4fc70d2731aa0a46a21e495321ec02c97ecd9a946278ce9b7290a290b9f2bc13184582c1f8ff19e874d0e3a SHA512 6b9df9e4faaeb030f0596c9e52262c0f82b8854faf821497a840a762913dccb005321c60565754ef571e34976fcda481a41aefbbd486c2932377a95121433bf5 diff --git a/dev-python/gst-python/gst-python-1.18.4.ebuild b/dev-python/gst-python/gst-python-1.18.4.ebuild new file mode 100644 index 000000000000..e694a0d0445e --- /dev/null +++ b/dev-python/gst-python/gst-python-1.18.4.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +inherit meson python-r1 xdg-utils + +DESCRIPTION="A Python Interface to GStreamer" +HOMEPAGE="https://gstreamer.freedesktop.org/" +SRC_URI="https://gstreamer.freedesktop.org/src/${PN}/${P}.tar.xz" + +LICENSE="LGPL-2+" +SLOT="1.0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-solaris" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + >=media-libs/gstreamer-${PV}:1.0[introspection] + >=media-libs/gst-plugins-base-${PV}:1.0[introspection] + >=dev-python/pygobject-3.8:3[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig +" + +src_prepare() { + default + + # Avoid building & testing plugin - it must NOT be multi-python as gst-inspect will map in all libpython.so versions and crash or behave mysteriously. + # Python plugin support is of limited use (GIL gets in the way). If it's ever requested or needed, it should be a + # separate python-single-r1 media-plugins/gst-plugins-python package that only builds the plugin directory. + sed -e '/subdir.*plugin/d' -i meson.build || die + sed -e '/test_plugin.py/d' -i testsuite/meson.build || die + + xdg_environment_reset +} + +src_configure() { + configuring() { + meson_src_configure \ + -Dpython="${EPYTHON}" + } + python_foreach_impl configuring +} + +src_compile() { + python_foreach_impl meson_src_compile +} + +src_test() { + python_foreach_impl meson_src_test +} + +src_install() { + installing() { + meson_src_install + python_optimize + } + python_foreach_impl installing +} diff --git a/dev-python/huawei-lte-api/Manifest b/dev-python/huawei-lte-api/Manifest index 563e78f1e5f6..c48715730e1d 100644 --- a/dev-python/huawei-lte-api/Manifest +++ b/dev-python/huawei-lte-api/Manifest @@ -1,2 +1 @@ -DIST huawei-lte-api-1.4.17.tar.gz 29441 BLAKE2B 75615092a1d8ee598a99e9ae7a0567e11a72fad21a8304005364bd21e4ecb9bf9efa9a2d5c8de86c6d7442ec12f06079819c20ca9e2e4646255ede961b1a1275 SHA512 bf4a6a43d02b56f0aa799e2936d7fd0afa88da4dc18c152c635b0ccb87a7ca9afcf1fcdee3a37d7ab232d5cd4688e24499ad35a1969d97db405b818cf17d33c4 DIST huawei-lte-api-1.4.18.tar.gz 29701 BLAKE2B 0e242f2f2208646c9f3291dab8397a80934bce3757fb79b58fdcee389a087788962cfaea3350d7b95e53ff3e0f1fbefdf7ea6714266872fc1591848a4fb84462 SHA512 4750fcc84fff46c76f42715e6668d402b9057f8dd826276ad0682e9bac76742c86566794d4aaab7aa9ebf17d06246c4d4cc9385ee1fff9642ff5c995491fc646 diff --git a/dev-python/huawei-lte-api/huawei-lte-api-1.4.17.ebuild b/dev-python/huawei-lte-api/huawei-lte-api-1.4.17.ebuild deleted file mode 100644 index 61f02b76253a..000000000000 --- a/dev-python/huawei-lte-api/huawei-lte-api-1.4.17.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="API For huawei LAN/WAN LTE Modems" -HOMEPAGE="https://github.com/Salamek/huawei-lte-api" -SRC_URI="https://github.com/Salamek/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" -IUSE="" - -RDEPEND="dev-python/dicttoxml[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/xmltodict[${PYTHON_USEDEP}]" - -python_prepare_all() { - # https://github.com/Salamek/huawei-lte-api/issues/86 - sed "s:'pytest-runner'::" -i setup.py || die - - distutils-r1_python_prepare_all -} - -distutils_enable_tests pytest diff --git a/dev-python/leather/leather-0.3.3.ebuild b/dev-python/leather/leather-0.3.3-r1.ebuild index 26a11e936d2d..dd2abe0fb8f5 100644 --- a/dev-python/leather/leather-0.3.3.ebuild +++ b/dev-python/leather/leather-0.3.3-r1.ebuild @@ -13,5 +13,11 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" -IUSE="" -RDEPEND=">=dev-python/six-1.6.1[${PYTHON_USEDEP}]" +IUSE="+xml" + +# Other packages have BDEPEND="test? ( dev-python/leather[xml] )" +TEST_AGAINST_RDEPEND="xml? ( dev-python/lxml[${PYTHON_USEDEP}] )" +RDEPEND=" + ${TEST_AGAINST_RDEPEND} + >=dev-python/six-1.6.1[${PYTHON_USEDEP}] +" diff --git a/dev-python/pyflakes/pyflakes-2.3.1.ebuild b/dev-python/pyflakes/pyflakes-2.3.1.ebuild index baae878b5fde..03058c8bfe93 100644 --- a/dev-python/pyflakes/pyflakes-2.3.1.ebuild +++ b/dev-python/pyflakes/pyflakes-2.3.1.ebuild @@ -12,7 +12,7 @@ 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 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" PATCHES=( "${FILESDIR}/${P}-fix-py3.10-tests.patch" diff --git a/dev-python/pythran/Manifest b/dev-python/pythran/Manifest new file mode 100644 index 000000000000..a052b3a876eb --- /dev/null +++ b/dev-python/pythran/Manifest @@ -0,0 +1 @@ +DIST pythran-0.9.11.gh.tar.gz 3570395 BLAKE2B deada9a608ed3d883308389d5a6ddfee2f0f74ecc74f1fd87bcee75eecabcab2acd576425b8e92d6fc6b212377f1c7295e766db32082339c98670a964a49ea10 SHA512 c8939b918216803ad8e2a133b16f0d8ea939e4d87d07ddb1a3d131afb0ddb76962c489270431808fbf129e76b5f9dbdc2b625097f37df2eefdb9834d319d028a diff --git a/dev-python/pythran/metadata.xml b/dev-python/pythran/metadata.xml new file mode 100644 index 000000000000..571e104f0dc6 --- /dev/null +++ b/dev-python/pythran/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + </maintainer> + <upstream> + <remote-id type="github">serge-sans-paille/pythran</remote-id> + <remote-id type="pypi">pythran</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/pythran/pythran-0.9.11.ebuild b/dev-python/pythran/pythran-0.9.11.ebuild new file mode 100644 index 000000000000..c2bd50221584 --- /dev/null +++ b/dev-python/pythran/pythran-0.9.11.ebuild @@ -0,0 +1,44 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 multiprocessing + +DESCRIPTION="Ahead of Time compiler for numeric kernels" +HOMEPAGE=" + https://pypi.org/project/pythran/ + https://github.com/serge-sans-paille/pythran/" +SRC_URI=" + https://github.com/serge-sans-paille/pythran/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + =dev-python/beniget-0.3*[${PYTHON_USEDEP}] + dev-python/decorator[${PYTHON_USEDEP}] + =dev-python/gast-0.4*[${PYTHON_USEDEP}] + >=dev-python/networkx-2[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + >=dev-python/ply-3.4[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( + dev-python/pytest-xdist[${PYTHON_USEDEP}] + )" + +distutils_enable_tests pytest + +src_prepare() { + sed -i -e '/pytest-runner/d' setup.py || die + distutils-r1_src_prepare +} + +python_test() { + local -x COLUMNS=80 + epytest -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" +} |
