Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=21920cf08443891d0c29ba239033bfe26c790526
commit 21920cf08443891d0c29ba239033bfe26c790526 Author: Baste <[email protected]> Date: Tue Oct 3 12:34:33 2017 +0200 python-idna-2.6-2-x86_64 - Add python3 subpkg diff --git a/source/devel-extra/python-idna/FrugalBuild b/source/devel-extra/python-idna/FrugalBuild index f8225ee..f3bbeb3 100644 --- a/source/devel-extra/python-idna/FrugalBuild +++ b/source/devel-extra/python-idna/FrugalBuild @@ -4,7 +4,7 @@ pkgname=python-idna _F_archive_name="idna" pkgver=2.6 -pkgrel=1 +pkgrel=2 pkgdesc="Internationalized Domain Names in Applications (IDNA)" depends=('python>=2.7') makedepends=('python-distribute') @@ -14,7 +14,18 @@ _F_pypi_name="idna" Finclude pypi sha1sums=('abf5e2e7d8f52dd00e658f1ead4eb9f4d2240bf4') +subpkgs=("python3-$_F_archive_name") +subdescs=('Python 3 Internationalized Domain Names in Applications (IDNA).') +subdepends=('python3>=3.5.2-2') +subrodepends=('') +subgroups=('devel') +subarchs=('x86_64') + build() { Fcd - Fexec python setup.py install --root="$Fdestdir" -O1 || Fdie + #Python3 + Fexec python3 setup.py install --root=$Fdestdir --optimize=1 || Fdie + Fsplit python3-$_F_archive_name usr/lib + #Python2 + Fexec python setup.py install --root=$Fdestdir --optimize=1 || Fdie } _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
