~dricottone/huttese-apk

f9216d16b857dcdfb041adbb37ad2864d8d217fa — Drew DeVault 5 years ago cb4c58b
Update all dependency packages
M README.md => README.md +2 -1
@@ 16,7 16,8 @@ When a new Alpine version is released:
1. Update the Alpine version in build.yml
1. Comment out the custom repo and `./submit-build` with a simple package to
   bootstrap the index
1. `./submit-build` everything else _except_ for *.sr.ht
1. Update non-sr.ht packages to latest upstream version, or bump pkgrel
1. `./submit-build` everything _except_ for *.sr.ht
1. Update pkgver in *.sr.ht packages, commit & push & run `./submit-build`
1. Update build manifests upstream for *.sr.ht
1. Run updates on non-critical boxen

D sr.ht/fcgiwrap/APKBUILD => sr.ht/fcgiwrap/APKBUILD +0 -42
@@ 1,42 0,0 @@
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=fcgiwrap
pkgver=1.1.0
pkgrel=3
pkgdesc="Simple server for running CGI applications over FastCGI"
url="https://github.com/gnosek/fcgiwrap"
arch="all"
license="MIT"
pkgusers="fcgiwrap"
pkggroups="www-data"
install="$pkgname.pre-install"
makedepends="$depends_dev autoconf libtool automake fcgi-dev"
subpackages="$pkgname-doc $pkgname-openrc"
source="$pkgname-$pkgver.tar.gz::https://github.com/gnosek/$pkgname/archive/$pkgver.tar.gz
	$pkgname.initd"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	autoreconf --install
	CFLAGS="$CFLAGS -Wno-implicit-fallthrough" \
	./configure --prefix=/usr \
		--mandir=/share/man \
		--sbindir=/bin
	make
}

check() {
	cd "$builddir"
	./fcgiwrap -h >/dev/null
}

package() {
	cd "$builddir"
	mkdir -p "$pkgdir"/var/run/fcgiwrap
	make DESTDIR="$pkgdir" install
	install -Dm755 $srcdir/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
	chown $pkgusers.$pkggroups "$pkgdir"/var/run/fcgiwrap
}

sha512sums="b8d35762d1d3c94a67602290b0092f0c38cffbbcd3dbc16597abf8b92172909b04450c238de2e430e841a17dd47fdd48d6a001f77539966980ef1af61e447ddc  fcgiwrap-1.1.0.tar.gz
96cd7febc4da598762baf32a7864cabbd7dd9bc019107f41b588bcf5b9b9064f6efa0d0f3721ff352b92beabe2e8ae11e84615c5185bf09b7f8aa07a59031ca9  fcgiwrap.initd"

D sr.ht/fcgiwrap/fcgiwrap.initd => sr.ht/fcgiwrap/fcgiwrap.initd +0 -28
@@ 1,28 0,0 @@
#!/sbin/openrc-run

name="fcgiwrap"
description="fcgiwrap cgi daemon"

command="/usr/bin/fcgiwrap"
command_args="-c 3 -s unix:/var/run/fcgiwrap/fcgiwrap.sock"
command_background="yes"
pidfile="/var/run/fcgiwrap/fcgiwrap.pid"
user="fcgiwrap"
group="www-data"

depend() {
	need net localmount
	after firewall
}

