mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 07:33:48 +02:00
python3-pylibgen: update to 2.0.2.
In 2.0.2, the release archive does not include requirements-dev.txt which is necessary for setup.py to work. In order to upgrade to 2.0.2, we need to remove any reference to requirements-dev.txt from setup.py.
This commit is contained in:
parent
30073957b5
commit
0c57003b8d
2 changed files with 31 additions and 5 deletions
27
srcpkgs/python3-pylibgen/patches/fix-setup.patch
Normal file
27
srcpkgs/python3-pylibgen/patches/fix-setup.patch
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
diff --git setup.py setup.py
|
||||||
|
index 1a84791..1a6d7c2 100644
|
||||||
|
--- setup.py
|
||||||
|
+++ setup.py
|
||||||
|
@@ -14,9 +14,6 @@ with open(os.path.join(here, "README.md")) as f:
|
||||||
|
with open(os.path.join(here, "requirements.txt")) as f:
|
||||||
|
install_requires = f.read()
|
||||||
|
|
||||||
|
-with open(os.path.join(here, "requirements-dev.txt")) as f:
|
||||||
|
- dev_requires = f.read()
|
||||||
|
-
|
||||||
|
setup(
|
||||||
|
name="pylibgen",
|
||||||
|
version=version,
|
||||||
|
@@ -43,12 +40,6 @@ setup(
|
||||||
|
packages=find_packages(exclude=("tests",)),
|
||||||
|
python_requires=">=3.6",
|
||||||
|
install_requires=install_requires,
|
||||||
|
- extras_require={
|
||||||
|
- # linting and formatting tools (flake8, black) we let pre-commit pin versions
|
||||||
|
- # build and publishing tools (setuptools, wheel, twine) we always want latest (see makefile)
|
||||||
|
- # only dev dependencies that should be pinned in extras (imo) is testing (pytest) and pre-commit
|
||||||
|
- "dev": dev_requires,
|
||||||
|
- },
|
||||||
|
classifiers=[
|
||||||
|
"Development Status :: 7 - Inactive",
|
||||||
|
"Intended Audience :: Developers",
|
|
@ -1,19 +1,18 @@
|
||||||
# Template file for 'python3-pylibgen'
|
# Template file for 'python3-pylibgen'
|
||||||
pkgname=python3-pylibgen
|
pkgname=python3-pylibgen
|
||||||
version=2.0.1
|
version=2.0.2
|
||||||
revision=2
|
revision=1
|
||||||
archs=noarch
|
archs=noarch
|
||||||
wrksrc="pylibgen-${version}"
|
wrksrc="pylibgen-${version}"
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
pycompile_module="pylibgen"
|
|
||||||
hostmakedepends="python3-setuptools"
|
hostmakedepends="python3-setuptools"
|
||||||
depends="python3-requests>2.20.9<2.21.1"
|
depends="python3-requests"
|
||||||
short_desc="Python3 interface to Library Genesis"
|
short_desc="Python3 interface to Library Genesis"
|
||||||
maintainer="xaltsc <xaltsc@protonmail.ch>"
|
maintainer="xaltsc <xaltsc@protonmail.ch>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="https://github.com/JoshuaRLi/pylibgen"
|
homepage="https://github.com/JoshuaRLi/pylibgen"
|
||||||
distfiles="${PYPI_SITE}/p/pylibgen/pylibgen-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/p/pylibgen/pylibgen-${version}.tar.gz"
|
||||||
checksum=3c2a82b47cb7225dcf4ecea27081b0185ae4d195499140cdbb9597d914e1ae9e
|
checksum=87b28a27fa7c1912e2b38020262dd6086b292d670b0c08d76baecbcd7678b9ee
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
|
|
Loading…
Add table
Reference in a new issue