diff options
author | prspkt <prspkt@protonmail.com> | 2019-06-06 17:56:31 +0300 |
---|---|---|
committer | prspkt <prspkt@protonmail.com> | 2019-06-06 19:06:22 +0300 |
commit | 924226302de716e2634355d87379f37d78c3732f (patch) | |
tree | 88d5cc9175f4c11c7197acae83ec30bfb8386dda /testing/py3-actdiag | |
parent | 9d295b082b44dbf507238776a52b3a081b2ec007 (diff) | |
download | aports-924226302de716e2634355d87379f37d78c3732f.tar.bz2 aports-924226302de716e2634355d87379f37d78c3732f.tar.xz |
testing/py3-actdiag: modernize
Diffstat (limited to 'testing/py3-actdiag')
-rw-r--r-- | testing/py3-actdiag/APKBUILD | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/testing/py3-actdiag/APKBUILD b/testing/py3-actdiag/APKBUILD index 3eb655125f..60d97c2021 100644 --- a/testing/py3-actdiag/APKBUILD +++ b/testing/py3-actdiag/APKBUILD @@ -4,7 +4,7 @@ pkgname=py3-actdiag _pkgname=actdiag pkgver=0.5.4 pkgrel=3 -pkgdesc="actdiag generate activity-diagram image file from spec-text file" +pkgdesc="Generate activity-diagram image file from spec-text file" url="https://pypi.python.org/pypi/actdiag" arch="noarch" license="Apache-2.0" @@ -13,29 +13,15 @@ makedepends="py3-setuptools" 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 -} - replaces="py-actdiag" # for backwards compatibility provides="py-actdiag=$pkgver-r$pkgrel" # for backwards compatibility build() { - cd "$builddir" - python3 setup.py build || return 1 + python3 setup.py build } package() { - cd "$builddir" python3 setup.py install --prefix=/usr --root="$pkgdir" } -md5sums="d254a4dbac727ba7bee1b252e530cb3f actdiag-0.5.4.tar.gz" -sha256sums="983071777d9941093aaef3be1f67c198a8ac8d2bba264cdd1f337ca415ab46af actdiag-0.5.4.tar.gz" sha512sums="cb294112752cd3e501a731f7775d73c6a435d37998a89d5eec22ba1b1d882ce252291ee6785336d2be7894aba4be968ada28a450ae48c6b6d247cdb035f5936a actdiag-0.5.4.tar.gz" |