From 69db1f085461347139958496ae330ac3092dab9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Sun, 20 Sep 2020 22:24:42 +0700 Subject: [PATCH] python-icalendar: drop package --- srcpkgs/python-icalendar/template | 33 ------------------------------ srcpkgs/python3-icalendar | 1 - srcpkgs/python3-icalendar/template | 20 ++++++++++++++++++ 3 files changed, 20 insertions(+), 34 deletions(-) delete mode 100644 srcpkgs/python-icalendar/template delete mode 120000 srcpkgs/python3-icalendar create mode 100644 srcpkgs/python3-icalendar/template diff --git a/srcpkgs/python-icalendar/template b/srcpkgs/python-icalendar/template deleted file mode 100644 index dbb7ddb8fd3..00000000000 --- a/srcpkgs/python-icalendar/template +++ /dev/null @@ -1,33 +0,0 @@ -# Template file for 'python-icalendar' -pkgname=python-icalendar -version=4.0.6 -revision=1 -archs=noarch -wrksrc="icalendar-${version}" -build_style=python-module -hostmakedepends="python-setuptools python3-setuptools" -depends="python-setuptools python-dateutil python-pytz" -checkdepends="python3-dateutil python3-pytz python3-pytest python3-hypothesis" -short_desc="Parser/generator of iCalendar files for use with Python2" -maintainer="Oliver Kiddle " -license="BSD-2-Clause" -homepage="https://github.com/collective/icalendar" -distfiles="${PYPI_SITE}/i/icalendar/icalendar-${version}.tar.gz" -checksum=7e6fe7232622abe32d8f54d0936ffcd5a9087198a4c2f1ec1803a7dd9fdd979f -alternatives="icalendar:icalendar:/usr/bin/icalendar2" - -post_install() { - vlicense LICENSE.rst LICENSE -} - -python3-icalendar_package() { - archs=noarch - depends="python3-setuptools python3-dateutil python3-pytz" - alternatives="icalendar:icalendar:/usr/bin/icalendar3" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove usr/bin/*3 - vmove usr/lib/python3* - vlicense LICENSE.rst LICENSE - } -} diff --git a/srcpkgs/python3-icalendar b/srcpkgs/python3-icalendar deleted file mode 120000 index ac651ba0a62..00000000000 --- a/srcpkgs/python3-icalendar +++ /dev/null @@ -1 +0,0 @@ -python-icalendar \ No newline at end of file diff --git a/srcpkgs/python3-icalendar/template b/srcpkgs/python3-icalendar/template new file mode 100644 index 00000000000..8d3514449bf --- /dev/null +++ b/srcpkgs/python3-icalendar/template @@ -0,0 +1,20 @@ +# Template file for 'python3-icalendar' +pkgname=python3-icalendar +version=4.0.6 +revision=2 +wrksrc="icalendar-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3-setuptools python3-dateutil python3-pytz" +checkdepends="python3-dateutil python3-pytz python3-pytest python3-hypothesis" +short_desc="Parser/generator of iCalendar files for use with Python3" +maintainer="Oliver Kiddle " +license="BSD-2-Clause" +homepage="https://github.com/collective/icalendar" +distfiles="${PYPI_SITE}/i/icalendar/icalendar-${version}.tar.gz" +checksum=7e6fe7232622abe32d8f54d0936ffcd5a9087198a4c2f1ec1803a7dd9fdd979f +conflicts="python-icalendar>=0" + +post_install() { + vlicense LICENSE.rst LICENSE +}