From f687d2f056dbf9bb9ba5056d398a43aed4c669e5 Mon Sep 17 00:00:00 2001 From: rick Date: Sat, 7 Jun 2025 11:08:00 +0200 Subject: [PATCH 1/7] ipparser: update to 1.0.2, drop 0.3.5 clean ebuild, remove tests (none) --- dev-python/ipparser/Manifest | 2 +- .../{ipparser-0.3.5.ebuild => ipparser-1.0.2.ebuild} | 11 ++++------- dev-python/ipparser/metadata.xml | 4 ++++ 3 files changed, 9 insertions(+), 8 deletions(-) rename dev-python/ipparser/{ipparser-0.3.5.ebuild => ipparser-1.0.2.ebuild} (56%) diff --git a/dev-python/ipparser/Manifest b/dev-python/ipparser/Manifest index f5aeb600d..380ef2239 100644 --- a/dev-python/ipparser/Manifest +++ b/dev-python/ipparser/Manifest @@ -1 +1 @@ -DIST ipparser-0.3.5.tar.gz 4141 BLAKE2B 5f5fdebdbc668d702df0b11ccb69fd0f1aacf5a2a898399fd1cafe76cfd0aebf06089ffe8a9dbc54e8bb0bf78a9012c1d87d06ee8eae9f4b9ac2fa1c7f6ab567 SHA512 83e28daff05e52e175358357d105e3d4b209451e63c65443e3859885ad763c8310c7b3c4dbf89249e5e6779b9cbbd1fb3f0825b30685a2c18d8ead764d672b2b +DIST ipparser-1.0.2.tar.gz 5439 BLAKE2B 77c2fff21f4a697c90d4cc55e283faf033d2be44417c66b64c88a0dba718a6528b87f822199c7a3195d2adc56aab58eb660f711c0379229a2c229af7bc3bf61a SHA512 623833c0475df218a00ce94f016353fe580a1ddeeed98f114160a02171600d4adc43a118c6881b7932b16869bdbb5c58dd0081efcd15de96799baf956e2cbfab diff --git a/dev-python/ipparser/ipparser-0.3.5.ebuild b/dev-python/ipparser/ipparser-1.0.2.ebuild similarity index 56% rename from dev-python/ipparser/ipparser-0.3.5.ebuild rename to dev-python/ipparser/ipparser-1.0.2.ebuild index 4464769ad..d25a55500 100644 --- a/dev-python/ipparser/ipparser-0.3.5.ebuild +++ b/dev-python/ipparser/ipparser-1.0.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -6,18 +6,15 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{11..13} ) -inherit distutils-r1 +inherit distutils-r1 pypi DESCRIPTION="Parse IP address information" HOMEPAGE="https://github.com/m8r0wn/ipparser" -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="test" RDEPEND=" - dev-python/dnspython[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}]" + dev-python/dnspython[${PYTHON_USEDEP}] +" diff --git a/dev-python/ipparser/metadata.xml b/dev-python/ipparser/metadata.xml index ace7c2d3a..ae638e8e1 100644 --- a/dev-python/ipparser/metadata.xml +++ b/dev-python/ipparser/metadata.xml @@ -5,4 +5,8 @@ unknown@pentoo.ch Author Unknown + + m8r0wn/ipparser + ipparser + From b22e210842eddc4e19bf4c5aae4ed08d7ef2bdf7 Mon Sep 17 00:00:00 2001 From: rick Date: Sat, 7 Jun 2025 12:06:30 +0200 Subject: [PATCH 2/7] pypcapfile: use commit for the last version, add doc and test the last version contains old dependencies. Even if no new version has been published since, the package has been maintened, and these problems have been fixed. --- dev-python/pypcapfile/Manifest | 2 +- dev-python/pypcapfile/metadata.xml | 4 +++ .../pypcapfile/pypcapfile-0.12.0.ebuild | 22 ------------- .../pypcapfile-0.12.1_p20240530.ebuild | 33 +++++++++++++++++++ 4 files changed, 38 insertions(+), 23 deletions(-) delete mode 100644 dev-python/pypcapfile/pypcapfile-0.12.0.ebuild create mode 100644 dev-python/pypcapfile/pypcapfile-0.12.1_p20240530.ebuild diff --git a/dev-python/pypcapfile/Manifest b/dev-python/pypcapfile/Manifest index 7c934e8ee..cfa6c6256 100644 --- a/dev-python/pypcapfile/Manifest +++ b/dev-python/pypcapfile/Manifest @@ -1 +1 @@ -DIST pypcapfile-0.12.0.tar.gz 17205 BLAKE2B 142870bd31386132582aff6e69ad16ae03ea4d647e3298a395123ca78d355835e28219700fa4a3d88d542b3833adc906fb1d4e1c905c8c9d3a06d520152be275 SHA512 6c2c238f2732b4d5bc5f2b4c7b9e66359d964b94ead437c790256f9bef4e27ed10abaa3e4f17cd1bec22ce0d56cab6e2a63b784a49087943911f1dccd63c1127 +DIST pypcapfile-0.12.1_p20240530.gh.tar.gz 46021 BLAKE2B f26993591ebc4e0ab6c7709317936b9404510da0cae07cbbbd04f53d2edf2747f43ad29cbb050d3379225310317a84b9b33e668bf1868800e9994386accfd8cd SHA512 c4e545b8484df614a1d372b1bdd8da51a69427dbb2a631515a942e5fada873b28083ee0ff05d541562e4c4e5e21d1013ab193e2d8e31f1ab3b720f4932b13f64 diff --git a/dev-python/pypcapfile/metadata.xml b/dev-python/pypcapfile/metadata.xml index ace7c2d3a..8e333e6b9 100644 --- a/dev-python/pypcapfile/metadata.xml +++ b/dev-python/pypcapfile/metadata.xml @@ -5,4 +5,8 @@ unknown@pentoo.ch Author Unknown + + kisom/pypcapfile + pypcapfile + diff --git a/dev-python/pypcapfile/pypcapfile-0.12.0.ebuild b/dev-python/pypcapfile/pypcapfile-0.12.0.ebuild deleted file mode 100644 index 22a37766a..000000000 --- a/dev-python/pypcapfile/pypcapfile-0.12.0.ebuild +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{11..13} ) - -inherit distutils-r1 - -DESCRIPTION="Pure Python package for reading and parsing libpcap savefiles" -HOMEPAGE="https://github.com/kisom/pypcapfile" -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" - -LICENSE="ISC" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="test" - -RDEPEND="" -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}]" diff --git a/dev-python/pypcapfile/pypcapfile-0.12.1_p20240530.ebuild b/dev-python/pypcapfile/pypcapfile-0.12.1_p20240530.ebuild new file mode 100644 index 000000000..9fd27936b --- /dev/null +++ b/dev-python/pypcapfile/pypcapfile-0.12.1_p20240530.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..13} ) +LAST_COMMIT="0aeb29ed29cb4dd7318ab2f1bfdd98c5b8236a6f" + +inherit distutils-r1 + +DESCRIPTION="Pure Python package for reading and parsing libpcap savefiles" +HOMEPAGE="https://github.com/kisom/pypcapfile" +SRC_URI="https://github.com/kisom/${PN}/archive/${LAST_COMMIT}.tar.gz -> ${P}.gh.tar.gz" + +S="${WORKDIR}/${PN}-${LAST_COMMIT}" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +distutils_enable_sphinx "doc/source" + +src_prepare() { + sed -i -e "/data_files/,+2d" "setup.py" + eapply_user +} + +python_test() { + "${EPYTHON}" pcapfile/test/ || die "Tests have failed with ${EPYTHON}" +} From b158abc3763711e6a0146879abf4116a1cb639a5 Mon Sep 17 00:00:00 2001 From: rick Date: Mon, 9 Jun 2025 02:07:34 +0200 Subject: [PATCH 3/7] python-crontab: update to 3.2.0, add test and dependencies add metadata fix pkgcheck scan remove 9999 version --- dev-python/python-crontab/Manifest | 2 +- dev-python/python-crontab/metadata.xml | 3 +++ .../python-crontab-20191023.ebuild | 26 ------------------- .../python-crontab-3.2.0.ebuild | 26 +++++++++++++++++++ 4 files changed, 30 insertions(+), 27 deletions(-) delete mode 100644 dev-python/python-crontab/python-crontab-20191023.ebuild create mode 100644 dev-python/python-crontab/python-crontab-3.2.0.ebuild diff --git a/dev-python/python-crontab/Manifest b/dev-python/python-crontab/Manifest index 5cef51a23..c40473bc1 100644 --- a/dev-python/python-crontab/Manifest +++ b/dev-python/python-crontab/Manifest @@ -1 +1 @@ -DIST python-crontab-20191023.tar.bz2 39197 BLAKE2B cf354714c2ee20f69c1d336e21555b6924f5d5501f81c6a7ce4d86faa03b0ee32bf8b033a7dedbe9b759a2eb590586315c1804e1222fb5a09ebb6c4162ae597a SHA512 8df8e2c0671b9ca2daf98ed09624242d10760e62e8cd5c7991c4a1730c129c4fa19bee14a3cf7cc1a3fe2cf53b435ad9da31f4db0f1320ee3a57a26b4399d6ab +DIST python-crontab-3.2.0.tar.bz2 42724 BLAKE2B 89ecc378063817d18d2edfb8e74f2d6ab0669755374f1378c2034e7918794936953c313099e066134e06ddc56a196c81d5e446046df1d1a13d4694745847ed49 SHA512 078e1e2f98d48d81e109093e3c0a5303bbf5c4c88e423c5fefc88c2551d876c6dac5a1b274309b425b77df102d0cfb59d27cb7abd4ad2520839b9f10e93ef6b6 diff --git a/dev-python/python-crontab/metadata.xml b/dev-python/python-crontab/metadata.xml index ace7c2d3a..56d280c37 100644 --- a/dev-python/python-crontab/metadata.xml +++ b/dev-python/python-crontab/metadata.xml @@ -5,4 +5,7 @@ unknown@pentoo.ch Author Unknown + + doctormo/python-crontab + diff --git a/dev-python/python-crontab/python-crontab-20191023.ebuild b/dev-python/python-crontab/python-crontab-20191023.ebuild deleted file mode 100644 index d2ccf1b57..000000000 --- a/dev-python/python-crontab/python-crontab-20191023.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{11..13} ) - -inherit distutils-r1 - -DESCRIPTION="Crontab module for accessing system crontabs" -HOMEPAGE="https://gitlab.com/doctormo/python-crontab" - -if [[ ${PV} = *9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://gitlab.com/doctormo/python-crontab.git" -else - HASH_COMMIT="ba23056ddf1a00ecfd14b0a31c2e0cdad132f8d0" - SRC_URI="https://gitlab.com/doctormo/python-crontab/repository/${HASH_COMMIT}/archive.tar.bz2 -> ${P}.tar.bz2" - KEYWORDS="~amd64" -fi - -LICENSE="MIT" -SLOT="0" - -S="${WORKDIR}/${PN}-${HASH_COMMIT}-${HASH_COMMIT}" diff --git a/dev-python/python-crontab/python-crontab-3.2.0.ebuild b/dev-python/python-crontab/python-crontab-3.2.0.ebuild new file mode 100644 index 000000000..2247c3a98 --- /dev/null +++ b/dev-python/python-crontab/python-crontab-3.2.0.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..13} ) + +inherit distutils-r1 + +DESCRIPTION="Crontab module for accessing system crontabs" +HOMEPAGE="https://gitlab.com/doctormo/python-crontab" +SRC_URI="https://gitlab.com/doctormo/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.bz2 -> ${P}.tar.bz2" + +S="${WORKDIR}/${PN}-v${PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/croniter[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest From cedffef987e682e2b6a3da40c12afdce73c3271f Mon Sep 17 00:00:00 2001 From: rick Date: Mon, 9 Jun 2025 18:55:15 +0200 Subject: [PATCH 4/7] python-whois: update to 0.9.5, add test, fix github link --- dev-python/python-whois/Manifest | 2 +- dev-python/python-whois/metadata.xml | 2 +- ...whois-0.9.4.ebuild => python-whois-0.9.5.ebuild} | 13 +++++++------ 3 files changed, 9 insertions(+), 8 deletions(-) rename dev-python/python-whois/{python-whois-0.9.4.ebuild => python-whois-0.9.5.ebuild} (57%) diff --git a/dev-python/python-whois/Manifest b/dev-python/python-whois/Manifest index 90421e490..a8179de50 100644 --- a/dev-python/python-whois/Manifest +++ b/dev-python/python-whois/Manifest @@ -1 +1 @@ -DIST python_whois-0.9.4.tar.gz 110584 BLAKE2B 90a58e2d459329992a460f0fa7a8e4d8946787a0fcd598e7387672048c8af48c7a1ab9a003edf2b25d0566448dce727a36977edc425573091592130771d82aee SHA512 a96a68e6ab8f1de181fd401895e6c46cdce8185a0b1815df5fb96ac0f68e12d04d7050aecc64a63b114e6b836a6adc824ee2f5c645da48c26e06af1bdea0e97b +DIST python_whois-0.9.5.tar.gz 111201 BLAKE2B cd2a50694e80723bf563e746262cf949c5fe88bc5ec6374aedda737c151b7673376a9babfcc783d7155f936640ec17928780bf8ecaed7a9105a18d7047c318a7 SHA512 aff3f2990f2f06559ae85037e6c44ab0ad22fbdb34cee78ce836804f94ecd10dc562bdba9cf531ee47db4b6909d510550ea928de04d9d6166af88f7dc6f27f1f diff --git a/dev-python/python-whois/metadata.xml b/dev-python/python-whois/metadata.xml index 315a948d1..560489851 100644 --- a/dev-python/python-whois/metadata.xml +++ b/dev-python/python-whois/metadata.xml @@ -6,7 +6,7 @@ Yury Martynov - richardpenman/pywhois + richardpenman/whois python-whois diff --git a/dev-python/python-whois/python-whois-0.9.4.ebuild b/dev-python/python-whois/python-whois-0.9.5.ebuild similarity index 57% rename from dev-python/python-whois/python-whois-0.9.4.ebuild rename to dev-python/python-whois/python-whois-0.9.5.ebuild index d0729a275..53de59c54 100644 --- a/dev-python/python-whois/python-whois-0.9.4.ebuild +++ b/dev-python/python-whois/python-whois-0.9.5.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -9,14 +9,15 @@ PYTHON_COMPAT=( python3_{11..13} ) inherit distutils-r1 pypi DESCRIPTION="Whois querying and parsing of domain registration information" -HOMEPAGE="https://github.com/richardpenman/pywhois" +HOMEPAGE="https://github.com/richardpenman/whois" LICENSE="MIT" SLOT="0" KEYWORDS="amd64 ~arm64 x86" -RESTRICT="test" +RDEPEND=" + dev-python/python-dateutil[${PYTHON_USEDEP}] +" +BDEPEND="${RDEPEND}" -RDEPEND="dev-python/python-dateutil[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND}" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" +distutils_enable_tests pytest From 6cd969b5dd0126ce20a0194a6bde02225d868286 Mon Sep 17 00:00:00 2001 From: rick Date: Thu, 5 Jun 2025 14:25:12 +0200 Subject: [PATCH 5/7] flask-jwt: drop, unmaintained --- dev-python/flask-jwt/Manifest | 1 - dev-python/flask-jwt/flask-jwt-0.3.2.ebuild | 20 -------------------- dev-python/flask-jwt/metadata.xml | 8 -------- 3 files changed, 29 deletions(-) delete mode 100644 dev-python/flask-jwt/Manifest delete mode 100644 dev-python/flask-jwt/flask-jwt-0.3.2.ebuild delete mode 100644 dev-python/flask-jwt/metadata.xml diff --git a/dev-python/flask-jwt/Manifest b/dev-python/flask-jwt/Manifest deleted file mode 100644 index 3565f9906..000000000 --- a/dev-python/flask-jwt/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST flask-jwt-0.3.2.tar.gz 40002 BLAKE2B 41ae8ffa43b38b208d5e01cd62a04eedbd33dc4b1c08c3fbe24447f29fc41ddf8adadc518718a453c271ea8d9e313dbbebebcdc2b9890a9c9bd65916b8a78291 SHA512 7c115ff4964da9a36303ac502dea98cd847abc3c1d45cd0be09b82ec761ee054d7ef97e25fd669112ab29dbfca00b4563914155ab1c8da4fc3d32f0063128b26 diff --git a/dev-python/flask-jwt/flask-jwt-0.3.2.ebuild b/dev-python/flask-jwt/flask-jwt-0.3.2.ebuild deleted file mode 100644 index 1e6a0f5e2..000000000 --- a/dev-python/flask-jwt/flask-jwt-0.3.2.ebuild +++ /dev/null @@ -1,20 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{11..13} ) - -inherit distutils-r1 - -DESCRIPTION="JWT (JSON Web Tokens) for Flask applications" -HOMEPAGE="https://github.com/mattupstate/flask-jwt" -SRC_URI="https://github.com/mattupstate/flask-jwt/archive/${PV}.tar.gz -> ${P}.tar.gz" -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND="dev-python/flask[${PYTHON_USEDEP}] - dev-python/pyjwt[${PYTHON_USEDEP}]" diff --git a/dev-python/flask-jwt/metadata.xml b/dev-python/flask-jwt/metadata.xml deleted file mode 100644 index c4511c144..000000000 --- a/dev-python/flask-jwt/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - email@linxon.ru - Yury Martynov - - From 2051e43c2702ffb3696e2792c54166d1ebd0dec3 Mon Sep 17 00:00:00 2001 From: rick Date: Thu, 5 Jun 2025 19:24:34 +0200 Subject: [PATCH 6/7] flask-jwt-extended: update to 4.7.1, add test examples and doc --- dev-python/flask-jwt-extended/Manifest | 2 +- .../flask-jwt-extended-3.24.1.ebuild | 26 ----------- .../flask-jwt-extended-4.7.1.ebuild | 45 +++++++++++++++++++ dev-python/flask-jwt-extended/metadata.xml | 12 +++-- 4 files changed, 54 insertions(+), 31 deletions(-) delete mode 100644 dev-python/flask-jwt-extended/flask-jwt-extended-3.24.1.ebuild create mode 100644 dev-python/flask-jwt-extended/flask-jwt-extended-4.7.1.ebuild diff --git a/dev-python/flask-jwt-extended/Manifest b/dev-python/flask-jwt-extended/Manifest index af099f430..1cbd36241 100644 --- a/dev-python/flask-jwt-extended/Manifest +++ b/dev-python/flask-jwt-extended/Manifest @@ -1 +1 @@ -DIST flask-jwt-extended-3.24.1.tar.gz 59311 BLAKE2B bfb041b76f00c012c79ead0c7387bdbf2ce9a6d2a30af7b56237fc7f78f5b2057aac8b2930b83de41ea81867ff20c1572f8e9a25f933ea985a33d25a12755cb8 SHA512 f00299f3163f9706217844f36d54ceb7c099b7bfd5421c0bbe489beb835a94e898df1743bb894e16f59273f6a4e92b1881f8757f43b4458f54a8988def4235b6 +DIST flask-jwt-extended-4.7.1.gh.tar.gz 60972 BLAKE2B 2a68158c1a0826c2ed8d12e7f311625ca9ee2525036a4984dfed08598667aa5de57a33eaa13d48ec169086e119c5ec4d692520710635009f8edf34aec33874ed SHA512 6a28a8678fb96d3496caa9ebfcd4ad0d7575d6bd719a45d2469ca9b1f682a97df112d758123298f58588e85e2fbd2eee020630fdbdc3ff1990a8c672dbd0da9a diff --git a/dev-python/flask-jwt-extended/flask-jwt-extended-3.24.1.ebuild b/dev-python/flask-jwt-extended/flask-jwt-extended-3.24.1.ebuild deleted file mode 100644 index 27f8be20b..000000000 --- a/dev-python/flask-jwt-extended/flask-jwt-extended-3.24.1.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{11..13} ) - -inherit distutils-r1 - -DESCRIPTION="An open source Flask extension that provides JWT support" -HOMEPAGE="https://github.com/vimalloc/flask-jwt-extended" -SRC_URI="https://github.com/vimalloc/flask-jwt-extended/archive/${PV}.tar.gz -> ${P}.tar.gz" -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND="${PYTHON_DEPS} - >=dev-python/werkzeug-0.14[${PYTHON_USEDEP}] - >=dev-python/flask-1.0.2[${PYTHON_USEDEP}] - >=dev-python/pyjwt-1.7.1[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - >=dev-python/cryptography-2.4.2[${PYTHON_USEDEP}] - " diff --git a/dev-python/flask-jwt-extended/flask-jwt-extended-4.7.1.ebuild b/dev-python/flask-jwt-extended/flask-jwt-extended-4.7.1.ebuild new file mode 100644 index 000000000..43bfba9d5 --- /dev/null +++ b/dev-python/flask-jwt-extended/flask-jwt-extended-4.7.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..13} ) + +inherit distutils-r1 + +DESCRIPTION="An open source Flask extension that provides JWT support" +HOMEPAGE="https://github.com/vimalloc/flask-jwt-extended" +SRC_URI="https://github.com/vimalloc/flask-jwt-extended/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples test" +RESTRICT="!test? ( test )" + +RDEPEND=" + =dev-python/flask-2.0.0[${PYTHON_USEDEP}] + >=dev-python/pyjwt-2.0.0[${PYTHON_USEDEP}] + >=dev-python/werkzeug-0.14[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} + test? ( + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + ) +" + +python_install_all() { + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi + distutils-r1_python_install_all +} + +distutils_enable_sphinx docs dev-python/pallets-sphinx-themes +distutils_enable_tests pytest diff --git a/dev-python/flask-jwt-extended/metadata.xml b/dev-python/flask-jwt-extended/metadata.xml index c4511c144..808664f8f 100644 --- a/dev-python/flask-jwt-extended/metadata.xml +++ b/dev-python/flask-jwt-extended/metadata.xml @@ -1,8 +1,12 @@ - - email@linxon.ru - Yury Martynov - + + email@linxon.ru + Yury Martynov + + + vimalloc/flask-jwt-extended + Flask-JWT-Extended + From 678a69ee312ac06f45acc4094944d0a386e048bc Mon Sep 17 00:00:00 2001 From: rick Date: Mon, 9 Jun 2025 00:01:31 +0200 Subject: [PATCH 7/7] flask-socketio: update to 5.5.1, add doc, examples and test drop 4.3.1, add metadata --- dev-python/flask-socketio/Manifest | 2 +- .../flask-socketio-4.3.1-r1.ebuild | 26 ----------- .../flask-socketio-5.5.1.ebuild | 44 +++++++++++++++++++ dev-python/flask-socketio/metadata.xml | 12 +++++ 4 files changed, 57 insertions(+), 27 deletions(-) delete mode 100644 dev-python/flask-socketio/flask-socketio-4.3.1-r1.ebuild create mode 100644 dev-python/flask-socketio/flask-socketio-5.5.1.ebuild create mode 100644 dev-python/flask-socketio/metadata.xml diff --git a/dev-python/flask-socketio/Manifest b/dev-python/flask-socketio/Manifest index 098525ced..2b2962d06 100644 --- a/dev-python/flask-socketio/Manifest +++ b/dev-python/flask-socketio/Manifest @@ -1 +1 @@ -DIST Flask-SocketIO-4.3.1.tar.gz 15071 BLAKE2B 9931eb5b4e4c475d90fe94f2a7b9e77ee689c5c04efada0f02a1ce7abb7a5e590ec365b8b765aaf6089d7e8b00d15d85904dc01e711f72158de5982afbe1aee8 SHA512 3db754cdd742bccac2362911db0aae6e832f32396e086c2effddc66cc28a1fc362f8b915d9c19d45b1c72968e7f1abb4226c84b17ba707cfaf85faa2762f596c +DIST flask-socketio-5.5.1.gh.tar.gz 58270 BLAKE2B 05a018794ee371fc0ced2365d14a395556b321c76f7fd0d91c3475d25fccd18287bd4d495d376c0537d128348b00848c6a86fd9812af0c19d708f00089708cbe SHA512 3118a70fedeb66a88af17446e8527f9b34a5b7b0f1c062622d5ea89821837b0af84e41a34ff954de9f9fb50fd1c82d1bf99889a13cfbd8ec909c5fc81c1ccb5c diff --git a/dev-python/flask-socketio/flask-socketio-4.3.1-r1.ebuild b/dev-python/flask-socketio/flask-socketio-4.3.1-r1.ebuild deleted file mode 100644 index f139f275d..000000000 --- a/dev-python/flask-socketio/flask-socketio-4.3.1-r1.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{11..13} ) -inherit distutils-r1 - -MY_PN="Flask-SocketIO" -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="Socket.IO integration for Flask applications" -HOMEPAGE="https://github.com/miguelgrinberg/Flask-SocketIO/" -SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="test" - -RDEPEND=">=dev-python/flask-0.9[${PYTHON_USEDEP}] - dev-python/python-socketio[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND}" - -S="${WORKDIR}/${MY_P}" diff --git a/dev-python/flask-socketio/flask-socketio-5.5.1.ebuild b/dev-python/flask-socketio/flask-socketio-5.5.1.ebuild new file mode 100644 index 000000000..137a67283 --- /dev/null +++ b/dev-python/flask-socketio/flask-socketio-5.5.1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..13} ) + +inherit distutils-r1 + +DESCRIPTION="Socket.IO integration for Flask applications" +HOMEPAGE="https://github.com/miguelgrinberg/Flask-SocketIO/" +SRC_URI="https://github.com/miguelgrinberg/Flask-SocketIO/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +S="${WORKDIR}/Flask-SocketIO-${PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="examples test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/flask-0.9[${PYTHON_USEDEP}] + >=dev-python/python-socketio-5.12.0[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} + test? ( + dev-python/redis[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs +distutils_enable_tests pytest + +python_install_all() { + if use examples; then + docinto examples + dodoc -r example/* + docompress -x /usr/share/doc/${PF}/examples + fi + distutils-r1_python_install_all +} diff --git a/dev-python/flask-socketio/metadata.xml b/dev-python/flask-socketio/metadata.xml new file mode 100644 index 000000000..952eb50f1 --- /dev/null +++ b/dev-python/flask-socketio/metadata.xml @@ -0,0 +1,12 @@ + + + + + unknown@pentoo.org + Author Unknown + + + miguelgrinberg/Flask-SocketIO + flask-socketio + +