New package: python-chroot-0.9.15

This commit is contained in:
Toyam Cox 2016-08-04 21:16:58 -04:00
parent ed023d0790
commit 851d36fd16
2 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,36 @@
# Template file for 'python-chroot'
pkgname=python-chroot
version=0.9.15
revision=1
_distname=pychroot
wrksrc="${_distname}-${version}"
build_style=python-module
pycompile_module="${_distname}"
python_versions="2.7 3.4"
pycompile_version="2.7"
noarch=yes
hostmakedepends="python-setuptools python3.4-setuptools"
makedepends="python-snakeoil python3.4-snakeoil"
depends="python-snakeoil"
short_desc="Python2 Library and CLI tool that simplify chroot handling"
maintainer="Toyam Cox <Vaelatern@gmail.com>"
license="BSD"
homepage="https://github.com/pkgcore/pychroot"
distfiles="${PYPI_SITE}/$(printf %.1s $_distname)/${_distname}/${_distname}-${version}.tar.gz"
checksum=d2cf687b9c890fe5adea73d1b248d3d09d3d629d946be1fc6be989eddc9f5152
post_install() {
vlicense LICENSE
}
python3.4-chroot_package() {
noarch=yes
depends="${depends/python-/python3.4-}"
pycompile_version="3.4"
short_desc="${short_desc/Python2/Python3.4}"
pkg_install() {
vmove usr/lib/python3.4
vmove usr/bin/pychroot3.4
vlicense LICENSE
}
}

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

@ -0,0 +1 @@
python-chroot