From f23d6f853eaf9dc843aabdfe051903a61e51f3f5 Mon Sep 17 00:00:00 2001 From: Cameron Nemo Date: Sat, 15 Feb 2020 19:12:37 -0800 Subject: [PATCH] python3-astral: update to 2.1 python-astral: remove --- srcpkgs/python-astral/template | 26 -------------------------- srcpkgs/python3-astral | 1 - srcpkgs/python3-astral/template | 15 +++++++++++++++ 3 files changed, 15 insertions(+), 27 deletions(-) delete mode 100644 srcpkgs/python-astral/template delete mode 120000 srcpkgs/python3-astral create mode 100644 srcpkgs/python3-astral/template diff --git a/srcpkgs/python-astral/template b/srcpkgs/python-astral/template deleted file mode 100644 index 07aaeee166..0000000000 --- a/srcpkgs/python-astral/template +++ /dev/null @@ -1,26 +0,0 @@ -# Template file for 'python-astral' -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" -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*" - } -} diff --git a/srcpkgs/python3-astral b/srcpkgs/python3-astral deleted file mode 120000 index 99f59d4f73..0000000000 --- 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 0000000000..146b5144a1 --- /dev/null +++ b/srcpkgs/python3-astral/template @@ -0,0 +1,15 @@ +# Template file for 'python3-astral' +pkgname=python3-astral +version=2.1 +revision=1 +archs=noarch +wrksrc="${pkgname#python3-}-${version}" +build_style=python3-module +hostmakedepends="python3 python3-setuptools" +depends="python3-pytz" +short_desc="Calculations for the position of the sun and moon (Python3)" +maintainer="Cameron Nemo " +license="Apache-2.0" +homepage="https://github.com/sffjunkie/astral" +distfiles="${PYPI_SITE}/a/astral/astral-${version}.tar.gz" +checksum=7f57ad3ed2aa00fbed2893d82cdd2000e0723a5dbe167e1b7f847cc555596f65