diff options
author | prspkt <prspkt@protonmail.com> | 2019-06-01 18:53:50 +0300 |
---|---|---|
committer | prspkt <prspkt@protonmail.com> | 2019-06-01 18:55:32 +0300 |
commit | 9dd9b4672b3573e841f956962536fa9326dbd37f (patch) | |
tree | 7348ce6befe17ed6f3f8055d82e370e3c5b18637 | |
parent | efaa33e87086950f1074c88ffe1805d6d3c97ff6 (diff) | |
download | aports-9dd9b4672b3573e841f956962536fa9326dbd37f.tar.bz2 aports-9dd9b4672b3573e841f956962536fa9326dbd37f.tar.xz |
testing/py-xdg: modernize
-rw-r--r-- | testing/py-xdg/APKBUILD | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/testing/py-xdg/APKBUILD b/testing/py-xdg/APKBUILD index 60a46d20da..05a04f6836 100644 --- a/testing/py-xdg/APKBUILD +++ b/testing/py-xdg/APKBUILD @@ -10,20 +10,10 @@ arch="noarch" license="LGPL-2.1-only" depends="" makedepends="python2 python3" -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() { python2 setup.py build |