diff options
author | prspkt <prspkt@protonmail.com> | 2018-07-17 06:42:28 +0300 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-07-18 16:55:29 +0000 |
commit | 3c703463627077d506bd3d5b1192128a12b8fbcb (patch) | |
tree | deeb589a4550b5138c34302eb049075067eaa6e5 /testing/py-yapsy | |
parent | 0c5c038e23656bd8ae90257d6d52de95426e792e (diff) | |
download | aports-3c703463627077d506bd3d5b1192128a12b8fbcb.tar.bz2 aports-3c703463627077d506bd3d5b1192128a12b8fbcb.tar.xz |
testing/py-yapsy: clarify license, modernize, use https
Diffstat (limited to 'testing/py-yapsy')
-rw-r--r-- | testing/py-yapsy/APKBUILD | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/testing/py-yapsy/APKBUILD b/testing/py-yapsy/APKBUILD index 37eb2b3a63..f624a78121 100644 --- a/testing/py-yapsy/APKBUILD +++ b/testing/py-yapsy/APKBUILD @@ -4,10 +4,10 @@ pkgname=py-yapsy _pkgname=Yapsy pkgver=1.11.223 pkgrel=1 -pkgdesc="A DIY Python plugin management toolkit" -url="http://yapsy.sourceforge.net" +pkgdesc="DIY Python plugin management toolkit" +url="https://yapsy.sourceforge.net" arch="noarch" -license="BSD" +license="BSD-2-Clause" depends="" depends_dev="" makedepends="py-setuptools python2-dev python3-dev" @@ -15,20 +15,11 @@ install="" subpackages="py2-${pkgname#py-}:_py2 py3-${pkgname#py-}:_py3" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" -_builddir="$srcdir"/$_pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} +builddir="$srcdir"/$_pkgname-$pkgver build() { - cd "$_builddir" - python2 setup.py build || return 1 + cd "$builddir" + python2 setup.py build python3 setup.py build } |