From 30bce4f86f036808d552ba2cb35fa5cc7996e17f Mon Sep 17 00:00:00 2001 From: Francesco Colista Date: Mon, 22 Aug 2016 14:16:12 +0000 Subject: [PATCH] community/py-mechanize: moved from testing --- {testing => community}/py-mechanize/APKBUILD | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) rename {testing => community}/py-mechanize/APKBUILD (72%) diff --git a/testing/py-mechanize/APKBUILD b/community/py-mechanize/APKBUILD similarity index 72% rename from testing/py-mechanize/APKBUILD rename to community/py-mechanize/APKBUILD index c7c661a271c..e7e9576fe6b 100644 --- a/testing/py-mechanize/APKBUILD +++ b/community/py-mechanize/APKBUILD @@ -9,21 +9,20 @@ url="http://wwwsearch.sourceforge.net/mechanize/" arch="noarch" license="BSD ZPL" depends= -depends_dev="python-dev py-setuptools" -makedepends="$depends_dev" +makedepends="python2-dev py-setuptools" install="" subpackages="" source="http://wwwsearch.sourceforge.net/$_pkgname/src/$_pkgname-$pkgver.tar.gz" -_builddir="$srcdir"/$_pkgname-$pkgver +builddir="$srcdir"/$_pkgname-$pkgver build() { - cd "$_builddir" - python setup.py build || return 1 + cd "$builddir" + python2 setup.py build || return 1 } package() { - cd "$_builddir" - python setup.py install --prefix=/usr --root="$pkgdir" || return 1 + cd "$builddir" + python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1 install -Dm644 COPYING.txt ${pkgdir}/usr/share/licenses/custom/${pkgname}/COPYING.txt }