* [PR PATCH] python-grako: set to python3 only
@ 2020-01-01 3:58 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:58 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 316 bytes --]
There is a new pull request by ndowens against master on the void-packages repository
https://github.com/ndowens/void-packages grako
https://github.com/void-linux/void-packages/pull/17962
python-grako: set to python3 only
A patch file from https://github.com/void-linux/void-packages/pull/17962.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-grako-17962.patch --]
[-- Type: text/x-diff, Size: 3400 bytes --]
From ae0768ce48e0f3b25963bf6a8b0181d89325305e Mon Sep 17 00:00:00 2001
From: Nathan Owens <ndowens04@gmail.com>
Date: Tue, 31 Dec 2019 21:51:32 -0600
Subject: [PATCH] python-grako: set to python3 only
---
srcpkgs/python-grako/template | 31 ++-----------------------------
srcpkgs/python3-grako | 1 -
srcpkgs/python3-grako/template | 22 ++++++++++++++++++++++
srcpkgs/python3-grako/update | 2 ++
4 files changed, 26 insertions(+), 30 deletions(-)
delete mode 120000 srcpkgs/python3-grako
create mode 100644 srcpkgs/python3-grako/template
create mode 100644 srcpkgs/python3-grako/update
diff --git a/srcpkgs/python-grako/template b/srcpkgs/python-grako/template
index 2b401732735..b6091ed32f9 100644
--- a/srcpkgs/python-grako/template
+++ b/srcpkgs/python-grako/template
@@ -2,35 +2,8 @@
pkgname=python-grako
version=3.99.9
revision=4
-wrksrc="neogeny-${pkgname/python-/}-275d3c4fe4ac"
-build_style=python-module
-pycompile_module="grako"
-hostmakedepends="python-setuptools python3-setuptools python-Cython python3-Cython"
-makedepends="python-devel python3-devel"
-depends="python-setuptools"
-short_desc="Grammar compiler, EBNF input, PEG/Packrat parser output (Python2)"
+build_style=meta
+short_desc="Grammar compiler, EBNF input, PEG/Packrat parser output (removed package)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-2-Clause"
homepage="https://bitbucket.org/neogeny/grako"
-distfiles="https://bitbucket.org/neogeny/grako/get/${version}.tar.bz2"
-checksum=82cc8d601a272106ed3bbc09f37b04b85f21cbe4c8bbebb41bb9d57ac419696f
-alternatives="grako:grako:/usr/bin/grako2"
-
-pre_build() {
- sed -i '/setup_requires=/d' setup.py
-}
-post_install() {
- vlicense LICENSE.txt
-}
-
-python3-grako_package() {
- pycompile_module="grako"
- depends="python3-setuptools"
- short_desc="${short_desc/Python2/Python3}"
- alternatives="grako:grako:/usr/bin/grako3"
- pkg_install() {
- vmove usr/lib/python3*
- vmove usr/bin/grako3
- vlicense LICENSE.txt
- }
-}
diff --git a/srcpkgs/python3-grako b/srcpkgs/python3-grako
deleted file mode 120000
index f81736e0b04..00000000000
--- a/srcpkgs/python3-grako
+++ /dev/null
@@ -1 +0,0 @@
-python-grako
\ No newline at end of file
diff --git a/srcpkgs/python3-grako/template b/srcpkgs/python3-grako/template
new file mode 100644
index 00000000000..2b155b897e0
--- /dev/null
+++ b/srcpkgs/python3-grako/template
@@ -0,0 +1,22 @@
+# Template file for 'python3-grako'
+pkgname=python3-grako
+version=3.99.9
+revision=5
+wrksrc="neogeny-grako-275d3c4fe4ac"
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-Cython"
+makedepends="python3-devel"
+depends="python3-setuptools"
+short_desc="Grammar compiler, EBNF input, PEG/Packrat parser output"
+maintainer="Orphaned <orphan@voidlinux.org>"
+license="BSD-2-Clause"
+homepage="https://bitbucket.org/neogeny/grako"
+distfiles="https://bitbucket.org/neogeny/grako/get/${version}.tar.bz2"
+checksum=82cc8d601a272106ed3bbc09f37b04b85f21cbe4c8bbebb41bb9d57ac419696f
+
+pre_build() {
+ sed -i '/setup_requires=/d' setup.py
+}
+post_install() {
+ vlicense LICENSE.txt
+}
diff --git a/srcpkgs/python3-grako/update b/srcpkgs/python3-grako/update
new file mode 100644
index 00000000000..219b3c76f15
--- /dev/null
+++ b/srcpkgs/python3-grako/update
@@ -0,0 +1,2 @@
+site="https://bitbucket.org/neogeny/grako/downloads/?tab=tags"
+pattern="[\d\.]*(?=\.tar\.(gz|bz2))"
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PR PATCH] [Closed]: python-grako: set to python3 only
2020-01-01 3:58 [PR PATCH] python-grako: 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-grako: set to python3 only
https://github.com/void-linux/void-packages/pull/17962
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:58 [PR PATCH] python-grako: 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).