summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2021-03-14 22:39:17 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2021-03-14 22:39:17 +0000
commit3988968869df28e14a3e96aab50a00839f26e0cb (patch)
tree1d62cf6e3e9c7933ab067c6529ce485fe04170d5 /dev-python
parent7c7d6f399f530733f0106dd01ef18b3cb2f9bc10 (diff)
downloadbaldeagleos-repo-3988968869df28e14a3e96aab50a00839f26e0cb.tar.gz
baldeagleos-repo-3988968869df28e14a3e96aab50a00839f26e0cb.tar.xz
baldeagleos-repo-3988968869df28e14a3e96aab50a00839f26e0cb.zip
Adding metadata
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/fido2/Manifest2
-rw-r--r--dev-python/fido2/fido2-0.9.1.ebuild (renamed from dev-python/fido2/fido2-0.7.3.ebuild)28
-rw-r--r--dev-python/fido2/metadata.xml3
-rw-r--r--dev-python/genshi/genshi-0.7.5.ebuild10
-rw-r--r--dev-python/plumbum/Manifest1
-rw-r--r--dev-python/plumbum/files/plumbum-1.7.0-test.patch25
-rw-r--r--dev-python/plumbum/plumbum-1.7.0.ebuild37
-rw-r--r--dev-python/pytidylib/metadata.xml6
-rw-r--r--dev-python/pytidylib/pytidylib-0.3.2-r1.ebuild9
-rw-r--r--dev-python/unittest-or-fail/Manifest1
-rw-r--r--dev-python/unittest-or-fail/metadata.xml13
-rw-r--r--dev-python/unittest-or-fail/unittest-or-fail-0.ebuild25
12 files changed, 137 insertions, 23 deletions
diff --git a/dev-python/fido2/Manifest b/dev-python/fido2/Manifest
index 4723eedf6a0e..3143d5edae8c 100644
--- a/dev-python/fido2/Manifest
+++ b/dev-python/fido2/Manifest
@@ -1,2 +1,2 @@
-DIST fido2-0.7.3.tar.gz 188262 BLAKE2B c1d832229ce741be3b81e4cded65b77e57c008aaba8ccbdf640bae1c27f4d86f2c0ce7ffc83405e3693646a8f2868030619c958ecbaa58a6a6328ece2cf6d3de SHA512 715779ecc9dba19de0e45df13d018e7dd223f20f5662860874aa8aa6f811c1df71c07656d21b49a4b6f14a149134d8af6bac076a7f71cb7392ca2fef70b173e1
DIST fido2-0.8.1.tar.gz 201198 BLAKE2B 33411dd05d7f513445afa8a6fc4bb90f3989a655fa05d2ba9da411aa7eea3b30ffa253fae6586f76c416115e5bec90f6f120472a49a0acfbd91020d2cba8f74d SHA512 fc0753ea694f2170d529129764cd9f9c5439cd2f467e4f384d7a698266ee8391a5c9c7c6e51d2dc2a99b93fca1c7d5288d5236e302672a87b8ca7704f328c0b5
+DIST fido2-0.9.1.tar.gz 206395 BLAKE2B 9a9b5d0dd808de896c91aa605540a1968aab7ae543336521d4a206f27bcf836c57e88aa6cdd0bacf71db8d16a0f94c2f9c16b16ca415363fd0b5e145a448ec18 SHA512 cde8c247fe0875129a890866ab76d40b2bd6feee86ff1ccb4b9ec5e6dc037e569fc8d969b51a456b5e66c6f7c67e18d14c3917375d5de85bbe7da5af3254f797
diff --git a/dev-python/fido2/fido2-0.7.3.ebuild b/dev-python/fido2/fido2-0.9.1.ebuild
index 66ea8071b770..52b1b7fb22aa 100644
--- a/dev-python/fido2/fido2-0.7.3.ebuild
+++ b/dev-python/fido2/fido2-0.9.1.ebuild
@@ -4,6 +4,7 @@
EAPI=7
PYTHON_COMPAT=( python3_{6,7,8,9,10} )
+
inherit distutils-r1
DESCRIPTION="Python based FIDO 2.0 library"
@@ -11,10 +12,10 @@ HOMEPAGE="https://github.com/Yubico/python-fido2"
SRC_URI="https://github.com/Yubico/python-fido2/releases/download/${PV}/${P}.tar.gz"
LICENSE="Apache-2.0 BSD-2 MIT MPL-2.0"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="examples test"
-RESTRICT="!test? ( test )"
+SLOT="0/0.9" # Bumped every time a backwards-incompatible version is released
+KEYWORDS="~amd64 ~x86"
+IUSE="examples"
+RESTRICT="test" # Tests require <dev-python/mock-4
RDEPEND="
dev-python/six[${PYTHON_USEDEP}]
@@ -27,16 +28,19 @@ RDEPEND="
"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
- test? (
- ${RDEPEND}
- dev-python/mock[${PYTHON_USEDEP}]
- >=dev-python/pyfakefs-3.4[${PYTHON_USEDEP}]
- )
"
-python_test() {
- esetup.py test
-}
+# Disable tests, <dev-python/mock-4 doesn't exist
+# DEPEND="${DEPEND}
+# test? (
+# ${RDEPEND}
+# <dev-python/mock-4[${PYTHON_USEDEP}]
+# >=dev-python/pyfakefs-3.4[${PYTHON_USEDEP}]
+# )
+# "
+#
+# When tests are available again, remember to add a custom
+# test phase that runs 'python -m unittest discover -v'
python_install_all() {
distutils-r1_python_install_all
diff --git a/dev-python/fido2/metadata.xml b/dev-python/fido2/metadata.xml
index de3f446b7833..1279fb2a96ff 100644
--- a/dev-python/fido2/metadata.xml
+++ b/dev-python/fido2/metadata.xml
@@ -15,5 +15,8 @@
<remote-id type="pypi">fido2</remote-id>
</upstream>
<origin>gentoo-staging</origin>
+ <slots>
+ <subslots>&#xA;&#x9;&#x9;&#x9;Reflects the versions that introduce backwards&#xA;&#x9;&#x9;&#x9;incompatible changes. Do not bind with &#39;:=&#39;,&#xA;&#x9;&#x9;&#x9;unless you are absolutely sure. In most cases, you&#xA;&#x9;&#x9;&#x9;should bind to a specific subslot.&#xA;&#x9;&#x9;</subslots>
+ </slots>
<stabilize-allarches/>
</pkgmetadata> \ No newline at end of file
diff --git a/dev-python/genshi/genshi-0.7.5.ebuild b/dev-python/genshi/genshi-0.7.5.ebuild
index ead432d1e97c..d197477a72a8 100644
--- a/dev-python/genshi/genshi-0.7.5.ebuild
+++ b/dev-python/genshi/genshi-0.7.5.ebuild
@@ -4,19 +4,21 @@
EAPI=7
PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 )
-DISTUTILS_USE_SETUPTOOLS=rdepend
inherit distutils-r1
DESCRIPTION="Python toolkit for stream-based generation of output for the web"
-HOMEPAGE="http://genshi.edgewall.org/ https://pypi.org/project/Genshi/"
+HOMEPAGE="https://genshi.edgewall.org/ https://pypi.org/project/Genshi/"
SRC_URI="mirror://pypi/G/${PN^}/${P^}.tar.gz"
+S="${WORKDIR}/${P^}"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
-IUSE="doc examples"
+IUSE="doc examples test"
+RESTRICT="!test? ( test )"
-S="${WORKDIR}/${P^}"
+BDEPEND="
+ test? ( dev-python/six[${PYTHON_USEDEP}] )"
distutils_enable_tests setup.py
diff --git a/dev-python/plumbum/Manifest b/dev-python/plumbum/Manifest
index 27ba1f2fe0b1..395726bc28ac 100644
--- a/dev-python/plumbum/Manifest
+++ b/dev-python/plumbum/Manifest
@@ -1 +1,2 @@
DIST plumbum-1.6.9.tar.gz 311240 BLAKE2B e5f833a5c762f3e78e5f47649306c7c29e6276b3530ff45fc0c12cc4efd3bf89bad2b6b7f77e4b3e3a0a47671f9b607e667aba8f654c28c05be570e0a7491a07 SHA512 f165f4905ec34cfe072f61fb28b43021ca44c0c3cb1e505faa04332d15920d832bcf084782683c4950113e30a3fa29734846b3b6f31604e1a635c9c125e38ef1
+DIST plumbum-1.7.0.tar.gz 318890 BLAKE2B 19ae8a37dff38ac3d263d9400e44ac174c46ff8cef92cf45b9ea31d6d344543fba66de3fd0fcd15acc205af5939f11be6c56e6cd9ca39a666f92f18dcd29b9f7 SHA512 0a12891278c12bb98b8bbb825448375240ee347eb3ca166b9cbb4da3e083979d947a7bf0a843fd9a0b7c9a13d09f24e988ee877f29420a3f29f40e387eec8826
diff --git a/dev-python/plumbum/files/plumbum-1.7.0-test.patch b/dev-python/plumbum/files/plumbum-1.7.0-test.patch
new file mode 100644
index 000000000000..2f9f9eb97584
--- /dev/null
+++ b/dev-python/plumbum/files/plumbum-1.7.0-test.patch
@@ -0,0 +1,25 @@
+diff -r -U2 plumbum-1.7.0.orig/tests/test_env.py plumbum-1.7.0/tests/test_env.py
+--- plumbum-1.7.0.orig/tests/test_env.py 2021-02-09 02:46:46.000000000 +0700
++++ plumbum-1.7.0/tests/test_env.py 2021-03-14 19:13:56.035129130 +0700
+@@ -14,4 +14,5 @@
+ @skip_on_windows
+ class TestEnv:
++ @pytest.mark.skip("Something wrong here")
+ def test_change_env(self):
+ with local.env(silly=12):
+@@ -23,4 +24,5 @@
+ assert len(local.env) == len(actual)
+
++ @pytest.mark.skip("Something wrong here")
+ def test_dictlike(self):
+ keys = {x.split("=")[0] for x in printenv().splitlines() if "=" in x}
+diff -r -U2 plumbum-1.7.0.orig/tests/test_local.py plumbum-1.7.0/tests/test_local.py
+--- plumbum-1.7.0.orig/tests/test_local.py 2021-02-09 02:46:46.000000000 +0700
++++ plumbum-1.7.0/tests/test_local.py 2021-03-14 19:00:47.310155381 +0700
+@@ -168,5 +168,5 @@
+ assert parts == ("/", "some", "long", "path", "to", "file.txt")
+
+- @pytest.mark.usefixtures("testdir")
++ @pytest.mark.skip("Something wrong here")
+ def test_iterdir(self):
+ cwd = local.path(".")
diff --git a/dev-python/plumbum/plumbum-1.7.0.ebuild b/dev-python/plumbum/plumbum-1.7.0.ebuild
new file mode 100644
index 000000000000..a1bb484d90dc
--- /dev/null
+++ b/dev-python/plumbum/plumbum-1.7.0.ebuild
@@ -0,0 +1,37 @@
+# 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 distutils-r1 optfeature
+
+DESCRIPTION="A library for shell script-like programs in python"
+HOMEPAGE="https://plumbum.readthedocs.io/en/latest/ https://github.com/tomerfiliba/plumbum"
+SRC_URI="https://files.pythonhosted.org/packages/ed/ba/431d7f420cd93c4b8ccb15ed8f1c6c76c81965634fd70345af0b19c2b7bc/${P}.tar.gz"
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+RDEPEND="dev-python/paramiko"
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+PATCHES=( "${FILESDIR}"/${PN}-1.7.0-test.patch )
+distutils_enable_tests pytest
+
+src_prepare() {
+ distutils-r1_src_prepare
+
+ # Need sshd running
+ rm tests/test_remote.py || die "rm test_remote.py failed"
+ rm tests/test_utils.py || die "rm test_utils.py failed"
+ rm tests/test_putty.py || die "rm test_putty.py failed"
+ # Need sudo without password
+ rm tests/test_sudo.py || die "rm test_sudo.py failed"
+}
+
+pkg_postinst() {
+ elog "To get additional features, optional runtime dependencies may be installed:"
+ optfeature "Progress bars in jupyter" dev-python/ipywidgets
+ optfeature "Colored output in jupyter" dev-python/ipython
+ optfeature "Images on the command line" dev-python/pillow
+ elog ""
+}
diff --git a/dev-python/pytidylib/metadata.xml b/dev-python/pytidylib/metadata.xml
index d7bdcc46f984..084052c813ec 100644
--- a/dev-python/pytidylib/metadata.xml
+++ b/dev-python/pytidylib/metadata.xml
@@ -2,6 +2,10 @@
<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
+ <email>dev@liguros.net</email>
+ <name>Development</name>
+ </maintainer>
+ <maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
@@ -9,5 +13,5 @@
<remote-id type="github">countergram/pytidylib</remote-id>
<remote-id type="pypi">pytidylib</remote-id>
</upstream>
- <origin>gentoo-staging</origin>
+ <origin>ports</origin>
</pkgmetadata> \ No newline at end of file
diff --git a/dev-python/pytidylib/pytidylib-0.3.2-r1.ebuild b/dev-python/pytidylib/pytidylib-0.3.2-r1.ebuild
index 95bc83ec4b1c..eaf00e3e04ef 100644
--- a/dev-python/pytidylib/pytidylib-0.3.2-r1.ebuild
+++ b/dev-python/pytidylib/pytidylib-0.3.2-r1.ebuild
@@ -1,6 +1,5 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 2021 Liguros Authors
# Distributed under the terms of the GNU General Public License v2
-
EAPI=7
DISTUTILS_USE_SETUPTOOLS=no
@@ -9,14 +8,14 @@ PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 )
inherit distutils-r1
DESCRIPTION="Python wrapper for HTML Tidy (tidylib)"
-HOMEPAGE="http://countergram.com/open-source/pytidylib https://github.com/countergram/pytidylib"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+HOMEPAGE="https://github.com/countergram/pytidylib"
+SRC_URI="${HOMEPAGE}/archive/${PV}.tar.gz -> ${P}.tar.gz"
SLOT="0"
LICENSE="MIT"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86"
-RDEPEND="app-text/htmltidy"
+RDEPEND="app-text/tidy-html5"
DEPEND=${RDEPEND}
distutils_enable_tests pytest
diff --git a/dev-python/unittest-or-fail/Manifest b/dev-python/unittest-or-fail/Manifest
new file mode 100644
index 000000000000..8ce67bb37efb
--- /dev/null
+++ b/dev-python/unittest-or-fail/Manifest
@@ -0,0 +1 @@
+DIST unittest-or-fail-0.tar.gz 2445 BLAKE2B 42d97fb3bd7e825ecf521ebbb435ca3973f83e107d86848f2c03d6d2321c9b87ec68db159e658bd5eead5321b7085ecec5350947818f55141eb18eb72719e2ad SHA512 8df21f5e235e03f4b5a8ae351420ac667612afddeb52a27bb2d4812bedbea87ba857dedfa37001a72872529b7c1984d15ddda93edfa6f989f0990b72c4b57baf
diff --git a/dev-python/unittest-or-fail/metadata.xml b/dev-python/unittest-or-fail/metadata.xml
new file mode 100644
index 000000000000..b12db9038762
--- /dev/null
+++ b/dev-python/unittest-or-fail/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>mgorny@gentoo.org</email>
+ <name>Michał Górny</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ </maintainer>
+
+ <origin>gentoo-staging</origin>
+</pkgmetadata> \ No newline at end of file
diff --git a/dev-python/unittest-or-fail/unittest-or-fail-0.ebuild b/dev-python/unittest-or-fail/unittest-or-fail-0.ebuild
new file mode 100644
index 000000000000..7f1b94b43e38
--- /dev/null
+++ b/dev-python/unittest-or-fail/unittest-or-fail-0.ebuild
@@ -0,0 +1,25 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=no
+PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 )
+inherit distutils-r1
+
+DESCRIPTION="Run unittests or fail if no tests were found"
+HOMEPAGE="https://github.com/mgorny/unittest-or-fail/"
+SRC_URI="
+ https://github.com/mgorny/unittest-or-fail/archive/v${PV}.tar.gz
+ -> ${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+# Warning: do not use distutils_enable_tests to avoid a circular
+# dependency on itself!
+python_test() {
+ "${EPYTHON}" -m unittest -v test/test_unittest_or_fail.py ||
+ die "Tests failed with ${EPYTHON}"
+}