aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2020-07-13 13:45:43 +0200
committerLeo <thinkabit.ukim@gmail.com>2020-07-21 19:34:26 +0000
commited132a0d10e61e2fa0732c871a4a92ccff760d41 (patch)
tree98d7ec032cf59b5bcd80c3fefbb2d32469fc6cb2
parent604efbe36d2d55619dfc948b30bbdd8ae2bc43c4 (diff)
downloadaports-ed132a0d10e61e2fa0732c871a4a92ccff760d41.tar.gz
aports-ed132a0d10e61e2fa0732c871a4a92ccff760d41.tar.bz2
aports-ed132a0d10e61e2fa0732c871a4a92ccff760d41.tar.xz
community/py3-pydot: move from testing
-rw-r--r--community/py3-pydot/APKBUILD (renamed from testing/py3-pydot/APKBUILD)20
1 files changed, 10 insertions, 10 deletions
diff --git a/testing/py3-pydot/APKBUILD b/community/py3-pydot/APKBUILD
index 7af6d736f2..c05dcd147f 100644
--- a/testing/py3-pydot/APKBUILD
+++ b/community/py3-pydot/APKBUILD
@@ -1,25 +1,25 @@
# Contributor: Russ Webber <russ@rw.id.au>
# Maintainer: Russ Webber <russ@rw.id.au>
-pkgname="py3-pydot"
-_pkgname="pydot"
-pkgver="1.4.1"
-pkgrel=1
+pkgname=py3-pydot
+pkgver=1.4.1
+pkgrel=2
pkgdesc="Python interface to Graphviz's Dot language"
url="https://github.com/pydot/pydot"
arch="noarch"
license="MIT"
-options="!check" # graphviz unable to parse jpe files
depends="python3 py3-parsing"
-makedepends="py3-setuptools" # required for test: py3-chardet graphviz
-source="$_pkgname-$pkgver.tar.gz::https://github.com/$_pkgname/$_pkgname/archive/v$pkgver.tar.gz"
-builddir="$srcdir/$_pkgname-$pkgver"
+makedepends="py3-setuptools"
+checkdepends="py3-chardet graphviz"
+source="https://github.com/pydot/pydot/archive/v$pkgver/pydot-v$pkgver.tar.gz"
+options="!check" # graphviz unable to parse jpe files
+builddir="$srcdir/pydot-$pkgver"
build() {
python3 setup.py build
}
check() {
- cd "$builddir/test"
+ cd test
PYTHONPATH="$builddir/build/lib" python3 pydot_unittest.py
}
@@ -27,4 +27,4 @@ package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
-sha512sums="b5f16b59908586df61cd415cb1a3e242fb69c39674a82b171862beff1f3727f47cba39bdd806901cb56bc8a6888783a53d112b1b70044e124ea992789d77f938 pydot-1.4.1.tar.gz"
+sha512sums="b5f16b59908586df61cd415cb1a3e242fb69c39674a82b171862beff1f3727f47cba39bdd806901cb56bc8a6888783a53d112b1b70044e124ea992789d77f938 pydot-v1.4.1.tar.gz"