aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-yapsy/APKBUILD
blob: 0775a89a0faf1bfa762736aab6a5a80a6d786c25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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"