mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
python3-isodate: update to 0.7.2.
This commit is contained in:
parent
81db17c38d
commit
02d5d51d99
1 changed files with 7 additions and 11 deletions
|
@ -1,22 +1,18 @@
|
||||||
# Template file for 'python3-isodate'
|
# Template file for 'python3-isodate'
|
||||||
pkgname=python3-isodate
|
pkgname=python3-isodate
|
||||||
version=0.6.1
|
version=0.7.2
|
||||||
revision=4
|
revision=1
|
||||||
build_style=python3-module
|
build_style=python3-pep517
|
||||||
hostmakedepends="python3-setuptools"
|
hostmakedepends="python3-setuptools_scm"
|
||||||
depends="python3-six"
|
depends="python3"
|
||||||
checkdepends="${depends}"
|
checkdepends="python3-pytest"
|
||||||
short_desc="ISO 8601 date/time/duration parser and formatter (Python3)"
|
short_desc="ISO 8601 date/time/duration parser and formatter (Python3)"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="BSD-3-Clause"
|
license="BSD-3-Clause"
|
||||||
homepage="https://github.com/gweis/isodate"
|
homepage="https://github.com/gweis/isodate"
|
||||||
distfiles="${PYPI_SITE}/i/isodate/isodate-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/i/isodate/isodate-${version}.tar.gz"
|
||||||
checksum=48c5881de7e8b0a0d648cb024c8062dc84e7b840ed81e864c7614fd3c127bde9
|
checksum=4cd1aa0f43ca76f4a6c6c0292a85f40b35ec2e43e315b59f06e6d32171a953e6
|
||||||
|
|
||||||
post_install() {
|
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
|
vlicense LICENSE
|
||||||
# remove tests from installed package
|
|
||||||
rm -r ${DESTDIR}/${py3_sitelib}/${pkgname#*-}/tests
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue