New package: python-backports-1.0
This commit is contained in:
parent
05c4a79b49
commit
fec55a0570
28
srcpkgs/python-backports/template
Normal file
28
srcpkgs/python-backports/template
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
# Template file for 'python-backports'
|
||||||
|
pkgname=python-backports
|
||||||
|
version=1.0
|
||||||
|
revision=1
|
||||||
|
noarch=yes
|
||||||
|
wrksrc="backports-${version}"
|
||||||
|
build_style=python-module
|
||||||
|
python_versions="2.7 3.4"
|
||||||
|
pycompile_module="backports"
|
||||||
|
hostmakedepends="python python3.4"
|
||||||
|
depends="python"
|
||||||
|
short_desc="Namespace for backported Python features (Python2)"
|
||||||
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||||
|
homepage="https://bitbucket.org/brandon/backports"
|
||||||
|
license="PSF"
|
||||||
|
distfiles="https://dev.gentoo.org/~radhermit/dist/backports-${version}.tar.gz"
|
||||||
|
checksum=ee43d5b7bf4e79e04fbab30a09421cb5cbf4f56e7c14769393a7d1c34ea5e740
|
||||||
|
|
||||||
|
python3.4-backports_package() {
|
||||||
|
noarch=yes
|
||||||
|
pycompile_version="3.4"
|
||||||
|
pycompile_module="backports"
|
||||||
|
depends="python3.4"
|
||||||
|
short_desc="${short_desc/Python2/Python3.4}"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/lib/python3.4
|
||||||
|
}
|
||||||
|
}
|
1
srcpkgs/python3.4-backports
Symbolic link
1
srcpkgs/python3.4-backports
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
python-backports
|
Loading…
x
Reference in New Issue
Block a user