Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] python-pdfrw: set to python3 only
@ 2020-01-01  3:47 voidlinux-github
  2020-01-18 15:43 ` [PR PATCH] [Closed]: " voidlinux-github
  0 siblings, 1 reply; 2+ messages in thread
From: voidlinux-github @ 2020-01-01  3:47 UTC (permalink / raw)
  To: ml

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

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

https://github.com/ndowens/void-packages pypdfrw
https://github.com/void-linux/void-packages/pull/17961

python-pdfrw: set to python3 only


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

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

From bc4565882009a525b2cc2a41dc9e52d21822ade5 Mon Sep 17 00:00:00 2001
From: Nathan Owens <ndowens04@gmail.com>
Date: Tue, 31 Dec 2019 21:44:24 -0600
Subject: [PATCH] python-pdfrw: set to python3 only

---
 srcpkgs/python-pdfrw/template  | 31 ++-----------------------------
 srcpkgs/python3-pdfrw          |  1 -
 srcpkgs/python3-pdfrw/template | 21 +++++++++++++++++++++
 3 files changed, 23 insertions(+), 30 deletions(-)
 delete mode 120000 srcpkgs/python3-pdfrw
 create mode 100644 srcpkgs/python3-pdfrw/template

diff --git a/srcpkgs/python-pdfrw/template b/srcpkgs/python-pdfrw/template
index ef7db98e491..22873a92ce1 100644
--- a/srcpkgs/python-pdfrw/template
+++ b/srcpkgs/python-pdfrw/template
@@ -3,35 +3,8 @@ pkgname=python-pdfrw
 version=0.4
 revision=3
 archs=noarch
-replaces="python-pdfrw-example<${version}_${revision}"
-wrksrc="${pkgname/python-//}-${version}"
-build_style=python-module
-pycompile_module="pdfrw"
-hostmakedepends="python-setuptools python3-setuptools"
-depends="python"
-short_desc="Pure Python2 library that reads and writes PDFs"
+build_style=meta
+short_desc="Pure Python2 library that reads and writes PDFs(removed package)"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT, BSD-3-Clause"
 homepage="https://github.com/pmaupin/pdfrw"
-distfiles="${PYPI_SITE}/p/pdfrw/pdfrw-${version}.tar.gz"
-checksum=0dc0494a0e6561b268542b28ede2280387c2728114f117d3bb5d8e4787b93ef4
-
-post_install() {
-	vlicense LICENSE.txt
-	vmkdir usr/share/examples/${pkgname}
-	vcopy examples/* usr/share/examples/${pkgname}
-}
-
-python3-pdfrw_package() {
-	replaces="python-pdfrw-example<${version}_${revision}"
-	archs=noarch
-	pycompile_module="pdfrw"
-	depends="python3"
-	short_desc="${short_desc/Python2/Python3}"
-	pkg_install() {
-		vmove usr/lib/python3*
-		vmkdir usr/share/examples/${pkgname}
-		vcopy examples/* usr/share/examples/${pkgname}
-		vlicense LICENSE.txt
-	}
-}
diff --git a/srcpkgs/python3-pdfrw b/srcpkgs/python3-pdfrw
deleted file mode 120000
index 031da988534..00000000000
--- a/srcpkgs/python3-pdfrw
+++ /dev/null
@@ -1 +0,0 @@
-python-pdfrw
\ No newline at end of file
diff --git a/srcpkgs/python3-pdfrw/template b/srcpkgs/python3-pdfrw/template
new file mode 100644
index 00000000000..d2e77e20c47
--- /dev/null
+++ b/srcpkgs/python3-pdfrw/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-pdfrw'
+pkgname=python3-pdfrw
+version=0.4
+revision=4
+archs=noarch
+wrksrc="pdfrw-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+short_desc="Pure Python library that reads and writes PDFs"
+maintainer="Orphaned <orphan@voidlinux.org>"
+license="MIT, BSD-3-Clause"
+homepage="https://github.com/pmaupin/pdfrw"
+distfiles="${PYPI_SITE}/p/pdfrw/pdfrw-${version}.tar.gz"
+checksum=0dc0494a0e6561b268542b28ede2280387c2728114f117d3bb5d8e4787b93ef4
+
+post_install() {
+	vlicense LICENSE.txt
+	vmkdir usr/share/examples/${pkgname}
+	vcopy examples/* usr/share/examples/${pkgname}
+}

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

* Re: [PR PATCH] [Closed]: python-pdfrw: set to python3 only
  2020-01-01  3:47 [PR PATCH] python-pdfrw: set to python3 only voidlinux-github
@ 2020-01-18 15:43 ` voidlinux-github
  0 siblings, 0 replies; 2+ messages in thread
From: voidlinux-github @ 2020-01-18 15:43 UTC (permalink / raw)
  To: ml

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

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

python-pdfrw: set to python3 only
https://github.com/void-linux/void-packages/pull/17961

Description:


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

end of thread, other threads:[~2020-01-18 15:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-01  3:47 [PR PATCH] python-pdfrw: set to python3 only voidlinux-github
2020-01-18 15:43 ` [PR PATCH] [Closed]: " 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).