diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-08-09 08:02:17 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-08-09 08:02:17 +0000 |
| commit | b05c1d3b9a18deef50902333d398cec1968928aa (patch) | |
| tree | 112f4560e9267b8afac563f1707010abb01ce974 /dev-python | |
| parent | 29c5b64800a3760b0f50d8a56cef8db5d7a7c9cf (diff) | |
| download | baldeagleos-repo-b05c1d3b9a18deef50902333d398cec1968928aa.tar.gz baldeagleos-repo-b05c1d3b9a18deef50902333d398cec1968928aa.tar.xz baldeagleos-repo-b05c1d3b9a18deef50902333d398cec1968928aa.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/capturer/capturer-3.0.ebuild | 4 | ||||
| -rw-r--r-- | dev-python/dbfread/dbfread-2.0.7.ebuild | 2 | ||||
| -rw-r--r-- | dev-python/lmdb/lmdb-1.2.0-r1.ebuild | 2 | ||||
| -rw-r--r-- | dev-python/node-semver/node-semver-0.8.0.ebuild | 2 | ||||
| -rw-r--r-- | dev-python/python-ldap/python-ldap-3.3.1.ebuild | 6 | ||||
| -rw-r--r-- | dev-python/python-ldap/python-ldap-9999.ebuild | 6 | ||||
| -rw-r--r-- | dev-python/rencode/files/rencode-1.0.6-drop-wheel-dependency.patch | 17 | ||||
| -rw-r--r-- | dev-python/rencode/rencode-1.0.6-r1.ebuild | 33 | ||||
| -rw-r--r-- | dev-python/verboselogs/verboselogs-1.7.ebuild | 4 |
9 files changed, 61 insertions, 15 deletions
diff --git a/dev-python/capturer/capturer-3.0.ebuild b/dev-python/capturer/capturer-3.0.ebuild index 35423c45738e..d7aaf1fdc498 100644 --- a/dev-python/capturer/capturer-3.0.ebuild +++ b/dev-python/capturer/capturer-3.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -23,5 +23,5 @@ distutils_enable_sphinx docs distutils_enable_tests pytest python_test() { - pytest -vv ${PN}/tests.py || die "Tests fail with ${EPYTHON}" + epytest ${PN}/tests.py } diff --git a/dev-python/dbfread/dbfread-2.0.7.ebuild b/dev-python/dbfread/dbfread-2.0.7.ebuild index 66f35e21cae1..17d447318e1e 100644 --- a/dev-python/dbfread/dbfread-2.0.7.ebuild +++ b/dev-python/dbfread/dbfread-2.0.7.ebuild @@ -36,5 +36,5 @@ python_test() { pytest_args+=(--deselect "${test_name}") done - epytest "${pytest_args[@]}" || die + epytest "${pytest_args[@]}" } diff --git a/dev-python/lmdb/lmdb-1.2.0-r1.ebuild b/dev-python/lmdb/lmdb-1.2.0-r1.ebuild index 6590f2004957..ffa0de4e2c27 100644 --- a/dev-python/lmdb/lmdb-1.2.0-r1.ebuild +++ b/dev-python/lmdb/lmdb-1.2.0-r1.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="OPENLDAP" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm ~arm64 ~riscv x86 ~amd64-linux ~x86-linux" RDEPEND=" >=dev-db/lmdb-0.9.28:= diff --git a/dev-python/node-semver/node-semver-0.8.0.ebuild b/dev-python/node-semver/node-semver-0.8.0.ebuild index 797e7a1e7ab3..bc0157a80f22 100644 --- a/dev-python/node-semver/node-semver-0.8.0.ebuild +++ b/dev-python/node-semver/node-semver-0.8.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 diff --git a/dev-python/python-ldap/python-ldap-3.3.1.ebuild b/dev-python/python-ldap/python-ldap-3.3.1.ebuild index 170230bc2829..5b57890c21d0 100644 --- a/dev-python/python-ldap/python-ldap-3.3.1.ebuild +++ b/dev-python/python-ldap/python-ldap-3.3.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -25,7 +25,6 @@ IUSE="examples sasl ssl" # We do not need OpenSSL, it is never directly used: # https://github.com/python-ldap/python-ldap/issues/224 RDEPEND=" - !dev-python/pyldap >=dev-python/pyasn1-0.3.7[${PYTHON_USEDEP}] >=dev-python/pyasn1-modules-0.1.5[${PYTHON_USEDEP}] >net-nds/openldap-2.4.11:=[sasl?,ssl?] @@ -71,8 +70,7 @@ python_test() { t_slapdobject.py ) pushd Tests >/dev/null || die - pytest -vv ${ignored_tests[@]/#/--ignore } \ - || die "tests failed with ${EPYTHON}" + epytest ${ignored_tests[@]/#/--ignore } popd > /dev/null || die } diff --git a/dev-python/python-ldap/python-ldap-9999.ebuild b/dev-python/python-ldap/python-ldap-9999.ebuild index 939c572b0249..c19729bc5b73 100644 --- a/dev-python/python-ldap/python-ldap-9999.ebuild +++ b/dev-python/python-ldap/python-ldap-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -25,7 +25,6 @@ IUSE="examples sasl ssl" # We do not need OpenSSL, it is never directly used: # https://github.com/python-ldap/python-ldap/issues/224 RDEPEND=" - !dev-python/pyldap >=dev-python/pyasn1-0.3.7[${PYTHON_USEDEP}] >=dev-python/pyasn1-modules-0.1.5[${PYTHON_USEDEP}] >net-nds/openldap-2.4.11:=[sasl?,ssl?] @@ -71,8 +70,7 @@ python_test() { t_slapdobject.py ) pushd Tests >/dev/null || die - pytest -vv ${ignored_tests[@]/#/--ignore } \ - || die "tests failed with ${EPYTHON}" + epytest ${ignored_tests[@]/#/--ignore } popd > /dev/null || die } diff --git a/dev-python/rencode/files/rencode-1.0.6-drop-wheel-dependency.patch b/dev-python/rencode/files/rencode-1.0.6-drop-wheel-dependency.patch new file mode 100644 index 000000000000..1a7e0ea2b87a --- /dev/null +++ b/dev-python/rencode/files/rencode-1.0.6-drop-wheel-dependency.patch @@ -0,0 +1,17 @@ +commit 3019171614f22c3d489d46e0fb22c07bf393830f +Author: Louis Sautier <sautier.louis@gmail.com> +Date: Sun Aug 8 22:51:53 2021 +0200 + + Remove unnecessary wheel dependency + +diff --git a/setup.py b/setup.py +index 023df09..6445c0a 100644 +--- a/setup.py ++++ b/setup.py +@@ -92,5 +92,5 @@ setup( + url="https://github.com/aresch/rencode", + cmdclass={'build_ext': optional_build_ext}, + ext_modules=ext_modules, +- setup_requires=['setuptools', 'wheel'], ++ setup_requires=['setuptools'], + ) diff --git a/dev-python/rencode/rencode-1.0.6-r1.ebuild b/dev-python/rencode/rencode-1.0.6-r1.ebuild new file mode 100644 index 000000000000..54c5548c44a5 --- /dev/null +++ b/dev-python/rencode/rencode-1.0.6-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="similar to bencode from the BitTorrent project" +HOMEPAGE="https://github.com/aresch/rencode" +SRC_URI="https://github.com/aresch/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux" + +BDEPEND="dev-python/cython[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest + +PATCHES=( + # https://github.com/aresch/rencode/commit/16e61e1ff4294bddb7c881536d3d454355c78969 + "${FILESDIR}/${P}-drop-wheel-dependency.patch" +) + +python_test() { + # The C extension ("_rencode") can't be imported from "${S}/rencode" + # so we need to cd somewhere else to make sure "rencode" is imported + # from ${BUILD_DIR}/lib (thanks to PYTHONPATH). + cd "${T}" || die + epytest "${S}" +} diff --git a/dev-python/verboselogs/verboselogs-1.7.ebuild b/dev-python/verboselogs/verboselogs-1.7.ebuild index ebf08e4f1602..c2f45c79559c 100644 --- a/dev-python/verboselogs/verboselogs-1.7.ebuild +++ b/dev-python/verboselogs/verboselogs-1.7.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -24,5 +24,5 @@ distutils_enable_sphinx docs distutils_enable_tests pytest python_test() { - pytest -vv ${PN}/tests.py || die "Tests fail with ${EPYTHON}" + epytest ${PN}/tests.py } |