start() {
	checkpath --directory --owner fcgiwrap:www-data ${pidfile%/*}
	ebegin "Starting ${name}"
	start-stop-daemon --exec ${command} \
		--pidfile ${pidfile} --make-pidfile \
		--background \
		-u ${user} -g ${group} \
		--start -- ${command_args}
	eend $?
}


D sr.ht/fcgiwrap/fcgiwrap.pre-install => sr.ht/fcgiwrap/fcgiwrap.pre-install +0 -7
@@ 1,7 0,0 @@
#!/bin/sh

addgroup -S www-data 2>/dev/null
adduser -S -D -H -h /var/run/fcgiwrap -s /sbin/nologin -G www-data \
	fcgiwrap 2>/dev/null
exit 0


M sr.ht/meta.sr.ht/APKBUILD => sr.ht/meta.sr.ht/APKBUILD +0 -1
@@ 10,7 10,6 @@ depends="
	py3-bcrypt
	py3-gunicorn
	py3-pgpy
	py3-pyotp
	py3-pystache
	py3-qrcode
	py3-redis

M sr.ht/py3-amqp/APKBUILD => sr.ht/py3-amqp/APKBUILD +11 -9
@@ 1,26 1,28 @@
# Maintainer: Drew DeVault <sir@cmpwn.com>
_name=amqp
pkgname=py3-amqp
pkgver=2.4.1
_pyname=amqp
pkgver=2.5.0
pkgrel=0
pkgdesc="Low-level AMQP client for Python"
url="https://github.com/celery/py-amqp"
arch="noarch"
license="LGPL"
depends="python3 py3-vine"
makedepends="py-setuptools"
source="https://files.pythonhosted.org/packages/source/a/${_name}/${_name}-${pkgver}.tar.gz"
builddir="$srcdir/${_name}-${pkgver}"
options="!check"
makedepends="py3-setuptools"
_pypiprefix="${_pyname%${_pyname#?}}"
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"

build() {
	cd "$builddir"
	python3 setup.py build
}

check() {
	python3 setup.py check
}

package() {
	cd "$builddir"
	python3 setup.py install --root="$pkgdir" --optimize=1
}

sha512sums="8ebb8f2b0942e9b88b12cf35b8861da392190dd200d843bf3bba7b98e325afa53f52fe3f8250af1d2c1c14ffe8a071df5494d1eedc1bff974cd62fe88bc3e1e7  amqp-2.2.2.tar.gz"
sha512sums="c0675b85bb4d8bdc7c303bb694153c86eb503fa3c4fe6b6c4dac6b1f3aac2fbfa75a4ec39ea8bbdedc297a6a3407a0a5b560885df761e667e3c0770f5979156b  amqp-2.5.0.tar.gz"

M sr.ht/py3-anyjson/APKBUILD => sr.ht/py3-anyjson/APKBUILD +10 -7
@@ 1,24 1,27 @@
# Maintainer: Drew DeVault <sir@cmpwn.com>
_name=anyjson
pkgname=py3-anyjson
_pyname=anyjson
pkgver=0.3.3
pkgrel=0
pkgrel=1
pkgdesc="Wraps the best available JSON implementation available in a common interface"
url="http://pypi.python.org/pypi/anyjson"
arch="noarch"
license="BSD"
depends="python3"
makedepends="py-setuptools"
source="https://pypi.python.org/packages/source/a/${_name}/${_name}-${pkgver}.tar.gz"
builddir="$srcdir/${_name}-${pkgver}"
makedepends="py3-setuptools"
_pypiprefix="${_pyname%${_pyname#?}}"
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	cd "$builddir"
	python3 setup.py check
}

package() {
	cd "$builddir"
	python3 setup.py install --root="$pkgdir" --optimize=1
}


M sr.ht/py3-arrow/APKBUILD => sr.ht/py3-arrow/APKBUILD +10 -7
@@ 1,25 1,28 @@
# Maintainer: Drew DeVault <sir@cmpwn.com>
_name=arrow
pkgname=py3-arrow
pkgver=0.10.0
_pyname=arrow
pkgver=0.14.2
pkgrel=0
pkgdesc="Better dates and times for Python"
url="http://crsmithdev.com/arrow/"
arch="noarch"
license="GPL"
depends="python3"
makedepends="py-setuptools py3-dateutil py-nose"
makedepends="py3-setuptools py3-dateutil"
checkdepends="py3-nose"
source="https://files.pythonhosted.org/packages/source/a/arrow/arrow-${pkgver}.tar.gz"
builddir="$srcdir/${_name}-${pkgver}"
builddir="$srcdir/$_pyname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	cd "$builddir"
	python3 setup.py check
}

package() {
	cd "$builddir"
	python3 setup.py install --root="$pkgdir" --optimize=1
}

sha512sums="a2baa23f1424b21506f3b664f0ef02d09f91b9cfaf6e0badfa544f42c750ed51136ae0e8910ac24207c0265a1b233f10a6f3cbafee3124b5f5c4fd965cfd01c0  arrow-0.10.0.tar.gz"
sha512sums="68c28e363de180f606e874076a9107b5214d8973e4bb9cdab639c5e30efe29e69cf97ca4aa1372f8da116dc3a518f2e4f8bc00807d64091ac922122288cfd31b  arrow-0.14.2.tar.gz"

M sr.ht/py3-billiard/APKBUILD => sr.ht/py3-billiard/APKBUILD +11 -8
@@ 1,25 1,28 @@
# Maintainer: Drew DeVault <sir@cmpwn.com>
_name=billiard
pkgname=py3-billiard
pkgver=3.5.0.2
_pyname=billiard
pkgver=3.6.0.0
pkgrel=0
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}"
makedepends="py3-setuptools"
_pypiprefix="${_pyname%${_pyname#?}}"
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"

build() {
	python3 setup.py check
}

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"
sha512sums="0a71de026d2a781b83fe2c549ecbfe9b6fbd574d8067fc46ba7eca6b76633a123620853d22696df3563d050043cfe75b14b4b69bf5217e0af964aaa0bcbe08ff  billiard-3.6.0.0.tar.gz"

M sr.ht/py3-bleach/APKBUILD => sr.ht/py3-bleach/APKBUILD +11 -8
@@ 1,25 1,28 @@
# Maintainer: Drew DeVault <sir@cmpwn.com>
_name=bleach
pkgname=py3-bleach
pkgver=2.0.0
_pyname=bleach
pkgver=3.1.0
pkgrel=0
pkgdesc="An easy whitelist-based HTML-sanitizing tool"
url="http://pypi.python.org/pypi/bleach"
arch="noarch"
license="Apache"
depends="python3 py3-html5lib"
makedepends="py-setuptools"
source="https://pypi.org/packages/source/b/bleach/bleach-2.0.0.tar.gz"
builddir="$srcdir/${_name}-${pkgver}"
makedepends="py3-setuptools"
_pypiprefix="${_pyname%${_pyname#?}}"
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"

check() {
	python3 setup.py build
}

check() {
	cd "$builddir"
	python3 setup.py check
}

package() {
	cd "$builddir"
	python3 setup.py install --root="$pkgdir" --optimize=1
}

sha512sums="78237c72224fc8facd0c247671c0e2deb66dc8dc46c446cfa7e8b83cce5ca99a52fec320ef59ae0ece47c54a48120de16e4393e269db9c74542c8165eeb96d2e  bleach-2.0.0.tar.gz"
sha512sums="8db3a54b68fa66a07a3b4b90481557aac06e7783f9c72035a6f037909017354718b67b64153e1cd50cb2c821174b8282837c4c3e667878041a68703b141b2969  bleach-3.1.0.tar.gz"

M sr.ht/py3-case/APKBUILD => sr.ht/py3-case/APKBUILD +11 -12
@@ 1,29 1,28 @@
# Maintainer: Drew DeVault <sir@cmpwn.com>
_name="case"
pkgname=py3-case
_pyname="case"
pkgver=1.5.3
pkgrel=0
pkgdesc="Ptyhon unit testing utilities"
url="https://github.com/celery/case"
arch="noarch"
license="BSD"
depends="python3 py3-nose py3-six"
makedepends="py-setuptools"
source="https://files.pythonhosted.org/packages/source/c/${_name}/${_name}-${pkgver}.tar.gz"
builddir="$srcdir/${_name}-${pkgver}"

check() {
	cd "$builddir"
	nosetests
}
depends="python3 py3-six"
checkdepends="py3-nose"
makedepends="py3-setuptools"
_pypiprefix="${_pyname%${_pyname#?}}"
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"

build() {
	cd "$builddir"
	python3 setup.py build
}

check() {
	nosetests
}

package() {
	cd "$builddir"
	python3 setup.py install --root="$pkgdir" --optimize=1
}


M sr.ht/py3-celery/APKBUILD => sr.ht/py3-celery/APKBUILD +9 -15
@@ 1,7 1,7 @@
# Maintainer: Drew DeVault <sir@cmpwn.com>
_name=celery
pkgname=py3-celery
pkgver=4.2.0
_pyname=celery
pkgver=4.3.0
pkgrel=0
pkgdesc="Distributed Asyncronous Task Queue"
url="http://celeryproject.org"


@@ 9,26 9,20 @@ arch="noarch"
license="BSD"
depends="python3"
makedepends="py-setuptools"
depends="
	py3-amqp
	py3-billiard
	py3-kombu
	py3-tz
	py3-vine
"
depends="py3-amqp py3-billiard py3-kombu py3-tz py3-vine"
source="https://pypi.io/packages/source/c/celery/celery-$pkgver.tar.gz"
builddir="$srcdir/${_name}-${pkgver}"
# check requires a buttload of dependencies I can't be arsed to package
options="$options !check"
builddir="$srcdir/$_pyname-$pkgver"

build() {
	cd "$builddir"
	python3 setup.py build
}

check() {
	python3 setup.py check
}

package() {
	cd "$builddir"
	python3 setup.py install --root="$pkgdir" --optimize=1
}

sha512sums="ad7d18c318b6383e2a44a03f55f44d30f4d2fb6f3d05529376f0b05cbc28a8acbf3961a8d24a039e46917f439c1679d1f55a5957e4bc9587a6643a5c766ca487  celery-4.2.0.tar.gz"
sha512sums="91dd16bd6c9544c76d84e468872e052bdf5e1737980a1a3baee914c75c88db44b9ac8de7ddc4278988ca6cb159496b6560cecd6bb51d6352725009e97d268afb  celery-4.3.0.tar.gz"

M sr.ht/py3-colour/APKBUILD => sr.ht/py3-colour/APKBUILD +11 -8
@@ 1,25 1,28 @@
# Maintainer: Drew DeVault <sir@cmpwn.com>
_name=colour
pkgname=py3-colour
pkgver=0.1.2
_pyname=colour
pkgver=0.1.5
pkgrel=0
pkgdesc="Colour representations manipulation library (RGB, HSL, web, ...)"
url="https://github.com/vaab/colour"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py-setuptools"
source="https://pypi.python.org/packages/source/c/${_name}/${_name}-${pkgver}.tar.gz"
builddir="$srcdir/${_name}-${pkgver}"
makedepends="py3-setuptools"
_pypiprefix="${_pyname%${_pyname#?}}"
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	cd "$builddir"
	python3 setup.py check
}

package() {
	cd "$builddir"
	python3 setup.py install --root="$pkgdir" --optimize=1
}

sha512sums="2d8c76ff1576a5f2df7d7fe658a2f3f8513d5442b3c390cf1b0de68ecfd254a93fa55a0ed5a7128567d27508447f1aa641694b6940ba29c5d4006c68dd31b99a  colour-0.1.2.tar.gz"
sha512sums="09a5160862bf10cd5f4a94e43c63d6f2a5db43bcaae0e9d8f66900113ec04471e22d0bec7412f0289c6f1e6871c1a544f5be36266aa8d6fd5ec274bd461d9df8  colour-0.1.5.tar.gz"

A sr.ht/py3-deprecated/APKBUILD => sr.ht/py3-deprecated/APKBUILD +27 -0
@@ 0,0 1,27 @@
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-deprecated
_pyname=Deprecated
pkgver=1.2.5
pkgrel=0
pkgdesc="Python @deprecated decorator to deprecate old python classes, functions or methods"
url="https://github.com/tantale/deprecated"
arch="noarch"
license="MIT"
depends="python3 py3-wrapt"
_pypiprefix="${_pyname%${_pyname#?}}"
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="c8dfbfe46099029e789a4fc3b40b00ee1d34ce184b3a272e5d34a43c67e7ac966d73c366d047e39f40ffa8825803a43acb3f3d2db7b1f34dbf8bf9115a4a6889  Deprecated-1.2.5.tar.gz"

M sr.ht/py3-emailthreads/APKBUILD => sr.ht/py3-emailthreads/APKBUILD +1 -3
@@ 1,7 1,7 @@
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-emailthreads
pkgver=0.1.0
pkgrel=0
pkgrel=1
pkgdesc="Python library to parse and format email threads"
url="https://github.com/emersion/python-emailthreads"
arch="noarch"


@@ 17,12 17,10 @@ builddir="$srcdir/python-emailthreads-${pkgver}"
options="!check" # no upstream test suite

build() {
	cd "$builddir"
	python3 setup.py build
}

package() {
	cd "$builddir"
	python3 setup.py install --root="$pkgdir" --optimize=1
}


M sr.ht/py3-furl/APKBUILD => sr.ht/py3-furl/APKBUILD +11 -8
@@ 1,25 1,28 @@
# Maintainer: Drew DeVault <sir@cmpwn.com>
_name=furl
pkgname=py3-furl
pkgver=0.4.92
_pyname=furl
pkgver=2.0.0
pkgrel=0
pkgdesc="Python library that makes manipulating URLs simple."
url="https://github.com/gruns/furl"
arch="noarch"
license="Unlicense"
depends="python3 py3-six py3-orderedmultidict"
makedepends="py-setuptools"
source="https://pypi.python.org/packages/source/f/${_name}/${_name}-${pkgver}.tar.gz"
builddir="$srcdir/${_name}-${pkgver}"
makedepends="py3-setuptools"
_pypiprefix="${_pyname%${_pyname#?}}"
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	cd "$builddir"
	python3 setup.py check
}

package() {
	cd "$builddir"
	python3 setup.py install --root="$pkgdir" --optimize=1
}

sha512sums="1c85b52621498be97353da5955381655312f3c59287b31c50d6b6dc94bb5587fdc000c70767ea670fef2b792a3f723b98ca2d71c12a20885430d1204eb28855c  furl-0.4.92.tar.gz"
sha512sums="748ab52ee6745aec6c3dfe203f2ce73ef64ffa2f43d05df43c3d8fde58964bdabf8d690869f65696d934e2e78a7d10c4021ea33ea3d02a0e58e5119426d6b47c  furl-2.0.0.tar.gz"

M sr.ht/py3-html5lib/APKBUILD => sr.ht/py3-html5lib/APKBUILD +12 -9
@@ 1,25 1,28 @@
# Maintainer: Drew DeVault <sir@cmpwn.com>
_name=html5lib
pkgname=py3-html5lib
pkgver=0.999999999
_pyname=html5lib
pkgver=1.0.1
pkgrel=0
pkgdesc="A Python HTML parser/tokenizer based on the WHATWG HTML5 spec"
url="https://github.com/html5lib"
arch="noarch"
license="MIT"
depends="python3 py3-six py3-webencodings"
makedepends="py-setuptools"
source="${pkgname}-${pkgver}.tar.gz::https://github.com/html5lib/html5lib-python/archive/${pkgver}.tar.gz"
builddir="$srcdir/html5lib-python-${pkgver}"
depends="py3-six py3-webencodings"
makedepends="py3-setuptools"
_pypiprefix="${_pyname%${_pyname#?}}"
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	cd "$builddir"
	python3 setup.py check
}

package() {
	cd "$builddir"
	python3 setup.py install --root="$pkgdir" --optimize=1
}

sha512sums="74205c25ea38a1a0690181d56bdf4560ef36cf0d39acbb1ab16e2199e3657f87636508ba128d522970876c9a0ba2ac8df877053ff0179403668a2f0300af7877  py3-html5lib-0.999999999.tar.gz"
sha512sums="35939b4450893864da04e735ee5e0addacf1dd34bae6a6909c76572abf6bfded446a78a713dfde91c1485ba45867d7abeb6a45cf0545c16ea968707be7de5dd2  html5lib-1.0.1.tar.gz"

A sr.ht/py3-httpretty/APKBUILD => sr.ht/py3-httpretty/APKBUILD +32 -0
@@ 0,0 1,32 @@
# Maintainer: Valery Kartel <valery.kartel@gmail.com>
# Contributor: Valery Kartel <valery.kartel@gmail.com>
pkgname=py3-httpretty
_pyname=httpretty
pkgver=0.9.6
pkgrel=0
pkgdesc="HTTP client mocking tool for Python"
url="https://github.com/gabrielfalcao/HTTPretty"
arch="noarch"
license="MIT"
depends="python3"
makedepends="python3-dev py3-setuptools"
_pypiprefix="${_pyname%${_pyname#?}}"
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
replaces="py-httpretty"
builddir="$srcdir"/$_pyname-$pkgver

build() {
	python3 setup.py build
}

check() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
	# Fix broken PyPI permissions
	chmod -R +r "$pkgdir"/usr/lib/python3.7/site-packages/
}

sha512sums="bc1c64d34370209c732bc12dd9935600b647507ab2c8f18c85f348e9b5e853618ba39e10e5a073b35036e6cbe3db2cb7a342a721d0e4affa81fe178fd0b75d92  httpretty-0.9.6.tar.gz"

M sr.ht/py3-humanize/APKBUILD => sr.ht/py3-humanize/APKBUILD +9 -6
@@ 1,6 1,6 @@
# Maintainer: Drew DeVault <sir@cmpwn.com>
_name=humanize
pkgname=py3-humanize
_pyname=humanize
pkgver=0.5.1
pkgrel=0
pkgdesc="Humanize is a modest package contains various common humanization utilities"


@@ 8,17 8,20 @@ url="https://github.com/jmoiron/humanize"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py-setuptools"
source="https://pypi.python.org/packages/source/h/${_name}/${_name}-${pkgver}.tar.gz"
builddir="$srcdir/${_name}-${pkgver}"
makedepends="py3-setuptools"
_pypiprefix="${_pyname%${_pyname#?}}"
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	cd "$builddir"
	python3 setup.py check
}

package() {
	cd "$builddir"
	python3 setup.py install --root="$pkgdir" --optimize=1
}


M sr.ht/py3-infinity/APKBUILD => sr.ht/py3-infinity/APKBUILD +11 -8
@@ 1,25 1,28 @@
# Maintainer: Drew DeVault <sir@cmpwn.com>
_name=infinity
pkgname=py3-infinity
pkgver=1.3
_pyname=infinity
pkgver=1.4
pkgrel=0
pkgdesc="All-in-one infinity value for Python. Can be compared to any object."
url="https://github.com/kvesteri/infinity"
arch="noarch"
license="BSD"
depends="python3"
makedepends="py-setuptools"
source="https://pypi.python.org/packages/source/i/${_name}/${_name}-${pkgver}.tar.gz"
builddir="$srcdir/${_name}-${pkgver}"
makedepends="py3-setuptools"
_pypiprefix="${_pyname%${_pyname#?}}"
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	cd "$builddir"
	python3 setup.py check
}

package() {
	cd "$builddir"
	python3 setup.py install --root="$pkgdir" --optimize=1
}

sha512sums="2f4832dddec9357dfb6f40ed338aedd297990f3ac9ff9f289d6340dce1375984022d754b3d432b6729cd6222a50c2441e277fe7cefbf7d5c15240399ae78b99d  infinity-1.3.tar.gz"
sha512sums="57ce539d861a47d02b570f997a0b1ee6c631a1d9825b68692e9edfac789ec3069b754abb64bb4128dbfcf2eea231067c61a287315ec130a301f18c0e65387acb  infinity-1.4.tar.gz"

M sr.ht/py3-intervals/APKBUILD => sr.ht/py3-intervals/APKBUILD +11 -8
@@ 1,25 1,28 @@
# Maintainer: Drew DeVault <sir@cmpwn.com>
_name=intervals
pkgname=py3-intervals
pkgver=0.8.0
_pyname=intervals
pkgver=0.8.1
pkgrel=0
pkgdesc="Python tools for handling intervals (ranges of comparable objects)."
url="https://github.com/kvesteri/intervals"
arch="noarch"
license="BSD"
depends="python3 py3-infinity"
makedepends="py-setuptools"
source="https://pypi.python.org/packages/30/7a/7364356d073426b73014bc6f7aab36914fd9fc53e8d99150a0de69d7846a/intervals-0.8.0.tar.gz"
builddir="$srcdir/${_name}-${pkgver}"
makedepends="py3-setuptools"
_pypiprefix="${_pyname%${_pyname#?}}"
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	cd "$builddir"
	python3 setup.py check
}

package() {
	cd "$builddir"
	python3 setup.py install --root="$pkgdir" --optimize=1
}

sha512sums="1953c9535c9d5dbf2080409000e9942b71416473d4856f6eb1e08e55576fce1e979d00563953afca59eed4a6ff8df2f52cf0557e88312416cf1294213e924c38  intervals-0.8.0.tar.gz"
sha512sums="f97142d5f1c8d4da21692b856803481878ac2b2afc3b81937de456bacbf66ebb129b1fe9a070ac442cbc6bbe26fdaf2ed839f8fc8b26392b4bd1ce032d054e65  intervals-0.8.1.tar.gz"

M sr.ht/py3-kombu/APKBUILD => sr.ht/py3-kombu/APKBUILD +11 -10
@@ 1,27 1,28 @@
# Maintainer: Drew DeVault <sir@cmpwn.com>
_name=kombu
pkgname=py3-kombu
pkgver=4.3.0
_pyname=kombu
pkgver=4.6.3
pkgrel=0
pkgdesc="A messaging library for Python"
url="http://kombu.readthedocs.org"
arch="noarch"
license="BSD"
depends="python3"
makedepends="py-setuptools py3-amqp"
source="https://files.pythonhosted.org/packages/source/k/${_name}/${_name}-${pkgver}.tar.gz"
builddir="$srcdir/${_name}-${pkgver}"
# check requires a buttload of dependencies I can't be arsed to package
options="$options !check"
makedepends="py3-setuptools py3-amqp"
_pypiprefix="${_pyname%${_pyname#?}}"
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"

build() {
	cd "$builddir"
	python3 setup.py build
}

check() {
	python3 setup.py check
}

package() {
	cd "$builddir"
	python3 setup.py install --root="$pkgdir" --optimize=1
}

sha512sums="fc104a3f974fabf090cc257b1a7623af6048f4630c6c2a9bb693fe69d77b6cdab36135a290a41056c1f854f61cce8fc2aa6b7880e9273581bfdfa162b5724861  kombu-4.1.0.tar.gz"
sha512sums="35113c4f19fe6bf94c374477c89a629f565975a23c16a3cedefa8e0c2a800cabbaa8917d48f732cf28e89cd5430fe8408a3514e055b1858c216b6ea31b4c014a  kombu-4.6.3.tar.gz"

M sr.ht/py3-orderedmultidict/APKBUILD => sr.ht/py3-orderedmultidict/APKBUILD +11 -8
@@ 1,25 1,28 @@
# Maintainer: Drew DeVault <sir@cmpwn.com>
_name=orderedmultidict
pkgname=py3-orderedmultidict
pkgver=0.7.5
_pyname=orderedmultidict
pkgver=1.0
pkgrel=0
pkgdesc="Ordered multivalue dictionary that retains method parity with dict."
url="https://github.com/gruns/orderedmultidict"
arch="noarch"
license="Unlicense"
depends="python3 py3-six"
makedepends="py-setuptools"
source="https://pypi.python.org/packages/source/o/${_name}/${_name}-${pkgver}.tar.gz"
builddir="$srcdir/${_name}-${pkgver}"
makedepends="py3-setuptools"
_pypiprefix="${_pyname%${_pyname#?}}"
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	cd "$builddir"
	python3 setup.py check
}

package() {
	cd "$builddir"
	python3 setup.py install --root="$pkgdir" --optimize=1
}

sha512sums="ec6f738b1199d8f06c7895737335b13e172059c13253703c2ab64dc9dac8f17ad6dc3a81e5768eea1698a88143be1bfc707512db31171a6190d29e67fb934fac  orderedmultidict-0.7.5.tar.gz"
sha512sums="7f731bde1f9cdd3e0490d3f590f2bfefa21935155d309d7460e45e11a640272de15a192200cb5110cf45876b7d6f0b6c7eac635fd122f6225b25aca90a4d6d36  orderedmultidict-1.0.tar.gz"

M sr.ht/py3-passlib/APKBUILD => sr.ht/py3-passlib/APKBUILD +7 -5
@@ 1,6 1,6 @@
# Maintainer: Drew DeVault <sir@cmpwn.com>
_name=passlib
pkgname=py3-passlib
_pyname=passlib
pkgver=1.7.1
pkgrel=0
pkgdesc="A password hashing library for Python"


@@ 8,17 8,19 @@ url="https://code.google.com/p/passlib/"
arch="noarch"
license="BSD"
depends="python3"
makedepends="py-setuptools"
makedepends="py3-setuptools"
source="https://pypi.io/packages/source/p/passlib/passlib-$pkgver.tar.gz"
builddir="$srcdir/${_name}-${pkgver}"
builddir="$srcdir/$_pyname-$pkgver"

build() {
	python3 setup.py check
}

check() {
	cd "$builddir"
	python3 setup.py check
}

package() {
	cd "$builddir"
	python3 setup.py install --root="$pkgdir" --optimize=1
}


M sr.ht/py3-pgpy/APKBUILD => sr.ht/py3-pgpy/APKBUILD +12 -13
@@ 1,29 1,28 @@
# Maintainer: Drew DeVault <sir@cmpwn.com>
_name=PGPy
pkgname=py3-pgpy
pkgver=0.4.1
_pyname=PGPy
pkgver=0.4.3
pkgrel=0
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}"
depends="py3-cryptography py3-six py3-asn1"
makedepends="py3-setuptools"
_pypiprefix="${_pyname%${_pyname#?}}"
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"

build() {
	python3 setup.py build
}

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"
sha512sums="fd0ccd5d619e96d1aefbe99fed4d634140ba14d2faff228b6e2aaf60b3c157f46c2f1d06955dc4b0bfe4ef511ce5f66a328121ef4f7563496c66461924e51eb6  PGPy-0.4.3.tar.gz"

M sr.ht/py3-pygithub/APKBUILD => sr.ht/py3-pygithub/APKBUILD +9 -14
@@ 1,33 1,28 @@
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=py3-pygithub
_pkgname=PyGithub
pkgver=1.40
_pyname=PyGithub
pkgver=1.43.7
pkgrel=0
pkgdesc="Typed interactions with the GitHub API v3"
url="https://github.com/PyGithub/PyGithub"
arch="noarch"
license="LGPL-3.0-or-later"
depends="python3 py3-jwt py3-requests"
depends="python3 py3-jwt py3-requests py3-deprecated"
makedepends="python3-dev"
source="https://github.com/PyGithub/PyGithub/archive/v$pkgver/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
checkdepends="py3-httpretty py3-cryptography"
_pypiprefix="${_pyname%${_pyname#?}}"
source="$pkgname-$pkgver.tar.gz::https://github.com/$_pyname/$_pyname/archive/v$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"
options="!check" # these are broken and hard to fix

build() {
	cd "$builddir"
	python3 setup.py build
}

check() {
	cd "$builddir"
	python3 setup.py test
}

package() {
	cd "$builddir"

	python3 setup.py install --prefix=/usr --root="$pkgdir"
	rm -R "$pkgdir"/usr/lib/python3.*/site-packages/github/tests
}

sha512sums="e8719017ce04db2c25ab8059b124a43a3688d4775861b80a0bcc7a194eaf43cd942eba1da199b76ef35c5bcde364708586c09630a7fac5642867b5a62985efad  PyGithub-1.40.tar.gz"
sha512sums="15d7c7ca6a505a259fe59c96db667a278179df7acfe794116f118bb18966c573cbdcd9276fe50b321fd759988810250a0268c2e8e330c1ef5a8bdcc3a50b6391  py3-pygithub-1.43.7.tar.gz"

D sr.ht/py3-pyotp/APKBUILD => sr.ht/py3-pyotp/APKBUILD +0 -27
@@ 1,27 0,0 @@
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-pyotp
_pkgname=pyotp
pkgver=2.1.1
pkgrel=0
pkgdesc="Python library for generating & verifying one-time passwords"
url="https://pyotp.readthedocs.io"
arch="noarch"
license="MIT"
depends="python3 py3-future"
makedepends="py-setuptools"
source="
	$pkgname-$pkgver.zip::https://github.com/pyotp/${_pkgname}/archive/v${pkgver}.zip
"
builddir="$srcdir/${_pkgname}-${pkgver}"

check() {
	cd "$builddir"
	python3 setup.py check
}

package() {
	cd "$builddir"
	python3 setup.py install --root="$pkgdir" --optimize=1
}

sha512sums="e8fb2de02a1af0e84598cf54b8a3e8b24f20516adc44340a6812c3ab93cdcc289ae951ae2360c52a922811e7ebe6c2697bbf5f8f196db8ee8a17f7fe54946f1b  py3-pyotp-2.1.1.zip"

M sr.ht/py3-sqlalchemy-utils/APKBUILD => sr.ht/py3-sqlalchemy-utils/APKBUILD +12 -10
@@ 1,13 1,12 @@
# Maintainer: Drew DeVault <sir@cmpwn.com>
_name=SQLAlchemy-Utils
pkgname=py3-sqlalchemy-utils
pkgver=0.32.9
_pyname=SQLAlchemy-Utils
pkgver=0.34.0
pkgrel=0
pkgdesc="Various utility functions, new data types and helpers for SQLAlchemy."
url="https://github.com/kvesteri/sqlalchemy-utils"
arch="noarch"
license="Apache"
# TODO: I imagine many of these can be made optdepends
license="3-Clause-BSD"
depends="
	python3
	py3-anyjson


@@ 21,18 20,21 @@ depends="
	py3-furl
	py3-cryptography
"
makedepends="py-setuptools"
source="https://pypi.python.org/packages/4e/85/bf1255b8fdef127a019f1ed7ff174a5f7482bc539f83213cf137eb703f1e/SQLAlchemy-Utils-0.32.9.tar.gz"
builddir="$srcdir/${_name}-${pkgver}"
makedepends="py3-setuptools"
_pypiprefix="${_pyname%${_pyname#?}}"
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	cd "$builddir"
	python3 setup.py check
}

