Received: from out.migadu.com (out.migadu.com [91.121.223.63]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id E9842781A67 for ; Sat, 1 Feb 2020 22:32:29 +0000 (UTC) Received: (Migadu outbound); Sat, 01 Feb 2020 22:32:29 +0000 Authentication-Results: out.migadu.com; auth=pass (plain) Received: from loki.galenabell.com (24-181-218-135.dhcp.hckr.nc.charter.com [24.181.218.135]) by out.migadu.com (Haraka/2.8.16) with ESMTPSA id 4A780FC0-BC23-4553-9B20-58413EA77961.3 envelope-from (authenticated bits=0) (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 verify=FAIL); Sat, 01 Feb 2020 22:32:29 +0000 From: Galen Abell To: alpine-aports@lists.alpinelinux.org Cc: Galen Abell Subject: [PATCH 2/4] testing/py3-discid: new aport Date: Sat, 1 Feb 2020 17:32:14 -0500 Message-Id: <20200201223216.21848-3-galen@galenabell.com> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200201223216.21848-1-galen@galenabell.com> References: <20200201223216.21848-1-galen@galenabell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit DKIM-Signature: v=1;a=rsa-sha256;bh=9Gb4NW8udngl6JwH/5xXz0Rp9yY/U3yMzfQdUKdlnb4=;c=relaxed/simple;d=galenabell.com;h=from:subject:date:to;s=default;b=cXRdtQFRmrWiFpUwqvYzQofmGp42I9FNefazcGEDHeHQgDtRw7v7xWkaOhZkgZroNlPiJ5KV8wMOat3auoJadU7rzrOREnRAvifs4to0tT9GcV43KNFutFe6zwdkJkx/HdGyTzfF6uVqIPnH5t1i6j+6tTzXhh+o18UymsS1stg= https://python-discid.readthedocs.io/en/latest/ Python binding of Libdiscid testing/ --- testing/py3-discid/APKBUILD | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 testing/py3-discid/APKBUILD diff --git a/testing/py3-discid/APKBUILD b/testing/py3-discid/APKBUILD new file mode 100644 index 0000000000..3aedc52cc0 --- /dev/null +++ b/testing/py3-discid/APKBUILD @@ -0,0 +1,27 @@ +# Contributor: Galen Abell +# Maintainer: Galen Abell +pkgname="py3-discid" +_pyname="discid" +pkgver="1.2.0" +pkgrel=0 +pkgdesc="Python binding of Libdiscid" +url="https://python-discid.readthedocs.io/en/latest/" +arch="noarch" +license="LGPL-3.0-or-later" +depends="python3 libdiscid" +makedepends="py3-setuptools" +source="https://files.pythonhosted.org/packages/source/${_pyname%${_pyname#?}}/$_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="d004b7e4b5416310c8fb21bb9e686b5e5f5651366fb78785e299dcd17aaa99e7c2e115cc1c5175d8fbf853d3f7b8813555be32bf387d7ce82271b5e57bdff0dd discid-1.2.0.tar.gz" -- 2.25.0