mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
python3-isodate: update to 0.6.1, remove python-isodate.
python-isodate was only needed by python-rdflib.
This commit is contained in:
parent
3b124b5116
commit
93cdeb2e4c
4 changed files with 25 additions and 32 deletions
|
@ -1,30 +0,0 @@
|
||||||
# Template file for 'python-isodate'
|
|
||||||
pkgname=python-isodate
|
|
||||||
version=0.6.0
|
|
||||||
revision=5
|
|
||||||
wrksrc="isodate-${version}"
|
|
||||||
build_style=python-module
|
|
||||||
pycompile_module="isodate"
|
|
||||||
hostmakedepends="python-setuptools python3-setuptools"
|
|
||||||
depends="python-six"
|
|
||||||
short_desc="ISO 8601 date/time/duration parser and formatter (Python2)"
|
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
||||||
homepage="https://github.com/gweis/isodate"
|
|
||||||
license="3-clause-BSD"
|
|
||||||
distfiles="${PYPI_SITE}/i/isodate/isodate-${version}.tar.gz"
|
|
||||||
checksum=2e364a3d5759479cdb2d37cce6b9376ea504db2ff90252a2e5b7cc89cc9ff2d8
|
|
||||||
|
|
||||||
post_install() {
|
|
||||||
sed -n '/Copyright/,/CONTRACT/p' src/isodate/__init__.py >LICENSE
|
|
||||||
vlicense LICENSE
|
|
||||||
}
|
|
||||||
|
|
||||||
python3-isodate_package() {
|
|
||||||
depends="python3-six"
|
|
||||||
pycompile_module="isodate"
|
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
|
||||||
pkg_install() {
|
|
||||||
vmove usr/lib/python3*
|
|
||||||
vlicense LICENSE
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1 +0,0 @@
|
||||||
python-isodate
|
|
23
srcpkgs/python3-isodate/template
Normal file
23
srcpkgs/python3-isodate/template
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
# Template file for 'python3-isodate'
|
||||||
|
pkgname=python3-isodate
|
||||||
|
version=0.6.1
|
||||||
|
revision=1
|
||||||
|
wrksrc="${pkgname#*-}-${version}"
|
||||||
|
build_style=python3-module
|
||||||
|
hostmakedepends="python3-setuptools"
|
||||||
|
depends="python3-six"
|
||||||
|
checkdepends="${depends}"
|
||||||
|
short_desc="ISO 8601 date/time/duration parser and formatter (Python3)"
|
||||||
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
|
license="BSD-3-Clause"
|
||||||
|
homepage="https://github.com/gweis/isodate"
|
||||||
|
distfiles="${PYPI_SITE}/i/isodate/isodate-${version}.tar.gz"
|
||||||
|
checksum=48c5881de7e8b0a0d648cb024c8062dc84e7b840ed81e864c7614fd3c127bde9
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
# licence is in a separate file at HEAD of master, but not released
|
||||||
|
sed -n '/Copyright/,/CONTRACT/p' src/isodate/__init__.py >LICENSE
|
||||||
|
vlicense LICENSE
|
||||||
|
# remove tests from installed package
|
||||||
|
rm -r ${DESTDIR}/${py3_sitelib}/${pkgname#*-}/tests
|
||||||
|
}
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'removed-packages'
|
# Template file for 'removed-packages'
|
||||||
pkgname=removed-packages
|
pkgname=removed-packages
|
||||||
version=0.1
|
version=0.1
|
||||||
revision=70
|
revision=71
|
||||||
build_style=meta
|
build_style=meta
|
||||||
short_desc="Uninstalls packages removed from repository"
|
short_desc="Uninstalls packages removed from repository"
|
||||||
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
|
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
|
||||||
|
@ -303,6 +303,7 @@ replaces="
|
||||||
python-gntp<=1.0.3_7
|
python-gntp<=1.0.3_7
|
||||||
python-gobject-devel<=3.36.1_2
|
python-gobject-devel<=3.36.1_2
|
||||||
python-gobject<=3.36.1_2
|
python-gobject<=3.36.1_2
|
||||||
|
python-isodate<=0.6.0_5
|
||||||
python-iso8601<=0.1.16_2
|
python-iso8601<=0.1.16_2
|
||||||
python-jellyfish<=0.6.1_2
|
python-jellyfish<=0.6.1_2
|
||||||
python-lockfile<=0.12.2_7
|
python-lockfile<=0.12.2_7
|
||||||
|
|
Loading…
Add table
Reference in a new issue