Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: [PR PATCH] python-envdir: set to python3 only
Date: Wed, 01 Jan 2020 05:06:04 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-17963@inbox.vuxu.org> (raw)

[-- 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 envdir
https://github.com/void-linux/void-packages/pull/17963

python-envdir: set to python3 only


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

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

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

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

diff --git a/srcpkgs/python-envdir/template b/srcpkgs/python-envdir/template
index b8cccad60ac..525c7b43694 100644
--- a/srcpkgs/python-envdir/template
+++ b/srcpkgs/python-envdir/template
@@ -3,36 +3,8 @@ pkgname=python-envdir
 version=1.0.1
 revision=3
 archs=noarch
-wrksrc="${pkgname/python-//}-${version}"
-build_style=python-module
-pycompile_module="envdir"
-hostmakedepends="python-setuptools python3-setuptools"
-depends="python-setuptools"
-short_desc="Python2 port of daemontools' envdir"
+build_style=meta
+short_desc="Python2 port of daemontools' envdir(removed package)"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://github.com/jezdez/envdir"
-distfiles="https://github.com/jezdez/envdir/archive/${version}.tar.gz"
-checksum=779a308a07a673f391db87ef639d4b0f9921238bba02dd3e98c3281520faee95
-alternatives="
- envdir:envdir:/usr/bin/envdir2
- envdir:envshell:/usr/bin/envshell2"
-
-post_install() {
-	vlicense LICENSE
-}
-
-python3-envdir_package() {
-	alternatives="
-	 envdir:envdir:/usr/bin/envdir3
-	 envdir:envshell:/usr/bin/envshell3"
-	archs=noarch
-	pycompile_module="envdir"
-	depends="python3-setuptools"
-	short_desc="${short_desc/Python2/Python3}"
-	pkg_install() {
-		vmove usr/bin/*3
-		vmove usr/lib/python3*
-		vlicense LICENSE
-	}
-}
diff --git a/srcpkgs/python3-envdir b/srcpkgs/python3-envdir
deleted file mode 120000
index c07d3a24f31..00000000000
--- a/srcpkgs/python3-envdir
+++ /dev/null
@@ -1 +0,0 @@
-python-envdir
\ No newline at end of file
diff --git a/srcpkgs/python3-envdir/template b/srcpkgs/python3-envdir/template
new file mode 100644
index 00000000000..21731236663
--- /dev/null
+++ b/srcpkgs/python3-envdir/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-envdir'
+pkgname=python3-envdir
+version=1.0.1
+revision=4
+archs=noarch
+wrksrc="envdir-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-setuptools"
+short_desc="Python port of daemontools' envdir"
+maintainer="Orphaned <orphan@voidlinux.org>"
+license="MIT"
+homepage="https://github.com/jezdez/envdir"
+distfiles="https://github.com/jezdez/envdir/archive/${version}.tar.gz"
+checksum=779a308a07a673f391db87ef639d4b0f9921238bba02dd3e98c3281520faee95
+
+post_install() {
+	vlicense LICENSE
+}

             reply	other threads:[~2020-01-01  4:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-01  4:06 voidlinux-github [this message]
2020-01-18 15:43 ` [PR PATCH] [Closed]: " voidlinux-github

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-17963@inbox.vuxu.org \
    --to=voidlinux-github@inbox.vuxu.org \
    --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).