Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] python3-PyJWT metadata fixes, python-PyJWT added
Date: Tue, 24 Sep 2019 11:13:12 +0200	[thread overview]
Message-ID: <20190924091312.nl0PhTOL1x-J1VDdZLdurX02Eqn1MF5zVgDujtB4bGo@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-14669@inbox.vuxu.org>

[-- 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

  reply	other threads:[~2019-09-24  9:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-23 18:04 [PR PATCH] " voidlinux-github
2019-09-24  9:13 ` voidlinux-github [this message]
2019-09-24  9:13 ` [PR PATCH] [Updated] " voidlinux-github
2019-09-25 10:41 ` [PR PATCH] [Closed]: " voidlinux-github
2019-09-25 10:41 ` voidlinux-github

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190924091312.nl0PhTOL1x-J1VDdZLdurX02Eqn1MF5zVgDujtB4bGo@z \
    --to=voidlinux-github@inbox.vuxu.org \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).