From 8481c36bb7a2270e4ccc9af6e57d9fc8bdf7bf82 Mon Sep 17 00:00:00 2001 From: Nathan Owens 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 " +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 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 " 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*" - } -}