New package: python-attrs-15.2.0
This commit is contained in:
parent
ad9b7e0a2b
commit
30fb52b728
|
@ -0,0 +1,26 @@
|
||||||
|
# Template file for 'python-attrs'
|
||||||
|
pkgname=python-attrs
|
||||||
|
version=15.2.0
|
||||||
|
revision=1
|
||||||
|
noarch==yes
|
||||||
|
wrksrc="attrs-${version}"
|
||||||
|
build_style=python-module
|
||||||
|
python_versions="2.7 3.4"
|
||||||
|
pycompile_module="attrs"
|
||||||
|
hostmakedepends="python-setuptools python3.4-setuptools"
|
||||||
|
short_desc="Python2 attributes without boilerplate."
|
||||||
|
maintainer="Michael Gehring <mg@ebfe.org>"
|
||||||
|
license="MIT"
|
||||||
|
homepage="https://attrs.readthedocs.org/"
|
||||||
|
distfiles="${PYPI_SITE}/a/attrs/attrs-${version}.tar.gz"
|
||||||
|
checksum=9f895d2ecefa0be054e29375769f1d0ee88e93ce820088cf5c49390529bf7ee7
|
||||||
|
|
||||||
|
python3.4-attrs_package() {
|
||||||
|
noarch=yes
|
||||||
|
pycompile_version="3.4"
|
||||||
|
pycompile_module="attrs"
|
||||||
|
short_desc="${short_desc/Python2/Python3.4}"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/lib/python3.4
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1 @@
|
||||||
|
python-attrs
|
Loading…
Reference in New Issue