Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] python3-PyJWT metadata fixes, python-PyJWT added
@ 2019-09-23 18:04 voidlinux-github
  2019-09-24  9:13 ` [PR PATCH] [Updated] " voidlinux-github
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: voidlinux-github @ 2019-09-23 18:04 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 588 bytes --]

There is a new pull request by roman-neuhauser against master on the void-packages repository

https://github.com/roman-neuhauser/void-packages pyjwtf
https://github.com/void-linux/void-packages/pull/14669

python3-PyJWT metadata fixes, python-PyJWT added
the first commit fixes wrong metadata (short_desc, license, homepage), the second makes it a `build_style=python-module` pair of python-PyJWT (source) and python3-PyJWT (symlink).  i need the py2 version for some azure stuff from microsoft.

A patch file from https://github.com/void-linux/void-packages/pull/14669.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-pyjwtf-14669.patch --]
[-- Type: text/x-diff, Size: 2990 bytes --]

From 09f8bc70df16ad0996f32c3f480897b447600964 Mon Sep 17 00:00:00 2001
From: Roman Neuhauser <neuhauser@sigpipe.cz>
Date: Mon, 23 Sep 2019 14:44:03 +0200
Subject: [PATCH 1/2] python3-PyJWT: fix template metadata

---
 srcpkgs/python3-PyJWT/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/python3-PyJWT/template b/srcpkgs/python3-PyJWT/template
index 6f0830125c1..4b43288cc18 100644
--- a/srcpkgs/python3-PyJWT/template
+++ b/srcpkgs/python3-PyJWT/template
@@ -6,9 +6,9 @@ wrksrc="PyJWT-${version}"
 build_style=python3-module
 pycompile_module="PyJWT.py"
 hostmakedepends="python3-setuptools"
-short_desc="Platform independent file lock"
+short_desc="Python implementation of RFC 7519 (Python3)"
 maintainer="fosslinux <fosslinux@aussies.space>"
-license="Unlicense"
-homepage="https://filelock.readthedocs.io/en/latest/"
+license="MIT"
+homepage="https://pyjwt.readthedocs.io/en/latest/"
 distfiles="${PYPI_SITE}/P/PyJWT/PyJWT-${version}.tar.gz"
 checksum=8d59a976fb773f3e6a39c85636357c4f0e242707394cadadd9814f5cbaa20e96

From c77ee897df62b3745fc07bf019e159cfb00287c4 Mon Sep 17 00:00:00 2001
From: Roman Neuhauser <neuhauser@sigpipe.cz>
Date: Mon, 23 Sep 2019 14:50:14 +0200
Subject: [PATCH 2/2] python-PyJWT: Python2 version of python3-PyJWT

srcpkgs/python3-PyJWT is now a symlink to srcpkgs/python-PyJWT.
---
 srcpkgs/{python3-PyJWT => python-PyJWT}/template | 16 ++++++++++++----
 srcpkgs/python3-PyJWT                            |  1 +
 2 files changed, 13 insertions(+), 4 deletions(-)
 rename srcpkgs/{python3-PyJWT => python-PyJWT}/template (54%)
 create mode 120000 srcpkgs/python3-PyJWT

diff --git a/srcpkgs/python3-PyJWT/template b/srcpkgs/python-PyJWT/template
similarity index 54%
rename from srcpkgs/python3-PyJWT/template
rename to srcpkgs/python-PyJWT/template
index 4b43288cc18..a3f09889e98 100644
--- a/srcpkgs/python3-PyJWT/template
+++ b/srcpkgs/python-PyJWT/template
@@ -1,14 +1,22 @@
 # Template file for 'python3-PyJWT'
-pkgname=python3-PyJWT
+pkgname=python-PyJWT
 version=1.7.1
 revision=1
 wrksrc="PyJWT-${version}"
-build_style=python3-module
+build_style=python-module
 pycompile_module="PyJWT.py"
-hostmakedepends="python3-setuptools"
-short_desc="Python implementation of RFC 7519 (Python3)"
+hostmakedepends="python-setuptools python3-setuptools"
+short_desc="Python implementation of RFC 7519 (Python2)"
 maintainer="fosslinux <fosslinux@aussies.space>"
 license="MIT"
 homepage="https://pyjwt.readthedocs.io/en/latest/"
 distfiles="${PYPI_SITE}/P/PyJWT/PyJWT-${version}.tar.gz"
 checksum=8d59a976fb773f3e6a39c85636357c4f0e242707394cadadd9814f5cbaa20e96
+
+python3-PyJWT_package() {
+  depends=python3
+  short_desc="${short_desc/Python2/Python3}"
+  pkg_install() {
+    vmove usr/lib/python3*
+  }
+}
diff --git a/srcpkgs/python3-PyJWT b/srcpkgs/python3-PyJWT
new file mode 120000
index 00000000000..2e6e08552e1
--- /dev/null
+++ b/srcpkgs/python3-PyJWT
@@ -0,0 +1 @@
+python-PyJWT
\ No newline at end of file

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PR PATCH] [Updated] python3-PyJWT metadata fixes, python-PyJWT added
  2019-09-23 18:04 [PR PATCH] python3-PyJWT metadata fixes, python-PyJWT added voidlinux-github
  2019-09-24  9:13 ` [PR PATCH] [Updated] " voidlinux-github
