summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2021-11-04 13:41:56 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2021-11-04 13:41:56 +0000
commit1207e3708e40e951b1a2e863af9085b5c700cf4d (patch)
treec8f6d8f2411587d5123607bc0d9532e80504d8b0 /dev-python
parentbee52d5a581bb7b977ef9be16abfb88c2de62655 (diff)
downloadbaldeagleos-repo-1207e3708e40e951b1a2e863af9085b5c700cf4d.tar.gz
baldeagleos-repo-1207e3708e40e951b1a2e863af9085b5c700cf4d.tar.xz
baldeagleos-repo-1207e3708e40e951b1a2e863af9085b5c700cf4d.zip
Adding metadata
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/dns-lexicon/Manifest1
-rw-r--r--dev-python/dns-lexicon/dns-lexicon-3.8.2.ebuild58
-rw-r--r--dev-python/easy-thumbnails/Manifest1
-rw-r--r--dev-python/easy-thumbnails/easy-thumbnails-2.8.ebuild37
-rw-r--r--dev-python/jsonschema/Manifest1
-rw-r--r--dev-python/jsonschema/jsonschema-4.2.0.ebuild53
-rw-r--r--dev-python/prompt_toolkit/Manifest1
-rw-r--r--dev-python/prompt_toolkit/prompt_toolkit-3.0.22.ebuild24
-rw-r--r--dev-python/pydecomp/files/0.3-no-pixz-index.patch55
-rw-r--r--dev-python/pydecomp/pydecomp-0.3-r2.ebuild27
-rw-r--r--dev-python/pygresql/pygresql-5.2.2.ebuild26
-rw-r--r--dev-python/svglib/Manifest1
-rw-r--r--dev-python/svglib/metadata.xml13
-rw-r--r--dev-python/svglib/svglib-1.1.0.ebuild33
-rw-r--r--dev-python/tomli/Manifest1
-rw-r--r--dev-python/tomli/tomli-1.2.2-r1.ebuild36
-rw-r--r--dev-python/transitions/Manifest1
-rw-r--r--dev-python/transitions/transitions-0.8.10.ebuild2
-rw-r--r--dev-python/transitions/transitions-0.8.9.ebuild39
-rw-r--r--dev-python/watchdog/Manifest1
-rw-r--r--dev-python/watchdog/watchdog-2.1.6.ebuild42
21 files changed, 410 insertions, 43 deletions
diff --git a/dev-python/dns-lexicon/Manifest b/dev-python/dns-lexicon/Manifest
index 945dffadb142..33c7f9b588e1 100644
--- a/dev-python/dns-lexicon/Manifest
+++ b/dev-python/dns-lexicon/Manifest
@@ -1 +1,2 @@
DIST dns-lexicon-3.8.1.tar.gz 7832379 BLAKE2B 01049b6aaff661e24a39e70b5c04d5d4b18886ba88ccd61072736be5df99b9f880ed8a43b17f4fd9ad5c95ac1ec12d43a1b31ce69b115b7007cd1a95bacccfae SHA512 6826f1c3ceed43f207e4223a1f1ed231a7ada9c930fe61f76e353a20c979ec09dcc754dedc365d01870e74dfd36a3148582a5393dfe6733309e28e495fc495f9
+DIST dns-lexicon-3.8.2.tar.gz 7831952 BLAKE2B 4d24d1083fb5fe7cd3ee55b6ad0373fdcc8fa8faeae50a7434f8989c09ab6b16287aa97e37ebdd02fd406c94f364d2e351aaf04b413e18d64ecaa17228952059 SHA512 98ad0942a4f28e57803821a6cf840d6ea21a39478fd565dfc5c2cfb6be8d55d44f52d7247772fc9f7031139aa23dafd244b3c454435446ada186f115326469bc
diff --git a/dev-python/dns-lexicon/dns-lexicon-3.8.2.ebuild b/dev-python/dns-lexicon/dns-lexicon-3.8.2.ebuild
new file mode 100644
index 000000000000..223666b993ee
--- /dev/null
+++ b/dev-python/dns-lexicon/dns-lexicon-3.8.2.ebuild
@@ -0,0 +1,58 @@
+# 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} )
+DISTUTILS_USE_SETUPTOOLS=pyproject.toml
+
+inherit distutils-r1 optfeature
+
+DESCRIPTION="Manipulate DNS records on various DNS providers in a standardized/agnostic way"
+HOMEPAGE="https://pypi.org/project/dns-lexicon/"
+SRC_URI="https://github.com/AnalogJ/lexicon/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/lexicon-${PV}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ dev-python/beautifulsoup4[${PYTHON_USEDEP}]
+ dev-python/requests[${PYTHON_USEDEP}]
+ dev-python/tldextract[${PYTHON_USEDEP}]
+ dev-python/cryptography[${PYTHON_USEDEP}]
+ dev-python/pyyaml[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/boto3[${PYTHON_USEDEP}]
+ dev-python/zeep[${PYTHON_USEDEP}]
+ dev-python/vcrpy[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+EPYTEST_IGNORE=(
+ # Requires the "localzone" module
+ lexicon/tests/providers/test_localzone.py
+ # Requires the "softlayer" module
+ lexicon/tests/providers/test_softlayer.py
+ # Requires the "transip" module
+ lexicon/tests/providers/test_transip.py
+ # Requires the "oci" module
+ lexicon/tests/providers/test_oci.py
+ # Uses tldextract which needs Internet access to download its database
+ lexicon/tests/providers/test_auto.py
+)
+
+pkg_postinst() {
+ if [[ -z ${REPLACING_VERSIONS} ]]; then
+ optfeature_header \
+ "Install the following packages to enable support for additional DNS providers:"
+ optfeature Gransy dev-python/zeep
+ optfeature Route53 dev-python/boto3
+ optfeature DDNS dev-python/dnspython
+ fi
+}
diff --git a/dev-python/easy-thumbnails/Manifest b/dev-python/easy-thumbnails/Manifest
index 1a95ad2b2863..f7fd93b33980 100644
--- a/dev-python/easy-thumbnails/Manifest
+++ b/dev-python/easy-thumbnails/Manifest
@@ -1,2 +1,3 @@
DIST easy-thumbnails-2.7.1.tar.gz 72763 BLAKE2B 6d62086840114c6a5bd23aef72a884c19825f68423039cc5a8dc630d2d68556212a236100a9c3c302be98d0868e594b545132fae6069ce26d094d5b5b1110284 SHA512 9ee9a0f1bc1fc49eba164dd226b1be3dd4a416a542e3f3ed385e0606d0a776c2217719ffda1e7d342269059f5fbfbb4cdcfd77de2e7a27fbe950628f8bb34d06
DIST easy-thumbnails-2.7.2.tar.gz 73433 BLAKE2B 54a7e540b8a70fc1656f28ef7082ffe25c027053df77c38d7298dfa71523195437b97a0a5b1aec3ec6e73994c3a6faf2a0b6a01126b7dc7a927e8491f2d63658 SHA512 562a45085526294159df5dfa08a6cc1c69b6ae44410bda50d1aad6330aaa756425fe566f447b70e62d15acef529a2fdca7bc1e92f19944e4fcf85ce98b951e84
+DIST easy-thumbnails-2.8.tar.gz 77729 BLAKE2B 6e205acc0af9f962f08eb6ec61eeae38f7a90b7b87cdec9e111b877b3fbbe051e1cf7c2b212ffdd41e79e4ffd9f205a783f1fc13010f7cf737fe640e8b974003 SHA512 69f4805b7331236ed37ade1098f0aa6ef92c6664e84e09073efc4c8d761ac548540058cc4dde7f0bab362b7b3a372bd46119a053df9838821f62641baf6c39b8
diff --git a/dev-python/easy-thumbnails/easy-thumbnails-2.8.ebuild b/dev-python/easy-thumbnails/easy-thumbnails-2.8.ebuild
new file mode 100644
index 000000000000..e5d4cd3f6411
--- /dev/null
+++ b/dev-python/easy-thumbnails/easy-thumbnails-2.8.ebuild
@@ -0,0 +1,37 @@
+# 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="Easy thumbnails for Django"
+HOMEPAGE="https://pypi.org/project/easy-thumbnails/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ >=dev-python/django-2.2[${PYTHON_USEDEP}]
+ dev-python/pillow[${PYTHON_USEDEP}]
+ dev-python/reportlab[${PYTHON_USEDEP}]
+ dev-python/svglib[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ $(python_gen_impl_dep sqlite)
+ ${RDEPEND}
+ dev-python/testfixtures[${PYTHON_USEDEP}]
+ )
+"
+
+python_test() {
+ local -x DJANGO_SETTINGS_MODULE=easy_thumbnails.tests.settings
+ local -x PYTHONPATH="${S}"
+ django-admin test -v 2 || die "Tests failed with ${EPYTHON}"
+}
diff --git a/dev-python/jsonschema/Manifest b/dev-python/jsonschema/Manifest
index dcc3340564f1..31b50ee5497a 100644
--- a/dev-python/jsonschema/Manifest
+++ b/dev-python/jsonschema/Manifest
@@ -3,3 +3,4 @@ DIST jsonschema-4.0.1.tar.gz 290999 BLAKE2B d693a33ef705a401187bdf603aacfd0336ea
DIST jsonschema-4.1.0.tar.gz 306755 BLAKE2B a98f1050943543ac51a2e0a7242a8bab909805d660a21e13909748e847493fd7c1f513beb3dac1126e57ffd23bf6702bae52902a5ac6aa7ab94b39833fc40b0c SHA512 288c28d80dc3540386db8774783bbba67455cacd81232aa41e065a9b22fed85dc1bdddb955f8438735bef0f1eb2b2947ab07c66344adb486ef77b31b345f1182
DIST jsonschema-4.1.1.tar.gz 310026 BLAKE2B c14bee88d20c53e4198e58b946c92a5c505a205daa09c30c474c2e95af45414b1c527298a2e0df647acd79ccbe9344c2aa03ee3e1b7daafda76153248e73f794 SHA512 7afa1bffd9631a503277479595cc9ed9a58ecd0f8f9035a2b65e4005f9f58ff4f6fa968b5ca783aa22c4530fc4acc5e2ea1ef2f67b7f4f09f245e9a6f2b2c3bd
DIST jsonschema-4.1.2.tar.gz 310016 BLAKE2B 16ec4f73a16980ec69e4c8e0d937726a6fcbf7ba0ba24dc9d76b5bf107b924fb3917927748e3dafacc0305322e9cb405daa83800dcfd5f2fcc63dbb8fe10a25a SHA512 5ab43602cfc2dfe07a8c733f01915b4961ee88ebb37723a7a3a6ee4793ddae4b4638abe77ac9d192158ae7634aacee0c58fa2959288ea0f83e3403d5f8b9f185
+DIST jsonschema-4.2.0.tar.gz 310667 BLAKE2B 6210d1be3c4d72a9b5677fd06754df1b7d25ca6f0e7eb54089e0783e32408baf5f233a2a75eec686dddc7d112e397769ab58b0d1ac2d6246806375ed09427122 SHA512 75837145f542e8cf112b40e5fc5ec573bec8dfc6a27e9a7a4de6fbf127d845736509f89188700d68fe585ddf75f8e8a6e1d5c569e89bd8c03b36258adf36dab8
diff --git a/dev-python/jsonschema/jsonschema-4.2.0.ebuild b/dev-python/jsonschema/jsonschema-4.2.0.ebuild
new file mode 100644
index 000000000000..2aff3bf0d6b3
--- /dev/null
+++ b/dev-python/jsonschema/jsonschema-4.2.0.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_SETUPTOOLS=pyproject.toml
+PYTHON_COMPAT=( python3_{6,7,8,9,10} )
+inherit distutils-r1
+
+DESCRIPTION="An implementation of JSON-Schema validation for Python"
+HOMEPAGE="https://pypi.org/project/jsonschema/ https://github.com/Julian/jsonschema"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+ dev-python/attrs[${PYTHON_USEDEP}]
+ >=dev-python/pyrsistent-0.18.0[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ dev-python/importlib_metadata[${PYTHON_USEDEP}]
+ ' pypy3)
+ $(python_gen_cond_dep '
+ dev-python/importlib_resources[${PYTHON_USEDEP}]
+ ' pypy3 python3_8)
+"
+
+# formatter deps
+RDEPEND+="
+ dev-python/fqdn[${PYTHON_USEDEP}]
+ dev-python/idna[${PYTHON_USEDEP}]
+ dev-python/isoduration[${PYTHON_USEDEP}]
+ >=dev-python/jsonpointer-1.13[${PYTHON_USEDEP}]
+ dev-python/rfc3339-validator[${PYTHON_USEDEP}]
+ dev-python/rfc3986-validator[${PYTHON_USEDEP}]
+ dev-python/rfc3987[${PYTHON_USEDEP}]
+ dev-python/uritemplate[${PYTHON_USEDEP}]
+ >=dev-python/webcolors-1.11[${PYTHON_USEDEP}]
+"
+
+BDEPEND="
+ test? (
+ dev-python/twisted[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+ # requires pip, does not make much sense for the users
+ jsonschema/tests/test_cli.py::TestCLIIntegration::test_license
+)
diff --git a/dev-python/prompt_toolkit/Manifest b/dev-python/prompt_toolkit/Manifest
index 35c87346aeee..02263e53bd17 100644
--- a/dev-python/prompt_toolkit/Manifest
+++ b/dev-python/prompt_toolkit/Manifest
@@ -1,3 +1,4 @@
DIST prompt_toolkit-3.0.19.tar.gz 3034818 BLAKE2B d1f0741931d4711952cfaabd992e64aa3fd252627c50f2a0ad8ad1aef5882bd4ae054c0d281b141595488fda6328c102f900445a42bc32cf018d37663deb2cb5 SHA512 0f3f7c5a2d12e03e06e900a4239f86f27d959fa7337d072dae8c79bbcd2ffd4c1026d1531210e34a4f4669d483b20b9d2f49c7625d0d7aa1fcb1e3f9f3894349
DIST prompt_toolkit-3.0.20.tar.gz 3037349 BLAKE2B 52773f9c277d1a16adca007c19d087e46a0dd4ec154076525ea7bb59523762513bb137534bc18f17aa249fdc7ad07327e400b3bb730b32a614929f0a48d9cdfb SHA512 3f2a0edb4c7756cdcfd0ddf19f6016910aaa5de3ca8ee0dac11bd0fdece301b4d562681294b7cf9e6d5eb20937106f771ffaf312961cda4477ce534cce8d8db4
DIST prompt_toolkit-3.0.21.tar.gz 3041438 BLAKE2B 67ce3749404135a16e8b3d032e088e93aa12c851142b74e3ddddcf66713aa1fbce17231935bb22f7e0fda3f86af3da7dfefea612dd0fde7f1da407e2a72cf26d SHA512 46e43329e35b3eadb39c7f83501577cc776a2899005f9a7c299ee9e31eb6fba5e3bf8da33e0092fb1c20367f01518a3079fc4ca92ddbad0e3dfcbcfb1fd3be03
+DIST prompt_toolkit-3.0.22.tar.gz 3041540 BLAKE2B 30afe5e4d4267d6264bfe7fbc179d311d13490971dd461ad6a4461640611fa1f7d55f2ed0b3c3ba534e3b52f9456ca69d2f6f14baba511aa7806866cf40edc57 SHA512 859f5df00792fa9332c9dc6a7b12e01048aa6b2cd88c35fe5e3521defee69ef9122e4f7f415711538b22171e2519ce846062270f319f12ac4390406036d715fb
diff --git a/dev-python/prompt_toolkit/prompt_toolkit-3.0.22.ebuild b/dev-python/prompt_toolkit/prompt_toolkit-3.0.22.ebuild
new file mode 100644
index 000000000000..400ac4865b9c
--- /dev/null
+++ b/dev-python/prompt_toolkit/prompt_toolkit-3.0.22.ebuild
@@ -0,0 +1,24 @@
+# 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="Building powerful interactive command lines in Python"
+HOMEPAGE="
+ https://pypi.org/project/prompt-toolkit/
+ https://github.com/prompt-toolkit/python-prompt-toolkit"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+IUSE=""
+
+RDEPEND="
+ >=dev-python/six-1.9.0[${PYTHON_USEDEP}]
+ dev-python/wcwidth[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
diff --git a/dev-python/pydecomp/files/0.3-no-pixz-index.patch b/dev-python/pydecomp/files/0.3-no-pixz-index.patch
new file mode 100644
index 000000000000..0683cb12bae9
--- /dev/null
+++ b/dev-python/pydecomp/files/0.3-no-pixz-index.patch
@@ -0,0 +1,55 @@
+From 79688adff9d494e6ff412210c813d19744dbb8cd Mon Sep 17 00:00:00 2001
+From: Daniel Cordero <pydecomp@0xdc.io>
+Date: Mon, 3 May 2021 12:07:46 +0000
+Subject: [PATCH 1/2] pixz_i: copy definition from pixz
+
+---
+ DeComp/definitions.py | 8 ++++++++
+ 1 file changed, 8 insertions(+)
+
+diff --git a/DeComp/definitions.py b/DeComp/definitions.py
+index 16114b2..14fa226 100644
+--- a/DeComp/definitions.py
++++ b/DeComp/definitions.py
+@@ -200,6 +200,14 @@ class functions do.
+ ],
+ "PIXZ", ["tar.xz", "tpxz", "xz"], {"tar", "pixz"},
+ ],
++ "pixz_i": [
++ "_common", "tar",
++ [
++ "other_options", "%(comp_prog)s", "pixz", "-cpf",
++ "%(filename)s", "-C", "%(basedir)s", "%(source)s"
++ ],
++ "PIXZ", ["tar.xz", "tpxz", "xz"], {"tar", "pixz"},
++ ],
+ "pixz_x": [
+ "_common", "tar",
+ [
+
+From f98d90a522b6d0e5331f7254bb95b057fafe44da Mon Sep 17 00:00:00 2001
+From: Daniel Cordero <pydecomp@0xdc.io>
+Date: Mon, 3 May 2021 12:12:51 +0000
+Subject: [PATCH 2/2] pixz: don't add trailing index to tarballs
+
+If pixz detects the input file is a tarball, it adds a trailing file index to help in seeking the file.
+However, this trailing index is causes decompression errors with xz -d and systemd-importd.
+
+For compatibility with these tools, force pixz to never add this tarball index.
+---
+ DeComp/definitions.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/DeComp/definitions.py b/DeComp/definitions.py
+index 14fa226..0025c07 100644
+--- a/DeComp/definitions.py
++++ b/DeComp/definitions.py
+@@ -195,7 +195,7 @@ class functions do.
+ "pixz": [
+ "_common", "tar",
+ [
+- "other_options", "%(comp_prog)s", "pixz", "-cpf",
++ "other_options", "%(comp_prog)s", "'pixz -t'", "-cpf",
+ "%(filename)s", "-C", "%(basedir)s", "%(source)s"
+ ],
+ "PIXZ", ["tar.xz", "tpxz", "xz"], {"tar", "pixz"},
diff --git a/dev-python/pydecomp/pydecomp-0.3-r2.ebuild b/dev-python/pydecomp/pydecomp-0.3-r2.ebuild
new file mode 100644
index 000000000000..2c860fb54a6c
--- /dev/null
+++ b/dev-python/pydecomp/pydecomp-0.3-r2.ebuild
@@ -0,0 +1,27 @@
+# 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} )
+DISTUTILS_USE_SETUPTOOLS=no
+
+inherit distutils-r1
+
+if [[ ${PV} == "9999" ]] ; then
+ EGIT_BRANCH="master"
+ EGIT_REPO_URI="https://github.com/dol-sen/pyDeComp.git"
+ inherit git-r3
+else
+ SRC_URI="https://dev.gentoo.org/~dolsen/releases/${PN}/pyDeComp-${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+ S="${WORKDIR}/pyDeComp-${PV}"
+fi
+
+DESCRIPTION="A python library of common (de)compression and contents handling"
+HOMEPAGE="https://github.com/dol-sen/pyDeComp"
+
+LICENSE="BSD"
+SLOT="0"
+
+PATCHES=( "${FILESDIR}/${PV}-no-pixz-index.patch" )
diff --git a/dev-python/pygresql/pygresql-5.2.2.ebuild b/dev-python/pygresql/pygresql-5.2.2.ebuild
index e5735dff634e..97e99f83bc11 100644
--- a/dev-python/pygresql/pygresql-5.2.2.ebuild
+++ b/dev-python/pygresql/pygresql-5.2.2.ebuild
@@ -13,6 +13,7 @@ MY_P="PyGreSQL-${PV}"
DESCRIPTION="A Python interface for the PostgreSQL database"
HOMEPAGE="https://pygresql.org/"
SRC_URI="mirror://pypi/P/PyGreSQL/${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
LICENSE="POSTGRESQL"
SLOT="0"
@@ -21,8 +22,29 @@ KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ~sparc x86"
DEPEND="${POSTGRES_DEP}"
RDEPEND="${DEPEND}"
-S="${WORKDIR}/${MY_P}"
-PATCHES=( "${FILESDIR}"/${PN}-5.2-CFLAGS.patch )
+PATCHES=(
+ "${FILESDIR}"/${PN}-5.2-CFLAGS.patch
+)
+
+distutils_enable_tests unittest
+
+src_test() {
+ local db="${T}/pgsql"
+ initdb --username=portage -D "${db}" || die
+ pg_ctl -w -D "${db}" start \
+ -o "-h '127.0.0.1' -p 5432 -k '${T}'" || die
+ psql -h "${T}" -U portage -d postgres \
+ -c "ALTER ROLE portage WITH PASSWORD 'postgres';" || die
+ createdb -h "${T}" -U portage unittest || die
+
+ cat > tests/LOCAL_PyGreSQL.py <<-EOF || die
+ dbhost = '${T}'
+ EOF
+
+ distutils-r1_src_test
+
+ pg_ctl -w -D "${db}" stop || die
+}
python_install_all() {
local DOCS=( docs/*.rst docs/community/* docs/contents/tutorial.rst )
diff --git a/dev-python/svglib/Manifest b/dev-python/svglib/Manifest
new file mode 100644
index 000000000000..dc36967f9a98
--- /dev/null
+++ b/dev-python/svglib/Manifest
@@ -0,0 +1 @@
+DIST svglib-1.1.0.gh.tar.gz 2403896 BLAKE2B f3f45c526897cb64c44ab3dfb314d61faf190d482e0ce7c255ca51a45c2944393ac7ed0f83c9721648885ae7e477b87bf40040a01641c54ca31dcf85f97bf0fd SHA512 cc4eed96f021e9399e1a25bc477bdc91c037393b492ecd1eabb31c1163c8374499bc50b63ca60b038c61c7a799f4131183464f6799077875dd73a4e97a1246cf
diff --git a/dev-python/svglib/metadata.xml b/dev-python/svglib/metadata.xml
new file mode 100644
index 000000000000..640eda37199d
--- /dev/null
+++ b/dev-python/svglib/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="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="pypi">svglib</remote-id>
+ </upstream>
+ <origin>gentoo-staging</origin>
+ <stabilize-allarches/>
+</pkgmetadata> \ No newline at end of file
diff --git a/dev-python/svglib/svglib-1.1.0.ebuild b/dev-python/svglib/svglib-1.1.0.ebuild
new file mode 100644
index 000000000000..23d785f08dad
--- /dev/null
+++ b/dev-python/svglib/svglib-1.1.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 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="Pure-Python library for reading and converting SVG"
+HOMEPAGE="https://pypi.org/project/svglib/ https://github.com/deeplook/svglib"
+SRC_URI="
+ https://github.com/deeplook/svglib/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ dev-python/cssselect2[${PYTHON_USEDEP}]
+ dev-python/lxml[${PYTHON_USEDEP}]
+ dev-python/reportlab[${PYTHON_USEDEP}]
+ dev-python/tinycss2[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+ # Needs network access
+ tests/test_samples.py::TestWikipediaFlags::test_convert_pdf
+ tests/test_samples.py::TestW3CSVG::test_convert_pdf_png
+)
diff --git a/dev-python/tomli/Manifest b/dev-python/tomli/Manifest
index cfc848795383..785588630253 100644
--- a/dev-python/tomli/Manifest
+++ b/dev-python/tomli/Manifest
@@ -1,2 +1,3 @@
DIST tomli-1.2.1.gh.tar.gz 122701 BLAKE2B d0280bb81a6e931a175c6ef2c58b4f36b1237f99a73331cbb95f98b9e68a98a4c6a635aa12751ac46492c2b1a06a821f1ae70cd0c36f268998488e824f3e577c SHA512 34f9529b137331b0ae03ac99170b3f6509847356594be14166bae306ea4fbbddff808ffe0c48d05434f72d223a2f35b511675217053029d287725b7142fbd089
+DIST tomli-1.2.2-py3-none-any.whl.zip 12118 BLAKE2B ae1dbc14e3c7c79240a327f3fb622c16aeba561274aedc93957549d838fcb2b6ed5889f8c28344a4cc9dbb52eacd6b9dc53aeff8f08642a8abeed2dd67c989a1 SHA512 fb9452663a46760ea442f2f06ad2f60b094368680dae315c2386457041f3ac5399c196ceec0524d432442ec72158c2d95bfa5d0cc288163b4eb1d6a07a62ae36
DIST tomli-1.2.2.gh.tar.gz 123150 BLAKE2B b07527a2a83615030037867c6011440a3814cbe265e8a760cca08e324954dbf7d1a393bc900559ddfc1bcbe1911f758948051823d9ef830ee05abb2539374dff SHA512 460ad8ae9a342d82ef12911c0d0e246c1434a5d40d898e91f6c05bf37b7bf9921da05e004c36907d623a797a7a215c1c3faf3f9a2b940f3867b142847a188605
diff --git a/dev-python/tomli/tomli-1.2.2-r1.ebuild b/dev-python/tomli/tomli-1.2.2-r1.ebuild
new file mode 100644
index 000000000000..8919f1106db6
--- /dev/null
+++ b/dev-python/tomli/tomli-1.2.2-r1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# please keep this ebuild at EAPI 7 -- sys-apps/portage dep
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=manual
+PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 )
+inherit distutils-r1
+
+DESCRIPTION="A lil' TOML parser"
+HOMEPAGE="
+ https://pypi.org/project/tomli/
+ https://github.com/hukkin/tomli/"
+SRC_URI="
+ https://github.com/hukkin/tomli/archive/${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+ https://files.pythonhosted.org/packages/py3/${PN::1}/${PN}/${P}-py3-none-any.whl
+ -> ${P}-py3-none-any.whl.zip"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos"
+
+BDEPEND="
+ app-arch/unzip
+ test? ( dev-python/python-dateutil[${PYTHON_USEDEP}] )"
+
+distutils_enable_tests pytest
+
+# do not use any build system to avoid circular deps
+python_compile() { :; }
+
+python_install() {
+ python_domodule tomli "${WORKDIR}"/*.dist-info
+}
diff --git a/dev-python/transitions/Manifest b/dev-python/transitions/Manifest
index 79f0df6d6a00..d1aef386cd07 100644
--- a/dev-python/transitions/Manifest
+++ b/dev-python/transitions/Manifest
@@ -1,2 +1 @@
DIST transitions-0.8.10.tar.gz 1103547 BLAKE2B caeeb97406d1d2ba926f5ff14c4961acb7c2b9b979a1a20614e1017e4b20a664b069f384cfe878df95dffe832f00cfeb4c0ce96efe2156cc858e14eba5746137 SHA512 a598d65431a2d0241b5ea4c806631edf2e1f06537224e8716d531e86bcb10817d1cf32a62672147d1c1b398fd755a9ef046d884dcd0b4de6a9f8c1bfd04af62a
-DIST transitions-0.8.9.tar.gz 1103063 BLAKE2B 2f640ee9882817e1e8fbadcbdc726eff7bfd67f9aafd8afd5aecf2b7ee88e8fe7ae57345515235b74787a9ccff2f19062c90b9a5a70d0bf58dec4b9838ad0e0b SHA512 139a84658d422468fcd0c3ed501b608edeef12c15f2b6969eabb75f02d146c9f4a6857ebb0fc333cb9b51a985666cfd4879ccc89d9fb25e0f1f756c92094c941
diff --git a/dev-python/transitions/transitions-0.8.10.ebuild b/dev-python/transitions/transitions-0.8.10.ebuild
index 06a1646deaff..f1e097910e6f 100644
--- a/dev-python/transitions/transitions-0.8.10.ebuild
+++ b/dev-python/transitions/transitions-0.8.10.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/pytransitions/${PN}/archive/${PV}.tar.gz -> ${P}.tar
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
IUSE="examples"
RDEPEND="
diff --git a/dev-python/transitions/transitions-0.8.9.ebuild b/dev-python/transitions/transitions-0.8.9.ebuild
deleted file mode 100644
index f1e097910e6f..000000000000
--- a/dev-python/transitions/transitions-0.8.9.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# 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="A lightweight, object-oriented state machine implementation in Python"
-HOMEPAGE="https://github.com/pytransitions/transitions"
-SRC_URI="https://github.com/pytransitions/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="examples"
-
-RDEPEND="
- || (
- dev-python/pygraphviz[${PYTHON_USEDEP}]
- dev-python/graphviz[${PYTHON_USEDEP}]
- )
- dev-python/six[${PYTHON_USEDEP}]
-"
-
-BDEPEND="
- test? (
- dev-python/dill[${PYTHON_USEDEP}]
- dev-python/mock[${PYTHON_USEDEP}]
- dev-python/pycodestyle[${PYTHON_USEDEP}]
- )
-"
-
-distutils_enable_tests pytest
-
-src_install() {
- distutils-r1_src_install
- use examples && dodoc examples/*.ipynb
-}
diff --git a/dev-python/watchdog/Manifest b/dev-python/watchdog/Manifest
index 4c1bf4c67938..9fa4d035eebf 100644
--- a/dev-python/watchdog/Manifest
+++ b/dev-python/watchdog/Manifest
@@ -1,2 +1,3 @@
DIST watchdog-1.0.2.tar.gz 91796 BLAKE2B 001cbe82ff8aff0c4e56e4d1f02519047580cccb48466566ad7c9c1f462f90a9a036cf90846eb38ec4fb24ff1df2a1ddfec20b3f0587afdc1f938ada1bb0b1ef SHA512 e87a0955ce822daabd7d030804876698f98ed2aad58486e26a94585763655302063f091b653abd385ea99642361b6253d8e051d96019b243a77b078ba86b0d6e
DIST watchdog-2.1.5.tar.gz 98791 BLAKE2B b7663e5aa8918321d570c842abf7c70647712d2045f3cc06ccdff86e305fecc5b95c93048aae9f0a7b2629c2c4f10911ef21077a570b9fb0c3eb03e9597f555f SHA512 850feaf4f5d61b8c8f1521464853df65b72af80c86c63fa87769d17f2bc464112daf3e09a8d83e30474d398315ce854e5a45703c5eabad8b0f5f98f6840d2590
+DIST watchdog-2.1.6.tar.gz 99756 BLAKE2B 5ea08660c28f77be02b261a22e6fbfdfaaa59f79af1eecb396fda2e56ab4b5b290dc2c791b31a6841ac6d96c7974d51e846ce0232e9de6728f6031685685e761 SHA512 810ee2c40d92102815685c6e06bee403dfb85df7c8de5f1b7066b27cef2a8e25f506f8d9cc0ff0ec3213b889a7844138692fd9d1ab0c40d0aa2097c55e85f531
diff --git a/dev-python/watchdog/watchdog-2.1.6.ebuild b/dev-python/watchdog/watchdog-2.1.6.ebuild
new file mode 100644
index 000000000000..e90326a68215
--- /dev/null
+++ b/dev-python/watchdog/watchdog-2.1.6.ebuild
@@ -0,0 +1,42 @@
+# 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} pypy3 )
+inherit distutils-r1 optfeature
+
+DESCRIPTION="Python API and shell utilities to monitor file system events"
+HOMEPAGE="https://github.com/gorakhargosh/watchdog"
+SRC_URI="https://github.com/gorakhargosh/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ test? (
+ >=dev-python/pytest-timeout-0.3[${PYTHON_USEDEP}]
+ )"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+ sed -i -e '/--cov/d' setup.cfg || die
+ default
+}
+
+python_test() {
+ local deselect=()
+
+ [[ ${EPYTHON} == pypy3 ]] && deselect+=(
+ tests/test_inotify_buffer.py::test_move_internal_batch
+ )
+
+ epytest -p no:django ${deselect[@]/#/--deselect }
+}
+
+pkg_postinst() {
+ optfeature "Bash completion" dev-python/argcomplete
+}