From 3051f353aa059aaae8cb448c1df388092cb4c578 Mon Sep 17 00:00:00 2001 From: Marian Buschsieweke Date: Sat, 13 Jul 2019 13:42:42 +0200 Subject: testing/py3-bson: New aport MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Independent BSON codec for Python that doesn’t depend on MongoDB https://github.com/py-bson/bson --- testing/py3-bson/APKBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 testing/py3-bson/APKBUILD (limited to 'testing/py3-bson/APKBUILD') diff --git a/testing/py3-bson/APKBUILD b/testing/py3-bson/APKBUILD new file mode 100644 index 0000000000..bc3299737f --- /dev/null +++ b/testing/py3-bson/APKBUILD @@ -0,0 +1,29 @@ +# Contributor: Marian Buschsieweke +# Maintainer: Marian Buschsieweke +pkgname=py3-bson +_pkgname=bson +pkgver=0.5.8 +pkgrel=0 +pkgdesc="Independent BSON codec for Python that doesn’t depend on MongoDB" +options="!check" # No testsuite +url="https://github.com/py-bson/bson" +arch="noarch" +license="BSD-3-Clause" +depends="py3-dateutil py3-six" +makedepends="py3-setuptools" +source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" +builddir="$srcdir"/${_pkgname/-/_}-$pkgver + +build() { + python3 setup.py build +} + +package() { + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +check() { + python3 setup.py test +} + +sha512sums="a01762c80e9b11355b1679b3c5aad2e729b9a2e58eb061eb303c0bdae326968f4329ec0cfe1b928f288d011adf516c24600e2867cdec627777bf3648d7c1bad8 bson-0.5.8.tar.gz" -- cgit v1.2.3