package() {
	cd "$builddir"
	python3 setup.py install --root="$pkgdir" --optimize=1
}

sha512sums="bc2c6c67de086f4fefb44f83e15f5174fc5c0a231bc92a13515d22804a9e521b61c7b4406fc89458c78a69264edccb07a17dbbf89c3ec50ab9b3374bc8b9349d  SQLAlchemy-Utils-0.32.9.tar.gz"
sha512sums="ee3e5c9c6df6be27e29c6bde43f6c862e3d6337e887cfbcd8949564c0ec55ac86218e36e48166d591c40c9de04cac124450bb742dacae0d7420b326aa8be9e11  SQLAlchemy-Utils-0.34.0.tar.gz"

M sr.ht/py3-sshpubkeys/APKBUILD => sr.ht/py3-sshpubkeys/APKBUILD +11 -10
@@ 1,27 1,28 @@
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-sshpubkeys
_pkgname=sshpubkeys
pkgver=2.2.0
_pyname=sshpubkeys
pkgver=3.1.0
pkgrel=0
pkgdesc="OpenSSH public key parser for Python"
url="https://github.com/ojarva/python-sshpubkeys"
arch="noarch"
license="BSD"
depends="python3 py3-ecdsa py3-crypto"
makedepends="py-setuptools"
source="
	$pkgname-$pkgver.tar.gz::https://github.com/ojarva/python-sshpubkeys/archive/v${pkgver}.tar.gz
