New package: python-iso-8601-0.3.0
This commit is contained in:
parent
96e6f75941
commit
ecae7ac08e
2 changed files with 31 additions and 0 deletions
30
srcpkgs/python-iso-8601/template
Normal file
30
srcpkgs/python-iso-8601/template
Normal file
|
@ -0,0 +1,30 @@
|
|||
# Template file for 'python-iso-8601'
|
||||
pkgname=python-iso-8601
|
||||
version=0.3.0
|
||||
revision=1
|
||||
archs=noarch
|
||||
wrksrc="iso-8601-${version}"
|
||||
build_style=python-module
|
||||
pycompile_module="iso8601"
|
||||
hostmakedepends="python-setuptools python3-setuptools"
|
||||
depends="python"
|
||||
short_desc="Python2 library that provides cryptographic recipes and primitives"
|
||||
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
|
||||
license="BSD-2-Clause"
|
||||
homepage="https://pypi.org/project/iso-8601/"
|
||||
distfiles="${PYPI_SITE}/i/iso-8601/iso-8601-${version}.tar.gz"
|
||||
checksum=1b9f74df591812732b69a1cfba5196e176138bf5b0b49a920af5804924cc27e0
|
||||
|
||||
post_install() {
|
||||
vlicense PKG-INFO
|
||||
}
|
||||
|
||||
python3-iso-8601_package() {
|
||||
depends="python3"
|
||||
pycompile_module="iso8601"
|
||||
short_desc="${short_desc/Python2/Python3}"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python3*
|
||||
vlicense PKG-INFO
|
||||
}
|
||||
}
|
1
srcpkgs/python3-iso-8601
Symbolic link
1
srcpkgs/python3-iso-8601
Symbolic link
|
@ -0,0 +1 @@
|
|||
python-iso-8601
|
Loading…
Reference in a new issue