mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-15 21:02:30 +01:00
re-applied changes to dev-python/bencode_py
This commit is contained in:
parent
e6c27c9700
commit
0a5b2bca55
5 changed files with 154 additions and 0 deletions
3
dev-python/bencode_py/Manifest
Normal file
3
dev-python/bencode_py/Manifest
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
DIST bencode.py-3.0.0.tar.gz 16759 BLAKE2B 3fa845547bd7912f762ca16f91bf95febdd903b57f93ad9a5eef4d674b159699a779c68020b535270d370d9d8a34a0b7e44890c1267af7233843f68c9be0f180 SHA512 439cb6f57ca1616b283e5bbf5322b44b4b2aa11221d2bd4bccf604ef3d88502a6c5a89450f9303d967b8c277d2e1d8eeba2cbc574fbbe1f22ce95773312a9212
|
||||
DIST bencode.py-3.0.1.tar.gz 16813 BLAKE2B 30bda33fe2fe2772c477c0612b4cffa3ae0dc7044c5b026184892616c04a92e500415d9de5b3175c3d717c73b613b2ade6bd8a2362c20d109c88a9ec83e3f30e SHA512 3e043f69783b2000a63453a0c31cf05a73ba674a9c2c9e806854a2365d293a3e3f8ae7db575c798c6cb53c881f722cf0d3c7a2eaf80ed9a1333897ea59cc3bd1
|
||||
DIST bencode.py-4.0.0.tar.gz 19842 BLAKE2B 8e212e21a6affa0c8ae8c81d08289768b5761dc213040bae299281c5307fd632c3a4d575c6dd6bb86fd18e71d0ba7ecf2fc120fc40b33fdc7a9a4409f19af588 SHA512 b2c48fc9603378796eb34f8e21a86bad980a4e2c1293502662a3bb7257ef3e92d61df9fb7e1baa79ee2501ab09c301ea01ce7cdbb55f04bc690547dd458d391b
|
||||
45
dev-python/bencode_py/bencode_py-3.0.0.ebuild
Normal file
45
dev-python/bencode_py/bencode_py-3.0.0.ebuild
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..11} pypy3 )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Simple bencode parser (for Python2, Python 3 and PyPy)"
|
||||
HOMEPAGE="
|
||||
https://pypi.org/project/bencode_py/
|
||||
https://github.com/fuzeman/bencode.py
|
||||
"
|
||||
MY_PN="bencode.py"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
LICENSE="BOSL-1.1"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
BDEPEND="
|
||||
>=dev-python/pbr-1.9.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/setuptools-17.1.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${PYTHON_DEPS}"
|
||||
RDEPEND="${PYTHON_DEPS}"
|
||||
|
||||
src_prepare() {
|
||||
# preliminary fixes for some of the issues reported in https://github.com/fuzeman/bencode.py/issues/21
|
||||
eapply "${FILESDIR}/${PN}"_setup_cfg.patch
|
||||
|
||||
# There's still a setuptools QA issue here ("easy_install command is deprecated. Use build and pip and
|
||||
# other standards-based tools."). This has been reported to upstream - it should not affect this ebuild
|
||||
# at the moment.
|
||||
default
|
||||
}
|
||||
|
||||
distutils_enable_tests pytest
|
||||
45
dev-python/bencode_py/bencode_py-3.0.1.ebuild
Normal file
45
dev-python/bencode_py/bencode_py-3.0.1.ebuild
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..11} pypy3 )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Simple bencode parser (for Python2, Python 3 and PyPy)"
|
||||
HOMEPAGE="
|
||||
https://pypi.org/project/bencode_py/
|
||||
https://github.com/fuzeman/bencode.py
|
||||
"
|
||||
MY_PN="bencode.py"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
LICENSE="BOSL-1.1"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
BDEPEND="
|
||||
>=dev-python/pbr-1.9.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/setuptools-17.1.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${PYTHON_DEPS}"
|
||||
RDEPEND="${PYTHON_DEPS}"
|
||||
|
||||
src_prepare() {
|
||||
# preliminary fixes for some of the issues reported in https://github.com/fuzeman/bencode.py/issues/21
|
||||
eapply "${FILESDIR}/${PN}"_setup_cfg.patch
|
||||
|
||||
# There's still a setuptools QA issue here ("easy_install command is deprecated. Use build and pip and
|
||||
# other standards-based tools."). This has been reported to upstream - it should not affect this ebuild
|
||||
# at the moment.
|
||||
default
|
||||
}
|
||||
|
||||
distutils_enable_tests pytest
|
||||
45
dev-python/bencode_py/bencode_py-4.0.0.ebuild
Normal file
45
dev-python/bencode_py/bencode_py-4.0.0.ebuild
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..11} pypy3 )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Simple bencode parser (for Python2, Python 3 and PyPy)"
|
||||
HOMEPAGE="
|
||||
https://pypi.org/project/bencode_py/
|
||||
https://github.com/fuzeman/bencode.py
|
||||
"
|
||||
MY_PN="bencode.py"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
LICENSE="BOSL-1.1"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
BDEPEND="
|
||||
>=dev-python/pbr-1.9.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/setuptools-17.1.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${PYTHON_DEPS}"
|
||||
RDEPEND="${PYTHON_DEPS}"
|
||||
|
||||
src_prepare() {
|
||||
# preliminary fixes for some of the issues reported in https://github.com/fuzeman/bencode.py/issues/21
|
||||
eapply "${FILESDIR}/${PN}"_setup_cfg.patch
|
||||
|
||||
# There's still a setuptools QA issue here ("easy_install command is deprecated. Use build and pip and
|
||||
# other standards-based tools."). This has been reported to upstream - it should not affect this ebuild
|
||||
# at the moment.
|
||||
default
|
||||
}
|
||||
|
||||
distutils_enable_tests pytest
|
||||
16
dev-python/bencode_py/files/bencode_py_setup_cfg.patch
Normal file
16
dev-python/bencode_py/files/bencode_py_setup_cfg.patch
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
--- a/setup.cfg.orig 2022-12-03 03:20:06.004043971 +0100
|
||||
+++ b/setup.cfg 2022-12-03 03:20:20.437377566 +0100
|
||||
@@ -1,10 +1,10 @@
|
||||
[metadata]
|
||||
name = bencode.py
|
||||
author = Dean Gardiner
|
||||
-author-email = me@dgardiner.net
|
||||
+author_email = me@dgardiner.net
|
||||
summary = Simple bencode parser (for Python 2, Python 3 and PyPy)
|
||||
-description-file = README.rst
|
||||
-home-page = https://github.com/fuzeman/bencode.py
|
||||
+description_file = README.rst
|
||||
+home_page = https://github.com/fuzeman/bencode.py
|
||||
license = BitTorrent Open Source License
|
||||
classifier =
|
||||
Development Status :: 5 - Production/Stable
|
||||
Loading…
Reference in a new issue