"
builddir="$srcdir/python-${_pkgname}-${pkgver}"
makedepends="py3-setuptools"
_pypiprefix="${_pyname%${_pyname#?}}"
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir/${_pyname}-${pkgver}"

build() {
	python3 setup.py build
}

check() {
	cd "$builddir"
	python3 setup.py check
}

package() {
	cd "$builddir"
	python3 setup.py install --root="$pkgdir" --optimize=1
}

sha512sums="b1bfe62ed6a269b574671a54c83e51dbb4f002776505c861d7ebf395a581ff765901b2c2eb85dd1526d9026d196e688810eef15abdeef778a37d2890f9261a1f  py3-sshpubkeys-2.2.0.tar.gz"
sha512sums="d66c56466621a477b1477611d63bda72c20c147ad92250b42a7f29271cef659a2ee169ba03094129453732301a2350b67f25dcd0436162f8769aed82bcfb8cea  sshpubkeys-3.1.0.tar.gz"

M sr.ht/py3-stripe/APKBUILD => sr.ht/py3-stripe/APKBUILD +11 -8
@@ 1,25 1,28 @@
# Maintainer: Drew DeVault <sir@cmpwn.com>
_name=stripe
pkgname=py3-stripe
pkgver=2.12.0
_pyname=stripe
pkgver=2.31.0
pkgrel=0
pkgdesc="An easy whitelist-based HTML-sanitizing tool"
url="https://github.com/stripe/stripe-python"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py-setuptools py3-requests"
source="https://pypi.org/packages/source/s/stripe/stripe-$pkgver.tar.gz"
builddir="$srcdir/${_name}-${pkgver}"
_pypiprefix="${_pyname%${_pyname#?}}"
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
makedepends="py3-setuptools py3-requests"
builddir="$srcdir/$_pyname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	cd "$builddir"
	python3 setup.py check
}

