Github messages for voidlinux
 help / color / mirror / Atom feed
From: Chocimier <Chocimier@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] Python3 editor
Date: Tue, 15 Sep 2020 20:56:46 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-24927@inbox.vuxu.org> (raw)

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

             reply	other threads:[~2020-09-15 18:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-15 18:56 Chocimier [this message]
2020-09-16 19:29 ` [PR PATCH] [Merged]: python-editor: remove py2, drop noarch 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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-24927@inbox.vuxu.org \
    --to=chocimier@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).