summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <awilcox@wilcox-tech.com>2021-01-14 18:10:18 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2021-01-14 18:10:18 +0000
commitf14d72df7d79825d9d2fef64139644a30befe1d9 (patch)
treeacb81ff606e86f5719ece0cdd9cf7379a8b1abea
parenta0a60473fd05e9479fd17ff168ba67f9cc73ad74 (diff)
parentc7d608b1beb8d3c154d43f6615098d8fee4f54fd (diff)
downloadpackages-f14d72df7d79825d9d2fef64139644a30befe1d9.tar.gz
packages-f14d72df7d79825d9d2fef64139644a30befe1d9.tar.bz2
packages-f14d72df7d79825d9d2fef64139644a30befe1d9.tar.xz
packages-f14d72df7d79825d9d2fef64139644a30befe1d9.zip
Merge branch 'new/apkvitrine' into 'master'
Add apkvitrine + 2 dependencies See merge request adelie/packages!594
-rw-r--r--user/apkvitrine/APKBUILD22
-rw-r--r--user/py3-apkkit/APKBUILD25
-rw-r--r--user/py3-flup/APKBUILD24
3 files changed, 71 insertions, 0 deletions
diff --git a/user/apkvitrine/APKBUILD b/user/apkvitrine/APKBUILD
new file mode 100644
index 000000000..5ea799e72
--- /dev/null
+++ b/user/apkvitrine/APKBUILD
@@ -0,0 +1,22 @@
+# Maintainer: Max Rees <maxcrees@me.com>
+pkgname=apkvitrine
+pkgver=0.2
+pkgrel=0
+pkgdesc="Package tracker and analyzer for APK repositories"
+url="https://code.foxkit.us/sroracle/apkvitrine"
+arch="noarch"
+options="!check" # No test suite.
+license="NCSA"
+depends="apk-tools~2.12.0 py3-apkkit py3-flup py3-jinja2"
+makedepends=""
+source="https://dev.sick.bike/dist/$pkgname-$pkgver.tar.gz"
+
+build() {
+ make
+}
+
+package() {
+ make install DESTDIR="$pkgdir"
+}
+
+sha512sums="11ec7adfdaaa9c72735a53514457e690f285e415dddeaaefe35024a09f8e01e654628654f2e55c9b67712a42c898e3a864f38d7f60ae8fa435bd64ad04bfc883 apkvitrine-0.2.tar.gz"
diff --git a/user/py3-apkkit/APKBUILD b/user/py3-apkkit/APKBUILD
new file mode 100644
index 000000000..177c9f901
--- /dev/null
+++ b/user/py3-apkkit/APKBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Max Rees <maxcrees@me.com>
+pkgname=py3-apkkit
+_pkgname=${pkgname#py3-}
+pkgver=0.6.0.1
+pkgrel=0
+pkgdesc="Python library for manipulating and verifying APK packages"
+url="https://code.foxkit.us/adelie/apkkit"
+arch="noarch"
+options="!check" # No test suite.
+license="NCSA"
+depends="python3"
+makedepends=""
+source="https://files.pythonhosted.org/packages/source/a/$_pkgname/$_pkgname-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgname-$pkgver"
+
+build() {
+ python3 setup.py build
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+ rm "$pkgdir"/usr/README.rst
+}
+
+sha512sums="ef33047ce765d86872e0b4eb9204ec8741e1bbf3c93257797b2c7a0720bb090a90b83380e5f3194b3788557b9693dd32392e6be8235f82ab2eaf118cba8166e2 apkkit-0.6.0.1.tar.gz"
diff --git a/user/py3-flup/APKBUILD b/user/py3-flup/APKBUILD
new file mode 100644
index 000000000..c9b0013f7
--- /dev/null
+++ b/user/py3-flup/APKBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Max Rees <maxcrees@me.com>
+pkgname=py3-flup
+_pkgname=${pkgname#py3-}
+pkgver=1.0.3
+pkgrel=0
+pkgdesc="Python WSGI module collection"
+url="https://www.saddi.com/software/flup/"
+arch="noarch"
+options="!check" # No test suite.
+license="BSD-2-Clause"
+depends="python3"
+makedepends=""
+source="https://files.pythonhosted.org/packages/source/f/$_pkgname/$_pkgname-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgname-$pkgver"
+
+build() {
+ python3 setup.py build
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="f165685b39a8539d29d48d0ad3c9c0495f428892b8935545a128730687c658a1e8b74a09c8084dd4a2490b1d26f1382b48c95ba43401171fd46876b068ba2f8e flup-1.0.3.tar.gz"