mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 23:53:51 +02:00
New package: python-pyrfc3339-1.0
This commit is contained in:
parent
4fc0eaf595
commit
1d36b0c28d
2 changed files with 34 additions and 0 deletions
33
srcpkgs/python-pyrfc3339/template
Normal file
33
srcpkgs/python-pyrfc3339/template
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
# Template file for 'python-pyrfc3339'
|
||||||
|
pkgname=python-pyrfc3339
|
||||||
|
version=1.0
|
||||||
|
revision=1
|
||||||
|
noarch=yes
|
||||||
|
build_style=python-module
|
||||||
|
python_versions="2.7 3.4"
|
||||||
|
pycompile_module="pyrfc3339"
|
||||||
|
wrksrc="pyRFC3339-${version}"
|
||||||
|
hostmakedepends="python-setuptools python3.4-setuptools"
|
||||||
|
depends="python-pytz"
|
||||||
|
short_desc="Python2 library for generating and parsing RFC3339-compliant timestamps"
|
||||||
|
maintainer="Michael Gehring <mg@ebfe.org>"
|
||||||
|
license="MIT"
|
||||||
|
homepage="https://pythonhosted.org/pyRFC3339/"
|
||||||
|
distfiles="${PYPI_SITE}/p/pyRFC3339/pyRFC3339-${version}.tar.gz"
|
||||||
|
checksum=8dfbc6c458b8daba1c0f3620a8c78008b323a268b27b7359e92a4ae41325f535
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense LICENSE.txt LICENSE
|
||||||
|
}
|
||||||
|
|
||||||
|
python3.4-pyrfc3339_package() {
|
||||||
|
short_desc="${short_desc/Python2/Python3.4}"
|
||||||
|
depends="python3.4-pytz"
|
||||||
|
pycompile_version=3.4
|
||||||
|
pycompile_module="pyrfc3339"
|
||||||
|
noarch=yes
|
||||||
|
pkg_install() {
|
||||||
|
vlicense LICENSE.txt LICENSE
|
||||||
|
vmove /usr/lib/python3.4
|
||||||
|
}
|
||||||
|
}
|
1
srcpkgs/python3.4-pyrfc3339
Symbolic link
1
srcpkgs/python3.4-pyrfc3339
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-pyrfc3339
|
Loading…
Add table
Reference in a new issue