New package: python-pyasn1-modules-0.0.8
This commit is contained in:
parent
f8ab4d5b90
commit
e764aef5f7
33
srcpkgs/python-pyasn1-modules/template
Normal file
33
srcpkgs/python-pyasn1-modules/template
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
# Template file for 'python-pyasn1-modules'
|
||||||
|
pkgname=python-pyasn1-modules
|
||||||
|
version=0.0.8
|
||||||
|
revision=1
|
||||||
|
noarch=yes
|
||||||
|
wrksrc="${pkgname#*-}-${version}"
|
||||||
|
build_style=python-module
|
||||||
|
python_versions="2.7 3.4"
|
||||||
|
pycompile_module="pyasn1_modules"
|
||||||
|
hostmakedepends="python-setuptools python3.4-setuptools"
|
||||||
|
depends="python-pyasn1"
|
||||||
|
short_desc="A collection of ASN.1-based protocols modules (Python2)"
|
||||||
|
maintainer="Peter Bui <pnutzh4x0r@gmail.com>"
|
||||||
|
license="2-clause-BSD"
|
||||||
|
homepage="https://pypi.python.org/pypi/pyasn1-modules"
|
||||||
|
distfiles="${PYPI_SITE}/p/pyasn1-modules/pyasn1-modules-${version}.tar.gz"
|
||||||
|
checksum=10561934f1829bcc455c7ecdcdacdb4be5ffd3696f26f468eb6eb41e107f3837
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense LICENSE.txt LICENSE
|
||||||
|
}
|
||||||
|
|
||||||
|
python3.4-pyasn1-modules_package() {
|
||||||
|
noarch=yes
|
||||||
|
depends="python3.4-pyasn1"
|
||||||
|
pycompile_version="3.4"
|
||||||
|
pycompile_module="pyasn1_modules"
|
||||||
|
short_desc="${short_desc/Python2/Python3.4}"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/lib/python3.4
|
||||||
|
vlicense LICENSE.txt LICENSE
|
||||||
|
}
|
||||||
|
}
|
1
srcpkgs/python3.4-pyasn1-modules
Symbolic link
1
srcpkgs/python3.4-pyasn1-modules
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
python-pyasn1-modules
|
Loading…
x
Reference in New Issue
Block a user