@ 2019-09-24  9:13 ` voidlinux-github
  2019-09-25 10:41 ` [PR PATCH] [Closed]: " voidlinux-github
  2019-09-25 10:41 ` voidlinux-github
  3 siblings, 0 replies; 5+ messages in thread
From: voidlinux-github @ 2019-09-24  9:13 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 593 bytes --]

There is an updated pull request by roman-neuhauser against master on the void-packages repository

https://github.com/roman-neuhauser/void-packages pyjwtf
https://github.com/void-linux/void-packages/pull/14669

python3-PyJWT metadata fixes, python-PyJWT added
the first commit fixes wrong metadata (short_desc, license, homepage), the second makes it a `build_style=python-module` pair of python-PyJWT (source) and python3-PyJWT (symlink).  i need the py2 version for some azure stuff from microsoft.

A patch file from https://github.com/void-linux/void-packages/pull/14669.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-pyjwtf-14669.patch --]
[-- Type: text/x-diff, Size: 3567 bytes --]

From 09f8bc70df16ad0996f32c3f480897b447600964 Mon Sep 17 00:00:00 2001
From: Roman Neuhauser <neuhauser@sigpipe.cz>
Date: Mon, 23 Sep 2019 14:44:03 +0200
Subject: [PATCH 1/2] python3-PyJWT: fix template metadata

---
 srcpkgs/python3-PyJWT/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/python3-PyJWT/template b/srcpkgs/python3-PyJWT/template
index 6f0830125c1..4b43288cc18 100644
--- a/srcpkgs/python3-PyJWT/template
+++ b/srcpkgs/python3-PyJWT/template
@@ -6,9 +6,9 @@ wrksrc="PyJWT-${version}"
 build_style=python3-module
 pycompile_module="PyJWT.py"
 hostmakedepends="python3-setuptools"
-short_desc="Platform independent file lock"
+short_desc="Python implementation of RFC 7519 (Python3)"
 maintainer="fosslinux <fosslinux@aussies.space>"
-license="Unlicense"
-homepage="https://filelock.readthedocs.io/en/latest/"
+license="MIT"
+homepage="https://pyjwt.readthedocs.io/en/latest/"
 distfiles="${PYPI_SITE}/P/PyJWT/PyJWT-${version}.tar.gz"
 checksum=8d59a976fb773f3e6a39c85636357c4f0e242707394cadadd9814f5cbaa20e96

From 3422148f4cfaae9d048acea73cf93d880b460d8a Mon Sep 17 00:00:00 2001
From: Roman Neuhauser <neuhauser@sigpipe.cz>
Date: Mon, 23 Sep 2019 14:50:14 +0200
Subject: [PATCH 2/2] python-PyJWT: Python2 version of python3-PyJWT

srcpkgs/python3-PyJWT is now a symlink to srcpkgs/python-PyJWT.
---
 srcpkgs/python-PyJWT/template  | 27 +++++++++++++++++++++++++++
 srcpkgs/python3-PyJWT          |  1 +
 srcpkgs/python3-PyJWT/template | 14 --------------
 3 files changed, 28 insertions(+), 14 deletions(-)
 create mode 100644 srcpkgs/python-PyJWT/template
 create mode 120000 srcpkgs/python3-PyJWT
 delete mode 100644 srcpkgs/python3-PyJWT/template

diff --git a/srcpkgs/python-PyJWT/template b/srcpkgs/python-PyJWT/template
new file mode 100644
index 00000000000..e5515deed5b
--- /dev/null
+++ b/srcpkgs/python-PyJWT/template
@@ -0,0 +1,27 @@
+# Template file for 'python-PyJWT'
+pkgname=python-PyJWT
+version=1.7.1
+revision=1
+wrksrc="PyJWT-${version}"
+build_style=python-module
+pycompile_module="PyJWT.py"
+hostmakedepends="python-setuptools python3-setuptools"
+short_desc="Python implementation of RFC 7519 (Python2)"
+maintainer="fosslinux <fosslinux@aussies.space>"
+license="MIT"
+homepage="https://pyjwt.readthedocs.io/en/latest/"
+distfiles="${PYPI_SITE}/P/PyJWT/PyJWT-${version}.tar.gz"
+checksum=8d59a976fb773f3e6a39c85636357c4f0e242707394cadadd9814f5cbaa20e96
+
+post_install() {
+	vlicense LICENSE
+}
+
+python3-PyJWT_package() {
+	depends=python3
+	short_desc="${short_desc/Python2/Python3}"
+	pkg_install() {
+		vlicense LICENSE
+		vmove usr/lib/python3*
+	}
+}
diff --git a/srcpkgs/python3-PyJWT b/srcpkgs/python3-PyJWT
new file mode 120000
index 00000000000..2e6e08552e1
--- /dev/null
+++ b/srcpkgs/python3-PyJWT
@@ -0,0 +1 @@
+python-PyJWT
\ No newline at end of file
diff --git a/srcpkgs/python3-PyJWT/template b/srcpkgs/python3-PyJWT/template
deleted file mode 100644
index 4b43288cc18..00000000000
--- a/srcpkgs/python3-PyJWT/template
+++ /dev/null
@@ -1,14 +0,0 @@
-# Template file for 'python3-PyJWT'
-pkgname=python3-PyJWT
-version=1.7.1
-revision=1
-wrksrc="PyJWT-${version}"
-build_style=python3-module
-pycompile_module="PyJWT.py"
-hostmakedepends="python3-setuptools"
-short_desc="Python implementation of RFC 7519 (Python3)"
-maintainer="fosslinux <fosslinux@aussies.space>"
-license="MIT"
-homepage="https://pyjwt.readthedocs.io/en/latest/"
-distfiles="${PYPI_SITE}/P/PyJWT/PyJWT-${version}.tar.gz"
-checksum=8d59a976fb773f3e6a39c85636357c4f0e242707394cadadd9814f5cbaa20e96

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PR PATCH] [Updated] python3-PyJWT metadata fixes, python-PyJWT added
  2019-09-23 18:04 [PR PATCH] python3-PyJWT metadata fixes, python-PyJWT added voidlinux-github
@ 2019-09-24  9:13 ` voidlinux-github
  2019-09-24  9:13 ` voidlinux-github
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: voidlinux-github @ 2019-09-24  9:13 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 593 bytes --]

There is an updated pull request by roman-neuhauser against master on the void-packages repository

https://github.com/roman-neuhauser/void-packages pyjwtf
https://github.com/void-linux/void-packages/pull/14669

python3-PyJWT metadata fixes, python-PyJWT added
the first commit fixes wrong metadata (short_desc, license, homepage), the second makes it a `build_style=python-module` pair of python-PyJWT (source) and python3-PyJWT (symlink).  i need the py2 version for some azure stuff from microsoft.

A patch file from https://github.com/void-linux/void-packages/pull/14669.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-pyjwtf-14669.patch --]
[-- Type: text/x-diff, Size: 3567 bytes --]

From 09f8bc70df16ad0996f32c3f480897b447600964 Mon Sep 17 00:00:00 2001
From: Roman Neuhauser <neuhauser@sigpipe.cz>
Date: Mon, 23 Sep 2019 14:44:03 +0200
Subject: [PATCH 1/2] python3-PyJWT: fix template metadata

---
 srcpkgs/python3-PyJWT/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/python3-PyJWT/template b/srcpkgs/python3-PyJWT/template
index 6f0830125c1..4b43288cc18 100644
--- a/srcpkgs/python3-PyJWT/template
+++ b/srcpkgs/python3-PyJWT/template
@@ -6,9 +6,9 @@ wrksrc="PyJWT-${version}"
 build_style=python3-module
 pycompile_module="PyJWT.py"
 hostmakedepends="python3-setuptools"
-short_desc="Platform independent file lock"
+short_desc="Python implementation of RFC 7519 (Python3)"
 maintainer="fosslinux <fosslinux@aussies.space>"
-license="Unlicense"
-homepage="https://filelock.readthedocs.io/en/latest/"
+license="MIT"
+homepage="https://pyjwt.readthedocs.io/en/latest/"
 distfiles="${PYPI_SITE}/P/PyJWT/PyJWT-${version}.tar.gz"
 checksum=8d59a976fb773f3e6a39c85636357c4f0e242707394cadadd9814f5cbaa20e96

From 3422148f4cfaae9d048acea73cf93d880b460d8a Mon Sep 17 00:00:00 2001
From: Roman Neuhauser <neuhauser@sigpipe.cz>
Date: Mon, 23 Sep 2019 14:50:14 +0200
Subject: [PATCH 2/2] python-PyJWT: Python2 version of python3-PyJWT

srcpkgs/python3-PyJWT is now a symlink to srcpkgs/python-PyJWT.
---
 srcpkgs/python-PyJWT/template  | 27 +++++++++++++++++++++++++++
 srcpkgs/python3-PyJWT          |  1 +
 srcpkgs/python3-PyJWT/template | 14 --------------
 3 files changed, 28 insertions(+), 14 deletions(-)
 create mode 100644 srcpkgs/python-PyJWT/template
 create mode 120000 srcpkgs/python3-PyJWT
 delete mode 100644 srcpkgs/python3-PyJWT/template

diff --git a/srcpkgs/python-PyJWT/template b/srcpkgs/python-PyJWT/template
new file mode 100644
index 00000000000..e5515deed5b
--- /dev/null
+++ b/srcpkgs/python-PyJWT/template
@@ -0,0 +1,27 @@
+# Template file for 'python-PyJWT'
+pkgname=python-PyJWT
+version=1.7.1
+revision=1
+wrksrc="PyJWT-${version}"
+build_style=python-module
+pycompile_module="PyJWT.py"
+hostmakedepends="python-setuptools python3-setuptools"
+short_desc="Python implementation of RFC 7519 (Python2)"
+maintainer="fosslinux <fosslinux@aussies.space>"
+license="MIT"
+homepage="https://pyjwt.readthedocs.io/en/latest/"
+distfiles="${PYPI_SITE}/P/PyJWT/PyJWT-${version}.tar.gz"
+checksum=8d59a976fb773f3e6a39c85636357c4f0e242707394cadadd9814f5cbaa20e96
+
+post_install() {
+	vlicense LICENSE
+}
+
+python3-PyJWT_package() {
+	depends=python3
+	short_desc="${short_desc/Python2/Python3}"
+	pkg_install() {
+		vlicense LICENSE
+		vmove usr/lib/python3*
+	}
+}
diff --git a/srcpkgs/python3-PyJWT b/srcpkgs/python3-PyJWT
new file mode 120000
index 00000000000..2e6e08552e1
--- /dev/null
+++ b/srcpkgs/python3-PyJWT
@@ -0,0 +1 @@
+python-PyJWT
\ No newline at end of file
diff --git a/srcpkgs/python3-PyJWT/template b/srcpkgs/python3-PyJWT/template
deleted file mode 100644
index 4b43288cc18..00000000000
--- a/srcpkgs/python3-PyJWT/template
+++ /dev/null
@@ -1,14 +0,0 @@
-# Template file for 'python3-PyJWT'
-pkgname=python3-PyJWT
-version=1.7.1
-revision=1
-wrksrc="PyJWT-${version}"
-build_style=python3-module
-pycompile_module="PyJWT.py"
-hostmakedepends="python3-setuptools"
-short_desc="Python implementation of RFC 7519 (Python3)"
-maintainer="fosslinux <fosslinux@aussies.space>"
-license="MIT"
-homepage="https://pyjwt.readthedocs.io/en/latest/"
-distfiles="${PYPI_SITE}/P/PyJWT/PyJWT-${version}.tar.gz"
-checksum=8d59a976fb773f3e6a39c85636357c4f0e242707394cadadd9814f5cbaa20e96

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: python3-PyJWT metadata fixes, python-PyJWT added
  2019-09-23 18:04 [PR PATCH] python3-PyJWT metadata fixes, python-PyJWT added voidlinux-github
                   ` (2 preceding siblings ...)
  2019-09-25 10:41 ` [PR PATCH] [Closed]: " voidlinux-github
@ 2019-09-25 10:41 ` voidlinux-github
  3 siblings, 0 replies; 5+ messages in thread
