A builds.sr.ht/APKBUILD => builds.sr.ht/APKBUILD +40 -0
@@ 0,0 1,40 @@
+# Maintainer: Drew DeVault <sir@cmpwn.com>
+pkgname=builds.sr.ht
+pkgver=0.4.6
+pkgrel=1
+pkgdesc="sr.ht build service"
+url="https://git.sr.ht/~sircmpwn/builds.sr.ht"
+arch="noarch"
+license="AGPLv3"
+depends="
+ py3-srht
+ py3-pgpy
+ py3-celery
+ py3-redis
+ py3-yaml
+ py3-markdown
+ py3-bleach
+"
+makedepends="py-setuptools nodejs sassc"
+subpackages="$pkgname-images"
+source="http://git.sr.ht/~sircmpwn/$pkgname/snapshot/$pkgname-$pkgver.tar.xz"
+builddir="$srcdir/$pkgname-$pkgver"
+export PKGVER=$pkgver
+
+build() {
+ cd "$builddir"
+ python3 setup.py build
+}
+
+package() {
+ cd "$builddir"
+ python3 setup.py install --root="$pkgdir" --optimize=1
+}
+
+images() {
+ cd "$builddir"
+ mkdir -p "$subpkgdir"/var/lib/
+ cp -R images "$subpkgdir"/var/lib/
+}
+
+sha512sums="9eab18643eec0f282a564c2d49b96f184719707d35df5cc4fdced0c8157a9004a95dc0e878f989a1f9eaadd3171316d566b957f53206ddc837965d3c8242994d builds.sr.ht-0.4.6.tar.xz"
A py3-billiard/APKBUILD => py3-billiard/APKBUILD +25 -0
@@ 0,0 1,25 @@
+# Maintainer: Drew DeVault <sir@cmpwn.com>
+_name=billiard
+pkgname=py3-billiard
+pkgver=3.5.0.2
+pkgrel=1
+pkgdesc="Python multiprocessing fork with improvements and bugfixes."
+url="http://pypi.python.org/pypi/billiard"
+arch="noarch"
+license="BSD"
+depends="python3"
+makedepends="py-setuptools"
+source="https://pypi.io/packages/source/b/billiard/billiard-$pkgver.tar.gz"
+builddir="$srcdir/${_name}-${pkgver}"
+
+check() {
+ cd "$builddir"
+ python3 setup.py check
+}
+
+package() {
+ cd "$builddir"
+ python3 setup.py install --root="$pkgdir" --optimize=1
+}
+
+sha512sums="581e1ac361324b36d79e280072952e490ef3470709b094f001c579feda54578c8e7b3e5afc93a5f878a6118c56afff7e59e13b3d3f2ccb2564b9b27cc810dae7 billiard-3.5.0.2.tar.gz"
A py3-celery/APKBUILD => py3-celery/APKBUILD +29 -0
@@ 0,0 1,29 @@
+# Maintainer: Drew DeVault <sir@cmpwn.com>
+_name=celery
+pkgname=py3-celery
+pkgver=4.1.0
+pkgrel=1
+pkgdesc="Distributed Asyncronous Task Queue"
+url="http://celeryproject.org"
+arch="noarch"
+license="BSD"
+depends="python3"
+makedepends="py-setuptools"
+depends="
+ py3-billiard
+ py3-tz
+"
+source="https://pypi.io/packages/source/c/celery/celery-$pkgver.tar.gz"
+builddir="$srcdir/${_name}-${pkgver}"
+
+build() {
+ cd "$builddir"
+ python3 setup.py build
+}
+
+package() {
+ cd "$builddir"
+ python3 setup.py install --root="$pkgdir" --optimize=1
+}
+
+sha512sums="5232adc43ba55d01f2b030382075750033e0c5c2abdc8308903e0cef7a465513b7765e2ae495da6555b377452ae233500530ef9d57e584a5352a54c5f4731c64 celery-4.1.0.tar.gz"
A py3-pgpy/APKBUILD => py3-pgpy/APKBUILD +29 -0
@@ 0,0 1,29 @@
+# Maintainer: Drew DeVault <sir@cmpwn.com>
+_name=PGPy
+pkgname=py3-pgpy
+pkgver=0.4.1
+pkgrel=1
+pkgdesc="Pretty Good Privacy for Python - a pure Python OpenPGP implementation"
+url="https://github.com/SecurityInnovation/PGPy"
+arch="noarch"
+license="BSD"
+depends="
+ py3-cryptography
+ py3-six
+ py3-asn1
+"
+makedepends="py-setuptools"
+source="https://github.com/SecurityInnovation/PGPy/releases/download/${pkgver}/PGPy-${pkgver}.tar.gz"
+builddir="$srcdir/${_name}-${pkgver}"
+
+check() {
+ cd "$builddir"
+ python3 setup.py check
+}
+
+package() {
+ cd "$builddir"
+ python3 setup.py install --root="$pkgdir" --optimize=1
+}
+
+sha512sums="45fbf7c65af7e0b86bd56275ed7af020506774703bbca08adf742cccaf84dbb40c7883fbffe85d2298a4d70013c74ea97c60aa1a1181acd6c0ea6f8067065ec2 PGPy-0.4.1.tar.gz"
A py3-redis/APKBUILD => py3-redis/APKBUILD +25 -0
@@ 0,0 1,25 @@
+# Maintainer: Drew DeVault <sir@cmpwn.com>
+_name=redis
+pkgname=py3-redis
+pkgver=2.10.6
+pkgrel=1
+pkgdesc="The Python interface to the Redis key-value store"
+url="https://github.com/andymccurdy/redis-py"
+arch="noarch"
+license="MIT"
+depends="python3"
+makedepends="py-setuptools"
+source="$_name-$pkgver.tar.gz::https://github.com/andymccurdy/redis-py/archive/${pkgver}.tar.gz"
+builddir="$srcdir/${_name}-py-${pkgver}"
+
+build() {
+ cd "$builddir"
+ python3 setup.py build
+}
+
+package() {
+ cd "$builddir"
+ python3 setup.py install --root="$pkgdir" --optimize=1
+}
+
+sha512sums="b3a674ec248add9d6fd537c2d98bda48fc1867d111015dee772812e04e92dab879a2f913fb5d366ea3bb8469da6f1c91bdb3d73e797405d14a52109ff125a122 redis-2.10.6.tar.gz"