* [PR PATCH] python3-pylibgen: update to 2.0.2.
@ 2020-01-27 19:27 voidlinux-github
2020-01-27 19:27 ` [PR PATCH] [Updated] " voidlinux-github
0 siblings, 1 reply; 2+ messages in thread
From: voidlinux-github @ 2020-01-27 19:27 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 321 bytes --]
There is a new pull request by Nicop06 against master on the void-packages repository
https://github.com/Nicop06/void-packages papis
https://github.com/void-linux/void-packages/pull/18591
python3-pylibgen: update to 2.0.2.
None
A patch file from https://github.com/void-linux/void-packages/pull/18591.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-papis-18591.patch --]
[-- Type: text/x-diff, Size: 2704 bytes --]
From b44f6295ccabb30f62f70bc79edb827c90cb2b8f Mon Sep 17 00:00:00 2001
From: Nicolas Porcel <nicolasporcel06@gmail.com>
Date: Mon, 27 Jan 2020 19:12:11 +0000
Subject: [PATCH] python3-pylibgen: update to 2.0.2.
---
.../python3-pylibgen/patches/fix-setup.patch | 27 +++++++++++++++++++
srcpkgs/python3-pylibgen/template | 8 +++---
2 files changed, 31 insertions(+), 4 deletions(-)
create mode 100644 srcpkgs/python3-pylibgen/patches/fix-setup.patch
diff --git a/srcpkgs/python3-pylibgen/patches/fix-setup.patch b/srcpkgs/python3-pylibgen/patches/fix-setup.patch
new file mode 100644
index 00000000000..1fa9e9f2acb
--- /dev/null
+++ b/srcpkgs/python3-pylibgen/patches/fix-setup.patch
@@ -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",
diff --git a/srcpkgs/python3-pylibgen/template b/srcpkgs/python3-pylibgen/template
index 540ccb32790..27efa2bf8ac 100644
--- a/srcpkgs/python3-pylibgen/template
+++ b/srcpkgs/python3-pylibgen/template
@@ -1,19 +1,19 @@
# 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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PR PATCH] [Updated] python3-pylibgen: update to 2.0.2.
2020-01-27 19:27 [PR PATCH] python3-pylibgen: update to 2.0.2 voidlinux-github
@ 2020-01-27 19:27 ` voidlinux-github
0 siblings, 0 replies; 2+ messages in thread
From: voidlinux-github @ 2020-01-27 19:27 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 326 bytes --]
There is an updated pull request by Nicop06 against master on the void-packages repository
https://github.com/Nicop06/void-packages papis
https://github.com/void-linux/void-packages/pull/18591
python3-pylibgen: update to 2.0.2.
None
A patch file from https://github.com/void-linux/void-packages/pull/18591.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-papis-18591.patch --]
[-- Type: text/x-diff, Size: 2914 bytes --]
From 642fbe776f31f8d03fd50b763d2b7c5d9f3ecf07 Mon Sep 17 00:00:00 2001
From: Nicolas Porcel <nicolasporcel06@gmail.com>
Date: Mon, 27 Jan 2020 19:12:11 +0000
Subject: [PATCH] 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.
---
.../python3-pylibgen/patches/fix-setup.patch | 27 +++++++++++++++++++
srcpkgs/python3-pylibgen/template | 8 +++---
2 files changed, 31 insertions(+), 4 deletions(-)
create mode 100644 srcpkgs/python3-pylibgen/patches/fix-setup.patch
diff --git a/srcpkgs/python3-pylibgen/patches/fix-setup.patch b/srcpkgs/python3-pylibgen/patches/fix-setup.patch
new file mode 100644
index 00000000000..1fa9e9f2acb
--- /dev/null
+++ b/srcpkgs/python3-pylibgen/patches/fix-setup.patch
@@ -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",
diff --git a/srcpkgs/python3-pylibgen/template b/srcpkgs/python3-pylibgen/template
index 540ccb32790..27efa2bf8ac 100644
--- a/srcpkgs/python3-pylibgen/template
+++ b/srcpkgs/python3-pylibgen/template
@@ -1,19 +1,19 @@
# 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-01-27 19:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-27 19:27 [PR PATCH] python3-pylibgen: update to 2.0.2 voidlinux-github
2020-01-27 19:27 ` [PR PATCH] [Updated] " voidlinux-github
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).