From: voidlinux-github @ 2019-09-25 10:41 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 329 bytes --]

New comment by Hoshpak on void-packages repository

https://github.com/void-linux/void-packages/pull/14669#issuecomment-534963095

Comment:
I don't think we should accept new python 2 code that will be removed in a few months anyway. Please either install it via pip on your local system or build the package from your own fork.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PR PATCH] [Closed]: python3-PyJWT metadata fixes, python-PyJWT added
  2019-09-23 18:04 [PR PATCH] python3-PyJWT metadata fixes, python-PyJWT added voidlinux-github
  2019-09-24  9:13 ` [PR PATCH] [Updated] " voidlinux-github
  2019-09-24  9:13 ` voidlinux-github
@ 2019-09-25 10:41 ` voidlinux-github
  2019-09-25 10:41 ` voidlinux-github
  3 siblings, 0 replies; 5+ messages in thread
From: voidlinux-github @ 2019-09-25 10:41 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 422 bytes --]

There's a closed pull request on the void-packages repository

python3-PyJWT metadata fixes, python-PyJWT added
https://github.com/void-linux/void-packages/pull/14669

Description:
the first commit fixes wrong metadata (short_desc, license, homepage), the second makes it a `build_style=python-module` pair of python-PyJWT (source) and python3-PyJWT (symlink).  i need the py2 version for some azure stuff from microsoft.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-09-25 10:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-23 18:04 [PR PATCH] python3-PyJWT metadata fixes, python-PyJWT added voidlinux-github
2019-09-24  9:13 ` [PR PATCH] [Updated] " voidlinux-github
2019-09-24  9:13 ` voidlinux-github
2019-09-25 10:41 ` [PR PATCH] [Closed]: " voidlinux-github
2019-09-25 10:41 ` 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).