package() {
	cd "$builddir"
	python3 setup.py install --root="$pkgdir" --optimize=1
}

sha512sums="524ad0cb2b474137d13d5b92e13af820b8979e8c020a2d097f59371e0d8087b7ddd5cd9d8655329f2094c2f5064997973780f720049562891ca831f164976484  stripe-2.12.0.tar.gz"
sha512sums="f52fa2b0adb5c64f215353b410d4f2836116edaf1aa12c7b02735147d74363878669a884889dbe9e115b29ca747374190cf68ccb4f5bf4f93dbda2d6083a558f  stripe-2.31.0.tar.gz"

M sr.ht/py3-vine/APKBUILD => sr.ht/py3-vine/APKBUILD +8 -9
@@ 1,30 1,29 @@
# Maintainer: Drew DeVault <sir@cmpwn.com>
_name=vine
pkgname=py3-vine
pkgver=1.1.4
_pyname=vine
pkgver=1.3.0
pkgrel=0
pkgdesc="Promises library for Python"
url="https://github.com/celery/vine"
arch="noarch"
license="BSD"
depends="python3"
makedepends="py-setuptools py3-case py3-pytest"
source="https://files.pythonhosted.org/packages/source/v/${_name}/${_name}-${pkgver}.tar.gz"
builddir="$srcdir/${_name}-${pkgver}"
makedepends="py3-setuptools py3-case py3-pytest"
checkdepends="py3-nose"
_pypiprefix="${_pyname%${_pyname#?}}"
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"

