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:
Nicolas Porcel 2020-01-27 19:12:11 +00:00 committed by Piotr
parent 30073957b5
commit 0c57003b8d
2 changed files with 31 additions and 5 deletions

View 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",

View File

@ -1,19 +1,18 @@
# Template file for 'python3-pylibgen'
pkgname=python3-pylibgen
version=2.0.1
revision=2
version=2.0.2
revision=1
archs=noarch
wrksrc="pylibgen-${version}"
build_style=python3-module
pycompile_module="pylibgen"
hostmakedepends="python3-setuptools"
depends="python3-requests>2.20.9<2.21.1"
depends="python3-requests"
short_desc="Python3 interface to Library Genesis"
maintainer="xaltsc <xaltsc@protonmail.ch>"
license="MIT"
homepage="https://github.com/JoshuaRLi/pylibgen"
distfiles="${PYPI_SITE}/p/pylibgen/pylibgen-${version}.tar.gz"
checksum=3c2a82b47cb7225dcf4ecea27081b0185ae4d195499140cdbb9597d914e1ae9e
checksum=87b28a27fa7c1912e2b38020262dd6086b292d670b0c08d76baecbcd7678b9ee
post_install() {
vlicense LICENSE