python-icalendar: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-20 22:24:42 +07:00
parent b4c5ab7dae
commit 69db1f0854
3 changed files with 20 additions and 34 deletions

View file

@ -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 <okiddle@yahoo.co.uk>"
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
}
}

View file

@ -1 +0,0 @@
python-icalendar

View file

@ -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 <okiddle@yahoo.co.uk>"
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
}