31 lines
814 B
Bash
31 lines
814 B
Bash
# Template file for 'python-iso-8601'
|
|
pkgname=python-iso-8601
|
|
version=0.3.0
|
|
revision=2
|
|
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
|
|
}
|
|
}
|