New package: python-fasteners-0.14.1

This commit is contained in:
Leah Neukirchen 2017-06-22 11:54:03 +02:00
parent a60e23ef37
commit e0c0872cf2
3 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,32 @@
# Template file for 'python-fasteners'
pkgname=python-fasteners
version=0.14.1
revision=1
noarch=yes
wrksrc="fasteners-${version}"
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools"
pycompile_module="fasteners"
short_desc="Python package that provides useful locks"
maintainer="Leah Neukirchen <leah@vuxu.org>"
homepage="https://pypi.python.org/pypi/fasteners"
license="Apache-2.0"
distfiles="${PYPI_SITE}/f/fasteners/fasteners-${version}.tar.gz"
checksum=427c76773fe036ddfa41e57d89086ea03111bbac57c55fc55f3006d027107e18
python3-fasteners_package() {
noarch=yes
depends="python3-six"
pycompile_module="fasteners"
replaces="python3.4-fasteners>=0"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}
python3.4-fasteners_package() {
noarch=yes
build_style=meta
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
depends="python3-fasteners>=${version}_${revision}"
}

1
srcpkgs/python3-fasteners Symbolic link
View File

@ -0,0 +1 @@
python-fasteners

1
srcpkgs/python3.4-fasteners Symbolic link
View File

@ -0,0 +1 @@
python-fasteners