~alpine/aports

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

[alpine-aports] [PATCH] testing/py-recis_i18n: new aport

opal hart <opal@wowana.me>
Details
Message ID
<20190709063246.28883-1-opal@wowana.me>
Sender timestamp
1562653966
DKIM signature
missing
Download raw message
Patch: +49 -0
---
 testing/py-precis_i18n/APKBUILD | 49 +++++++++++++++++++++++++++++++++
 1 file changed, 49 insertions(+)
 create mode 100644 testing/py-precis_i18n/APKBUILD

diff --git a/testing/py-precis_i18n/APKBUILD b/testing/py-precis_i18n/APKBUILD
new file mode 100644
index 0000000000..d249dcc294
--- /dev/null
+++ b/testing/py-precis_i18n/APKBUILD
@@ -0,0 +1,49 @@
# Maintainer: opal hart <opal@wowana.me>
pkgname=py-precis_i18n
_pkgname="${pkgname#py-}"
pkgver=1.0
pkgrel=0
pkgdesc="Python3 implementation of PRECIS framework (RFC 8264, RFC 8265, RFC 8266)"
url="https://github.com/byllyfish/precis_i18n"
arch="noarch"
license="GPL-3.0-only"
makedepends="py-setuptools"
subpackages="py2-$_pkgname:_py2 py3-$_pkgname:_py3"
source="$_pkgname-$pkgver.tar.gz::https://github.com/byllyfish/precis_i18n/archive/v$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

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

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

package() {
	mkdir -p "$pkgdir"
}

_py2() {
	_py python2
}

_py3() {
	_py python3
}

_py() {
	local python="$1"
	pkgdesc="$pkgdesc (for $python)"
	depends="$depends $python"
	install_if="$pkgname=$pkgver-r$pkgrel $python"

	cd "$builddir"
	$python setup.py install --prefix=/usr --root="$subpkgdir"
}

sha512sums="b43622458fefb051e6f5ae6e347abfa65195052c63290b2be3ffb7c05eae0300caee53713d7216ee36c4ef0508cc4828e4d7ed3c65df873a684b803cc19bd410  precis_i18n-1.0.tar.gz"
-- 
2.21.0



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---
Details
Message ID
<20190709100739.vejnsbk3mnwhrxvs@Impreza>
In-Reply-To
<20190709063246.28883-1-opal@wowana.me> (view parent)
Sender timestamp
1562666859
DKIM signature
missing
Download raw message
Is the py2 package really required ? python2 is going to be EOL soon

> +pkgdesc="Python3 implementation of PRECIS framework (RFC 8264, RFC 8265, RFC 8266)"

pkgdesc explicitly mentions python3 but package is py2/py3 split



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---
Reply to thread Export thread (mbox)