diff options
Diffstat (limited to 'testing/py-yapsy/APKBUILD')
-rw-r--r-- | testing/py-yapsy/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/py-yapsy/APKBUILD b/testing/py-yapsy/APKBUILD new file mode 100644 index 000000000..0775a89a0 --- /dev/null +++ b/testing/py-yapsy/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> +# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> +pkgname=py-yapsy +_pkgname=Yapsy +pkgver=1.10.2 +pkgrel=0 +pkgdesc="A DIY Python plugin management toolkit" +url="http://yapsy.sourceforge.net" +arch="noarch" +license="BSD" +depends="python" +depends_dev="" +makedepends="python-dev py-setuptools" +install="" +subpackages="" +source="https://github.com/tibonihoo/yapsy/archive/release_$_pkgname-$pkgver.tar.gz" + +_builddir="$srcdir"/yapsy-release_$_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 +} + +build() { + cd "$_builddir"/package + python setup.py build || return 1 +} + +package() { + cd "$_builddir"/package + python setup.py install --prefix=/usr --root="$pkgdir" || return 1 +} + +md5sums="95184c689e3a893dae4616de59bda1db release_Yapsy-1.10.2.tar.gz" +sha256sums="2a37ba00cd437c5771970a0b6240c5f474028b95c97e1ab51514d70378ba2a25 release_Yapsy-1.10.2.tar.gz" +sha512sums="083f25cd53d8520ea2c982ff0c8519a0c561bfbfc949cd2e2adfedf062a218f32c2a2683f2d692ee348eab9a8c40db29bff4f616b7da8f23efe05a329ca5d44d release_Yapsy-1.10.2.tar.gz" |