Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH]  python2-astral: Set for python3 only
@ 2020-01-01  2:46 voidlinux-github
  2020-01-18 15:44 ` [PR PATCH] [Closed]: python-astral: " voidlinux-github
  2020-01-18 15:44 ` voidlinux-github
  0 siblings, 2 replies; 3+ messages in thread
From: voidlinux-github @ 2020-01-01  2:46 UTC (permalink / raw)
  To: ml

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

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

https://github.com/ndowens/void-packages astral
https://github.com/void-linux/void-packages/pull/17958

 python2-astral: Set for python3 only 


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

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

From 8481c36bb7a2270e4ccc9af6e57d9fc8bdf7bf82 Mon Sep 17 00:00:00 2001
From: Nathan Owens <ndowens04@gmail.com>
Date: Tue, 31 Dec 2019 20:08:40 -0600
Subject: [PATCH 1/2] python3-astral: Set for python3 only

---
 srcpkgs/python3-astral          |  1 -
 srcpkgs/python3-astral/template | 15 +++++++++++++++
 2 files changed, 15 insertions(+), 1 deletion(-)
 delete mode 120000 srcpkgs/python3-astral
 create mode 100644 srcpkgs/python3-astral/template

diff --git a/srcpkgs/python3-astral b/srcpkgs/python3-astral
deleted file mode 120000
index 99f59d4f73b..00000000000
--- a/srcpkgs/python3-astral
+++ /dev/null
@@ -1 +0,0 @@
-python-astral
\ No newline at end of file
diff --git a/srcpkgs/python3-astral/template b/srcpkgs/python3-astral/template
new file mode 100644
index 00000000000..57469ec21fa
--- /dev/null
+++ b/srcpkgs/python3-astral/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-astral'
+pkgname=python3-astral
+version=1.10.1
+revision=3
+archs=noarch
+wrksrc="astral-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-requests python3-pytz"
+short_desc="Calculations for the position of the sun and moon (Python2)"
+maintainer="Cameron Nemo <camerontnorman@gmail.com>"
+license="Apache-2.0"
+homepage="https://github.com/sffjunkie/astral"
+distfiles="${homepage}/archive/${version}.tar.gz"
+checksum=034817c11d5c7f55ef550b5ac00d8235eae92ff8abab6550098e14921bc4c598

From ae1e7f6cc1213878a2347846403f8330348990ec Mon Sep 17 00:00:00 2001
From: Nathan Owens <ndowens04@gmail.com>
Date: Tue, 31 Dec 2019 20:09:09 -0600
Subject: [PATCH 2/2] python-astral: set to meta for removal

---
 srcpkgs/python-astral/template | 18 +-----------------
 1 file changed, 1 insertion(+), 17 deletions(-)

diff --git a/srcpkgs/python-astral/template b/srcpkgs/python-astral/template
index 07aaeee166b..8ed708d328f 100644
--- a/srcpkgs/python-astral/template
+++ b/srcpkgs/python-astral/template
@@ -3,24 +3,8 @@ pkgname=python-astral
 version=1.10.1
 revision=2
 archs=noarch
-wrksrc="${pkgname#python-}-${version}"
-build_style=python-module
-pycompile_module="astral.py"
-hostmakedepends="python python-setuptools python3 python3-setuptools"
-depends="python-requests python-pytz"
+build_style=meta
 short_desc="Calculations for the position of the sun and moon (Python2)"
 maintainer="Cameron Nemo <camerontnorman@gmail.com>"
 license="Apache-2.0"
 homepage="https://github.com/sffjunkie/astral"
-distfiles="${homepage}/archive/${version}.tar.gz"
-checksum=034817c11d5c7f55ef550b5ac00d8235eae92ff8abab6550098e14921bc4c598
-
-python3-astral_package() {
-	archs=noarch
-	pycompile_module="astral.py"
-	depends="python3-requests python3-pytz"
-	short_desc="${short_desc/Python2/Python3}"
-	pkg_install() {
-		vmove "usr/lib/python3*"
-	}
-}

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

* Re: [PR PATCH] [Closed]:  python-astral: Set for python3 only
  2020-01-01  2:46 [PR PATCH] python2-astral: Set for python3 only voidlinux-github
@ 2020-01-18 15:44 ` voidlinux-github
  2020-01-18 15:44 ` voidlinux-github
  1 sibling, 0 replies; 3+ messages in thread
From: voidlinux-github @ 2020-01-18 15:44 UTC (permalink / raw)
  To: ml

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

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

 python-astral: Set for python3 only 
https://github.com/void-linux/void-packages/pull/17958

Description:


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

* Re: [PR PATCH] [Closed]:  python-astral: Set for python3 only
  2020-01-01  2:46 [PR PATCH] python2-astral: Set for python3 only voidlinux-github
  2020-01-18 15:44 ` [PR PATCH] [Closed]: python-astral: " voidlinux-github
@ 2020-01-18 15:44 ` voidlinux-github
  1 sibling, 0 replies; 3+ messages in thread
From: voidlinux-github @ 2020-01-18 15:44 UTC (permalink / raw)
  To: ml

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

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

 python-astral: Set for python3 only 
https://github.com/void-linux/void-packages/pull/17958

Description:


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

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

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