aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-sphinxcontrib-seqdiag
diff options
context:
space:
mode:
authorprspkt <prspkt@protonmail.com>2019-06-06 17:14:52 +0300
committerprspkt <prspkt@protonmail.com>2019-06-07 00:09:03 +0300
commit57541c4b9224072b25f6586c34d3c48790efdbcd (patch)
treee97be640bc177b4ed3cd8356f863834524b5d632 /testing/py3-sphinxcontrib-seqdiag
parent9a8755704952504149112846f160a9866ed4f1a4 (diff)
downloadaports-57541c4b9224072b25f6586c34d3c48790efdbcd.tar.bz2
aports-57541c4b9224072b25f6586c34d3c48790efdbcd.tar.xz
testing/py-sphinxcontrib-seqdiag: drop python2
Diffstat (limited to 'testing/py3-sphinxcontrib-seqdiag')
-rw-r--r--testing/py3-sphinxcontrib-seqdiag/APKBUILD43
1 files changed, 43 insertions, 0 deletions
diff --git a/testing/py3-sphinxcontrib-seqdiag/APKBUILD b/testing/py3-sphinxcontrib-seqdiag/APKBUILD
new file mode 100644
index 0000000000..0f96b3d833
--- /dev/null
+++ b/testing/py3-sphinxcontrib-seqdiag/APKBUILD
@@ -0,0 +1,43 @@
+# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
+# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
+pkgname=py3-sphinxcontrib-seqdiag
+_pkgname=sphinxcontrib-seqdiag
+pkgver=0.8.5
+pkgrel=2
+pkgdesc="Sphinx "seqdiag" extension"
+url="https://pypi.python.org/pypi/sphinxcontrib-seqdiag"
+arch="noarch"
+license="BSD"
+depends="py3-seqdiag py3-sphinx"
+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-sphinxcontrib-seqdiag" # for backwards compatibility
+provides="py-sphinxcontrib-seqdiag=$pkgver-r$pkgrel" # for backwards compatibility
+
+build() {
+ cd "$builddir"
+ python2 setup.py build || return 1
+ python3 setup.py build || return 1
+}
+
+package() {
+ cd "$builddir"
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+
+md5sums="01a002b2898bf5e0626e03f653863ce3 sphinxcontrib-seqdiag-0.8.5.tar.gz"
+sha256sums="83c3fdac7e083c5b217f65359c03b75af753209028db6b261b196aff19e7003f sphinxcontrib-seqdiag-0.8.5.tar.gz"
+sha512sums="dcdce24bbf29a060e2344fbab423253e7810547ec6352fa949d392f98c33f008cac25d12e81029441b4303339133d3c6d4010b8aac27ad318b6e8b3b75b35f52 sphinxcontrib-seqdiag-0.8.5.tar.gz"