[-- Attachment #1: Type: text/plain, Size: 314 bytes --]
There is a new pull request by Chocimier against master on the void-packages repository
https://github.com/Chocimier/void-packages-org python3-editor
https://github.com/void-linux/void-packages/pull/24927
Python3 editor
A patch file from https://github.com/void-linux/void-packages/pull/24927.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-editor-24927.patch --]
[-- Type: text/x-diff, Size: 3147 bytes --]
From 0700558c70d51b1873b897f706c6f5b0bb0c409d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= <chocimier@tlen.pl>
Date: Tue, 15 Sep 2020 18:55:10 +0200
Subject: [PATCH 1/2] python-editor: remove
---
srcpkgs/python3-editor | 1 -
.../template | 24 +++++++------------
2 files changed, 8 insertions(+), 17 deletions(-)
delete mode 120000 srcpkgs/python3-editor
rename srcpkgs/{python-editor => python3-editor}/template (53%)
diff --git a/srcpkgs/python3-editor b/srcpkgs/python3-editor
deleted file mode 120000
index 3a660f15312..00000000000
--- a/srcpkgs/python3-editor
+++ /dev/null
@@ -1 +0,0 @@
-python-editor
\ No newline at end of file
diff --git a/srcpkgs/python-editor/template b/srcpkgs/python3-editor/template
similarity index 53%
rename from srcpkgs/python-editor/template
rename to srcpkgs/python3-editor/template
index 3594e407205..6550c7a1270 100644
--- a/srcpkgs/python-editor/template
+++ b/srcpkgs/python3-editor/template
@@ -1,25 +1,17 @@
-# Template file for 'python-editor'
-pkgname=python-editor
+# Template file for 'python3-editor'
+pkgname=python3-editor
version=1.0.4
revision=2
archs=noarch
-build_style=python-module
+wrksrc="python-editor-${version}"
+build_style=python3-module
pycompile_module="editor"
-hostmakedepends="python-setuptools python3-setuptools"
-depends="python"
-short_desc="Programmatically open an editor, capture the result (Python2)"
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="nano"
+short_desc="Programmatically open an editor, capture the result (Python3)"
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
license="Apache-2.0"
homepage="https://github.com/fmoo/python-editor"
distfiles="${PYPI_SITE}/p/python-editor/python-editor-${version}.tar.gz"
checksum=51fda6bcc5ddbbb7063b2af7509e43bd84bfc32a4ff71349ec7847713882327b
-
-python3-editor_package() {
- archs=noarch
- pycompile_module="editor"
- depends="python3"
- short_desc="${short_desc/Python2/Python3}"
- pkg_install() {
- vmove usr/lib/python3*
- }
-}
From ad0de3cd9e0344d6db19b455afbc6e970271777e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= <chocimier@tlen.pl>
Date: Tue, 15 Sep 2020 18:56:02 +0200
Subject: [PATCH 2/2] python3-editor: drop noarch
---
srcpkgs/python3-editor/template | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-editor/template b/srcpkgs/python3-editor/template
index 6550c7a1270..e714db9894d 100644
--- a/srcpkgs/python3-editor/template
+++ b/srcpkgs/python3-editor/template
@@ -1,15 +1,13 @@
# Template file for 'python3-editor'
pkgname=python3-editor
version=1.0.4
-revision=2
-archs=noarch
+revision=3
wrksrc="python-editor-${version}"
build_style=python3-module
-pycompile_module="editor"
hostmakedepends="python3-setuptools"
depends="python3"
checkdepends="nano"
-short_desc="Programmatically open an editor, capture the result (Python3)"
+short_desc="Programmatically open an editor, capture the result"
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
license="Apache-2.0"
homepage="https://github.com/fmoo/python-editor"