Github messages for voidlinux
 help / color / mirror / Atom feed
From: pfpulux <pfpulux@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] python-serpent: update to 1.30.2.
Date: Mon, 01 Jun 2020 19:58:27 +0200	[thread overview]
Message-ID: <20200601175827.ENxgWSDlf3ZPXcMqwVPeBIQQ3ZU-50N_5W4ds9PDJnI@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-21276@inbox.vuxu.org>

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

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

https://github.com/pfpulux/void-packages python-serpent
https://github.com/void-linux/void-packages/pull/21276

python-serpent: update to 1.30.2.
python2 support is dropped after 1.28

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

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

From 3fe86eda4e0f906106c97ca6289920faa51816cc Mon Sep 17 00:00:00 2001
From: Pulux <pulux@pf4sh.de>
Date: Fri, 29 May 2020 19:10:25 +0200
Subject: [PATCH] python-serpent: split package

New package: python3-serpent-1.30.2

python2 support only up to version 1.28
---
 srcpkgs/python-serpent/template  | 18 +++---------------
 srcpkgs/python3-serpent          |  1 -
 srcpkgs/python3-serpent/template | 19 +++++++++++++++++++
 3 files changed, 22 insertions(+), 16 deletions(-)
 delete mode 120000 srcpkgs/python3-serpent
 create mode 100644 srcpkgs/python3-serpent/template

diff --git a/srcpkgs/python-serpent/template b/srcpkgs/python-serpent/template
index a40f0d44515..658802bef0d 100644
--- a/srcpkgs/python-serpent/template
+++ b/srcpkgs/python-serpent/template
@@ -1,12 +1,11 @@
 # Template file for 'python-serpent'
 pkgname=python-serpent
 version=1.28
-revision=2
+revision=3
 archs=noarch
 wrksrc="${pkgname#*-}-${version}"
-build_style=python-module
-pycompile_module="serpent.py"
-hostmakedepends="python-setuptools python3-setuptools"
+build_style=python2-module
+hostmakedepends="python-setuptools"
 depends="python"
 short_desc="Serialization library based on ast.literal_eval (Python2)"
 maintainer="pulux <pulux@pf4sh.de>"
@@ -18,14 +17,3 @@ checksum=f306336ca09aa38e526f3b03cab58eb7e45af09981267233167bcf3bfd6436ab
 post_install() {
 	vlicense LICENSE
 }
-
-python3-serpent_package() {
-	archs=noarch
-	depends="python3"
-	pycompile="serpent.py"
-	short_desc="${short_desc/Python2/Python3}"
-	pkg_install() {
-		vmove usr/lib/python3*
-		vlicense LICENSE
-	}
-}
diff --git a/srcpkgs/python3-serpent b/srcpkgs/python3-serpent
deleted file mode 120000
index 4e38db55ecb..00000000000
--- a/srcpkgs/python3-serpent
+++ /dev/null
@@ -1 +0,0 @@
-python-serpent
\ No newline at end of file
diff --git a/srcpkgs/python3-serpent/template b/srcpkgs/python3-serpent/template
new file mode 100644
index 00000000000..ad7a7dc86da
--- /dev/null
+++ b/srcpkgs/python3-serpent/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-serpent'
+pkgname=python3-serpent
+version=1.30.2
+revision=1
+archs=noarch
+wrksrc="${pkgname#*-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+short_desc="Serialization library based on ast.literal_eval (Python3)"
+maintainer="pulux <pulux@pf4sh.de>"
+license="MIT"
+homepage="https://pypi.org/project/serpent/"
+distfiles="${PYPI_SITE}/s/serpent/serpent-${version}.tar.gz"
+checksum=72753820246a7d8486e8b385353e3bbf769abfceec2e850fa527a288b084ff7a
+
+post_install() {
+	vlicense LICENSE
+}

  parent reply	other threads:[~2020-06-01 17:58 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-23 16:08 [PR PATCH] " pfpulux
2020-05-18 16:09 ` Piraty
2020-05-29 17:13 ` [PR PATCH] [Updated] " pfpulux
2020-05-29 17:28 ` pfpulux
2020-06-01 17:58 ` pfpulux [this message]
2020-07-23 19:21 ` Chocimier
2020-07-23 19:22 ` Chocimier
2020-07-23 20:36 ` [PR PATCH] [Merged]: " Chocimier

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=20200601175827.ENxgWSDlf3ZPXcMqwVPeBIQQ3ZU-50N_5W4ds9PDJnI@z \
    --to=pfpulux@users.noreply.github.com \
    --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).