build() {
	cd "$builddir"
	python3 setup.py build
}

check() {
	cd "$builddir"
	python3 setup.py test
}

package() {
	cd "$builddir"
	python3 setup.py install --root="$pkgdir" --optimize=1
}

sha512sums="b85438cd30b3cb6c642380b3da120783cf2d4306366e04a141061d40cf6b8ce5b52ca15562b71f28392ad376c1f160b39162fa7933665b5c21179b0994347460  vine-1.1.4.tar.gz"
sha512sums="f7242378ebc9b591b6e0a7b6263514f32cee4b996bc6461313221b9a391dd0dd1d833591d6e9ca72ae003f6ce5c4204856d49bb5e57c69a125072cac25758688  vine-1.3.0.tar.gz"

M sr.ht/py3-zxcvbn/APKBUILD => sr.ht/py3-zxcvbn/APKBUILD +4 -7
@@ 2,7 2,7 @@
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-zxcvbn
_pyname=zxcvbn
pkgver=4.4.27
pkgver=4.4.28
pkgrel=0
pkgdesc="Python implementation of Dropbox's realistic password strength estimator"
url="https://github.com/dwolfhub/zxcvbn-python"


@@ 10,22 10,19 @@ arch="noarch"
license="MIT"
makedepends="python3-dev py-setuptools"
checkdepends="py3-pytest"
source="$pkgname-$pkgver.tar.gz::https://github.com/dwolfhub/zxcvbn-python/archive/v4.4.27.tar.gz"
builddir="$srcdir"/$_pyname-python-$pkgver
source="$pkgname-$pkgver.tar.gz::https://github.com/dwolfhub/zxcvbn-python/archive/v$pkgver.tar.gz"
builddir="$srcdir/$_pyname-python-$pkgver"

build() {
	cd "$builddir"
	python3 setup.py build
}

check() {
	cd "$builddir"
	pytest-3
}

package() {
	mkdir -p "$pkgdir"
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="aad98e6f0115e3a24ed26a40f3adf0073fb09571b3eef9cd6194daa3d7b660e6c05ad4533ae2f6cd6081201f699aa73db2d26cfe922531c0e8b7e8116b0c8f3e  py3-zxcvbn-4.4.27.tar.gz"
sha512sums="be85f976dcf685e2885edff116147cc4549f9c86dee4317b61b84dc4f36ab2c8c2f3468d5d1a55e8890693c852a09104b14360f9ce43feb3727f8fc164eb78f1  py3-zxcvbn-4.4.28.tar.gz"