diff options
| author | Liguros - Gitlab CI/CD [feature/flatten] <gitlab@liguros.net> | 2020-09-16 06:28:00 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [feature/flatten] <gitlab@liguros.net> | 2020-09-16 06:28:00 +0000 |
| commit | cc20b6af756ea82df13c515991612fc48afff17c (patch) | |
| tree | 7eef1809298b23632057b2250fa5162e5eea1d0b /dev-python | |
| parent | 3dcea994f58dfe4db86604be3c5297939916a9fd (diff) | |
| download | baldeagleos-repo-cc20b6af756ea82df13c515991612fc48afff17c.tar.gz baldeagleos-repo-cc20b6af756ea82df13c515991612fc48afff17c.tar.xz baldeagleos-repo-cc20b6af756ea82df13c515991612fc48afff17c.zip | |
Updating liguros repo
Diffstat (limited to 'dev-python')
20 files changed, 246 insertions, 94 deletions
diff --git a/dev-python/PyQtWebEngine/Manifest b/dev-python/PyQtWebEngine/Manifest index f267b62d52bd..91fcdaccd5c8 100644 --- a/dev-python/PyQtWebEngine/Manifest +++ b/dev-python/PyQtWebEngine/Manifest @@ -1,2 +1,3 @@ DIST PyQtWebEngine-5.14.0.tar.gz 47794 BLAKE2B 28f4a577ab5d8c1bea439b11e836008d27b4a49f31f230885013b515147a95c97e398328d1fc3a99619c3fd6eca3da7e94bf5873de9ac6511e0f59e467d4490c SHA512 c5274ce5ba1c80c6851971c3e18acf33121cd5863f613bd1789fdb40323b52429b55b54f3dcbb3127c85343e11f14c004ad54711b2b59cab95fd440f90fe5f2e DIST PyQtWebEngine-5.15.1.dev2006110847.tar.gz 48514 BLAKE2B a4c4490720dcc1bf95c62e3bb9e72f2e25000a2641b64f2a0466649899f56eac0594461471ba787c332a32cda8b48cff0bddd2d4beceadfca02b1c06668e4117 SHA512 1f39052f22598f4fdb30ce9b9180fc145414e2e6708f2bda5a6f9166824926f91ca61070e64c4d9f880f0711a0c4c3a6a345d9904092bb13d51bd28e71fd52ab +DIST PyQtWebEngine-5.15.1.tar.gz 48520 BLAKE2B d4e4fcfb1066fcc274f4b3c8ccd7380435b9391586e3396fb5aa95ad7443c168ea9be3b85ec93e2dc28285aca18718afeb1487cb2c4ad5ed1a4f4d03010107ec SHA512 1efbea43bfd4a6de1c7aa2ab2ca124c4278b6b7ea0d6073c64a7ad83df676759d0747421cae5214017e3c61d8edddf9766f93660e13eee5d407a24fd11d8c21f diff --git a/dev-python/PyQtWebEngine/PyQtWebEngine-5.15.1.ebuild b/dev-python/PyQtWebEngine/PyQtWebEngine-5.15.1.ebuild new file mode 100644 index 000000000000..745c89b607f8 --- /dev/null +++ b/dev-python/PyQtWebEngine/PyQtWebEngine-5.15.1.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{5,6,7,8,9} ) +inherit python-r1 qmake-utils + +DESCRIPTION="Python bindings for QtWebEngine" +HOMEPAGE="https://www.riverbankcomputing.com/software/pyqtwebengine/intro" + +MY_P=${PN}-${PV/_pre/.dev} +if [[ ${PV} == *_pre* ]]; then + SRC_URI="https://dev.gentoo.org/~pesa/distfiles/${MY_P}.tar.gz" +else + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" +fi + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="debug" + +REQUIRED_USE=" + ${PYTHON_REQUIRED_USE} +" + +RDEPEND=" + ${PYTHON_DEPS} + >=dev-python/PyQt5-5.14[gui,network,printsupport,ssl,webchannel,widgets,${PYTHON_USEDEP}] + >=dev-python/PyQt5-sip-4.19.22:=[${PYTHON_USEDEP}] + dev-qt/qtcore:5 + dev-qt/qtwebengine:5[widgets] +" +DEPEND="${RDEPEND} + >=dev-python/sip-4.19.22[${PYTHON_USEDEP}] +" + +S=${WORKDIR}/${MY_P} + +src_configure() { + configuration() { + local myconf=( + "${PYTHON}" + "${S}"/configure.py + --qmake="$(qt5_get_bindir)"/qmake + $(usex debug '--debug --trace' '') + --verbose + ) + echo "${myconf[@]}" + "${myconf[@]}" || die + + # Fix parallel install failure + sed -i -e '/INSTALLS += distinfo/i distinfo.depends = install_subtargets install_pep484_stubs install_api' \ + ${PN}.pro || die + + # Run eqmake to respect toolchain and build flags + eqmake5 -recursive ${PN}.pro + } + python_foreach_impl run_in_build_dir configuration +} + +src_compile() { + python_foreach_impl run_in_build_dir default +} + +src_install() { + installation() { + emake INSTALL_ROOT="${D}" install + python_optimize + } + python_foreach_impl run_in_build_dir installation + + einstalldocs +} diff --git a/dev-python/aiocontextvars/aiocontextvars-0.2.2.ebuild b/dev-python/aiocontextvars/aiocontextvars-0.2.2.ebuild index 08d05ed4d9c7..6da9c469e48d 100644 --- a/dev-python/aiocontextvars/aiocontextvars-0.2.2.ebuild +++ b/dev-python/aiocontextvars/aiocontextvars-0.2.2.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/fantix/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86" DEPEND="test? ( dev-python/pytest-asyncio[${PYTHON_USEDEP}] )" RDEPEND="dev-python/contextvars[${PYTHON_USEDEP}]" diff --git a/dev-python/asttokens/asttokens-2.0.4.ebuild b/dev-python/asttokens/asttokens-2.0.4.ebuild index 57cd8472e50e..36f44bb5412b 100644 --- a/dev-python/asttokens/asttokens-2.0.4.ebuild +++ b/dev-python/asttokens/asttokens-2.0.4.ebuild @@ -16,7 +16,7 @@ SRC_URI=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86" RDEPEND="dev-python/six[${PYTHON_USEDEP}]" BDEPEND=" diff --git a/dev-python/autoprop/Manifest b/dev-python/autoprop/Manifest new file mode 100644 index 000000000000..6ca9ddbb7324 --- /dev/null +++ b/dev-python/autoprop/Manifest @@ -0,0 +1 @@ +DIST autoprop-1.0.2.tar.gz 11040 BLAKE2B b53bdbf79947002a0c319fa84c6033908948365d18a85dd2fd4139bff2125752e0bc3fc8f19e5d38c06cdc089f423cc8a720b8040593cfbda9c04c84b7cd4ffd SHA512 281c30fded6d79ed3bbb0de5b7a37c2cc5b985a4980974503b5bbb5940cd22f3c09c3b3d9d513d5cb95239519519b277bf43536407fedb593a43122ee32a8db6 diff --git a/dev-python/autoprop/autoprop-1.0.2.ebuild b/dev-python/autoprop/autoprop-1.0.2.ebuild new file mode 100644 index 000000000000..bfe095ce4584 --- /dev/null +++ b/dev-python/autoprop/autoprop-1.0.2.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{5,6,7,8,9} ) + +inherit distutils-r1 + +DESCRIPTION="Infer properties from accessor methods" +HOMEPAGE="https://github.com/kalekundert/autoprop https://pypi.org/project/autoprop/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" +LICENSE="MIT" + +KEYWORDS="~amd64" +SLOT="0" + +distutils_enable_tests pytest diff --git a/dev-python/autoprop/metadata.xml b/dev-python/autoprop/metadata.xml new file mode 100644 index 000000000000..f9d51767f842 --- /dev/null +++ b/dev-python/autoprop/metadata.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>3dprint@gentoo.org</email> + <name>Gentoo 3D Printer Project</name> + </maintainer> + <longdescription> + Properties are a feature in python that allow accessor functions (i.e. getters and setters) to masquerade as + regular attributes. This makes it possible to provide transparent APIs for classes that need to cache results, + lazily load data, maintain invariants, or react in any other way to attribute access. + + Unfortunately, making a property requires an annoying amount of boilerplate code. There are a few ways to + do it, but the most common and most succinct requires you to decorate two functions + (with two different decorators) and to type the name of the attribute three times. + + The autoprop module simplifies this process by searching your class for accessor methods and adding properties + corresponding to any such methods it finds. + </longdescription> + <upstream> + <remote-id type="github">kalekundert/autoprop</remote-id> + <remote-id type="pypi">autoprop</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-python/executing/executing-0.5.2.ebuild b/dev-python/executing/executing-0.5.2.ebuild index 39e62abce8b0..0c4fcff1006d 100644 --- a/dev-python/executing/executing-0.5.2.ebuild +++ b/dev-python/executing/executing-0.5.2.ebuild @@ -16,7 +16,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86" # asttokens is optional runtime dep BDEPEND=" diff --git a/dev-python/fakeredis/fakeredis-1.4.3.ebuild b/dev-python/fakeredis/fakeredis-1.4.3.ebuild index c698871fba3c..c76e4877b58d 100644 --- a/dev-python/fakeredis/fakeredis-1.4.3.ebuild +++ b/dev-python/fakeredis/fakeredis-1.4.3.ebuild @@ -16,7 +16,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86" RDEPEND=" dev-python/redis-py[${PYTHON_USEDEP}] diff --git a/dev-python/fcl/Manifest b/dev-python/fcl/Manifest new file mode 100644 index 000000000000..c8d389d0a36c --- /dev/null +++ b/dev-python/fcl/Manifest @@ -0,0 +1 @@ +DIST python-fcl-0.0.12.tar.gz 17204 BLAKE2B 594d466270160e71e67d99f1745b382c3b1f7754adeb9ba58443e4370e14496e45f4a7619eb7d41db22766f75fe841e088609014bf5a9ff5a6b7ee526b34eca2 SHA512 3b5462206e63e17c646edeeedb268474cc6df1ff12d64d4de0c46bcc281787a42b6306778d2fe5d4d3b2e23bc0ed86e092c9a39b74d019638c771ac5c9d9f8ce diff --git a/dev-python/fcl/fcl-0.0.12.ebuild b/dev-python/fcl/fcl-0.0.12.ebuild new file mode 100644 index 000000000000..469edf17d924 --- /dev/null +++ b/dev-python/fcl/fcl-0.0.12.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{5,6,7,8,9} ) + +inherit distutils-r1 + +MY_PN="python-fcl" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Python bindings for the Flexible Collision Library" +HOMEPAGE="https://github.com/BerkeleyAutomation/python-fcl https://pypi.org/project/python-fcl/" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" +LICENSE="BSD" + +KEYWORDS="~amd64" +SLOT="0" +IUSE="examples" + +RDEPEND=" + dev-python/numpy[${PYTHON_USEDEP}] + ~sci-libs/fcl-0.5.0 + sci-libs/octomap +" + +S=${WORKDIR}/${MY_P} + +distutils_enable_tests unittest + +python_install_all() { + if use examples; then + docompress -x "/usr/share/doc/${PF}/examples" + dodoc -r example + fi + + distutils-r1_python_install_all +} + +python_test() { + "${EPYTHON}" test/test_fcl.py -v || die "tests failed with ${EPYTHON}" +} diff --git a/dev-python/fcl/metadata.xml b/dev-python/fcl/metadata.xml new file mode 100644 index 000000000000..3591e057026e --- /dev/null +++ b/dev-python/fcl/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>3dprint@gentoo.org</email> + <name>Gentoo 3D Printer Project</name> + </maintainer> + <longdescription> + Python-FCL is an (unofficial) Python interface for the Flexible Collision Library (FCL), an excellent C++ + library for performing proximity and collision queries on pairs of geometric models. + </longdescription> + <upstream> + <remote-id type="github">BerkeleyAutomation/python-fcl</remote-id> + <remote-id type="pypi">python-fcl</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-python/influxdb/files/influxdb-5.3.0-pandas-future-warning.patch b/dev-python/influxdb/files/influxdb-5.3.0-pandas-future-warning.patch new file mode 100644 index 000000000000..efd510fc8420 --- /dev/null +++ b/dev-python/influxdb/files/influxdb-5.3.0-pandas-future-warning.patch @@ -0,0 +1,15 @@ +https://github.com/influxdata/influxdb-python/pull/845 + +diff --git a/influxdb/_dataframe_client.py b/influxdb/_dataframe_client.py +index 600bc1ec1f47..7f2b4ee2989f 100644 +--- a/influxdb/_dataframe_client.py ++++ b/influxdb/_dataframe_client.py +@@ -294,7 +294,7 @@ class DataFrameClient(InfluxDBClient): + 'time': np.int64(ts.value / precision_factor)} + for ts, tag, (_, rec) in zip( + dataframe.index, +- dataframe[tag_columns].to_dict('record'), ++ dataframe[tag_columns].to_dict('records'), + dataframe[field_columns].iterrows() + ) + ] diff --git a/dev-python/influxdb/influxdb-5.3.0.ebuild b/dev-python/influxdb/influxdb-5.3.0-r1.ebuild index fe641e75890f..178929abf867 100644 --- a/dev-python/influxdb/influxdb-5.3.0.ebuild +++ b/dev-python/influxdb/influxdb-5.3.0-r1.ebuild @@ -2,7 +2,8 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{5,6,7,8,9} ) + +PYTHON_COMPAT=( python3_{6,7,8,9} ) inherit distutils-r1 @@ -22,14 +23,14 @@ RDEPEND=" >=dev-python/six-1.10.0[${PYTHON_USEDEP}] " BDEPEND="test? ( - ${RDEPEND} dev-db/influxdb dev-python/mock[${PYTHON_USEDEP}] - dev-python/nose[${PYTHON_USEDEP}] dev-python/pandas[${PYTHON_USEDEP}] dev-python/requests-mock[${PYTHON_USEDEP}] )" +PATCHES=( "${FILESDIR}/${P}-pandas-future-warning.patch" ) + distutils_enable_tests nose src_prepare() { diff --git a/dev-python/sentry-sdk/Manifest b/dev-python/sentry-sdk/Manifest index 65f6efc9d30a..c49f15bd3882 100644 --- a/dev-python/sentry-sdk/Manifest +++ b/dev-python/sentry-sdk/Manifest @@ -1,3 +1,2 @@ DIST sentry-sdk-0.16.3.tar.gz 170145 BLAKE2B bf619313fb3f49800f5384f0dfec3aa34ef4bb030c5e038a485a8861a733a537ee7c834c8c200a2244335c3c61e7d564005b81d4e5c5f603d2864b2a943a5384 SHA512 e8589f7bd433d4aff068099e860c0cf012fc88dc63806873573a338bb91848d73e0a2af76dad0a5e023a1b25b0be85507346b77dec5c5a265942005219541699 -DIST sentry-sdk-0.17.5.tar.gz 183114 BLAKE2B a2fdd5fb0ffb18f7987eae9f3837a4bf4df20df9757d89bcc3ec18f7022d20de083c905f6edbb854bcc7f074f6d158cbf30f69d953a75048e7d9d0d98e859477 SHA512 5f0d6679832fed346d00b27bac9f680909a7ede38e46b1c05c583fcc574edc193d855dba2f11a629e2919da5e13cc2e89f6c0b231e47bc7b0a67138ff7905d9f DIST sentry-sdk-0.17.6.tar.gz 183157 BLAKE2B ea0f6af54c31abc785274fc75238a02b8c9f7a978881a01203e0928e100c18df2257ec4a3cef608141b6846c616566388134a4ec31364f26d0bc2b0fadbb0dac SHA512 1af433b5c2311612ad650ea196ddfedb444e9ccb424df72422759f8647fe6cc22bb81a15933f2716cf40313ce3b2e262c077168aa831758d057a1f2e5e1499ff diff --git a/dev-python/sentry-sdk/sentry-sdk-0.17.5.ebuild b/dev-python/sentry-sdk/sentry-sdk-0.17.5.ebuild deleted file mode 100644 index 483a5b3f6a82..000000000000 --- a/dev-python/sentry-sdk/sentry-sdk-0.17.5.ebuild +++ /dev/null @@ -1,85 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{5,6,7,8,9} ) - -inherit distutils-r1 - -DESCRIPTION="Python client for Sentry" -HOMEPAGE="https://getsentry.com https://pypi.org/project/sentry-sdk/" -SRC_URI="https://github.com/getsentry/sentry-python/archive/${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/sentry-python-${PV}" - -LICENSE="PSF-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" - -RDEPEND=" - dev-python/urllib3[${PYTHON_USEDEP}] - dev-python/certifi[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/asttokens[${PYTHON_USEDEP}] - <dev-python/dnspython-2[${PYTHON_USEDEP}] - dev-python/executing[${PYTHON_USEDEP}] - dev-python/eventlet[${PYTHON_USEDEP}] - dev-python/fakeredis[${PYTHON_USEDEP}] - dev-python/flask-login[${PYTHON_USEDEP}] - dev-python/gevent[${PYTHON_USEDEP}] - dev-python/jsonschema[${PYTHON_USEDEP}] - dev-python/pyrsistent[${PYTHON_USEDEP}] - dev-python/pytest-aiohttp[${PYTHON_USEDEP}] - dev-python/pytest-forked[${PYTHON_USEDEP}] - dev-python/pytest-localserver[${PYTHON_USEDEP}] - dev-python/werkzeug[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/aiocontextvars[${PYTHON_USEDEP}] - dev-python/contextvars[${PYTHON_USEDEP}] - ' python3_6) - ) -" - -distutils_enable_tests pytest - -python_test() { - local deselect=( - # tests require Internet access - --deselect tests/integrations/stdlib/test_httplib.py - --deselect tests/integrations/requests/test_requests.py - # wtf is it supposed to do?! - --deselect tests/integrations/gcp/test_gcp.py - # fails on py3.6, hangs on py3.7+ - --deselect - 'tests/test_transport.py::test_transport_works[eventlet' - # TODO - --deselect - 'tests/test_basics.py::test_auto_enabling_integrations_catches_import_error' - --deselect - tests/test_client.py::test_databag_depth_stripping - --deselect - tests/test_client.py::test_databag_string_stripping - --deselect - tests/test_client.py::test_databag_breadth_stripping - # test_filename: apparently unhappy about pytest being called pytest - --deselect 'tests/utils/test_general.py::test_filename' - # test_circular_references: apparently fragile - --deselect - 'tests/integrations/threading/test_threading.py::test_circular_references' - ) - [[ ${EPYTHON} == python3.6 ]] && deselect+=( - # broken with contextvars on py3.6 - --deselect - 'tests/utils/test_contextvars.py::test_leaks[greenlet]' - --deselect - 'tests/test_transport.py::test_transport_works[greenlet' - ) - - # Prevent tests/integrations/modules/test_modules.py:test_basic failure - # Needs to detect sentry-sdk in the installed modules - distutils_install_for_testing - - pytest -vv "${deselect[@]}" || die "Tests failed with ${EPYTHON}" -} diff --git a/dev-python/sentry-sdk/sentry-sdk-0.17.6.ebuild b/dev-python/sentry-sdk/sentry-sdk-0.17.6.ebuild index 483a5b3f6a82..b173deed5391 100644 --- a/dev-python/sentry-sdk/sentry-sdk-0.17.6.ebuild +++ b/dev-python/sentry-sdk/sentry-sdk-0.17.6.ebuild @@ -14,7 +14,7 @@ S="${WORKDIR}/sentry-python-${PV}" LICENSE="PSF-2" SLOT="0" -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86" RDEPEND=" dev-python/urllib3[${PYTHON_USEDEP}] diff --git a/dev-python/vecrec/Manifest b/dev-python/vecrec/Manifest new file mode 100644 index 000000000000..da37cb051d39 --- /dev/null +++ b/dev-python/vecrec/Manifest @@ -0,0 +1 @@ +DIST vecrec-0.3.0.tar.gz 118946 BLAKE2B 04ecb6be616b0d65e93feb3e238f068e68d95a2d90e9ab7c0b0aaf3d257924cf14f46cf403661b26b74691ed41afad9f16c52b426da23e0209d8849fe01bf42b SHA512 9208bacac7e32380fce3d0e3fca8b3353776d4154ffe2eb2360020f76eace5ced38ad30253cad377716c9a0979ee0d038debd0e6187bc72caeb17505225597b5 diff --git a/dev-python/vecrec/metadata.xml b/dev-python/vecrec/metadata.xml new file mode 100644 index 000000000000..2026677812c2 --- /dev/null +++ b/dev-python/vecrec/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>3dprint@gentoo.org</email> + <name>Gentoo 3D Printer Project</name> + </maintainer> + <longdescription> + Python-FCL is an (unofficial) Python interface for the Flexible Collision Library (FCL), an excellent C++ + library for performing proximity and collision queries on pairs of geometric models. + </longdescription> + <upstream> + <remote-id type="github">kxgames/vecrec</remote-id> + <remote-id type="pypi">vecrec</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-python/vecrec/vecrec-0.3.0.ebuild b/dev-python/vecrec/vecrec-0.3.0.ebuild new file mode 100644 index 000000000000..03025e814404 --- /dev/null +++ b/dev-python/vecrec/vecrec-0.3.0.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{5,6,7,8,9} ) + +inherit distutils-r1 + +DESCRIPTION="2D vector and rectangle classes" +HOMEPAGE="https://github.com/kxgames/vecrec + https://pypi.org/project/vecrec/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" +LICENSE="MIT" + +KEYWORDS="~amd64" +SLOT="0" + +distutils_enable_tests pytest + +python_test() { + pytest -vv tests || die "Tests fail with ${EPYTHON}" +} |
