~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
3 2

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

opal hart <opal@wowana.me>
Details
Message ID
<20190709063743.30328-1-opal@wowana.me>
Sender timestamp
1562654263
DKIM signature
missing
Download raw message
Patch: +49 -0
Apologies, previous patch works fine but has an unnecessary
commented-out line

---
 testing/py-keyring/APKBUILD | 49 +++++++++++++++++++++++++++++++++++++
 1 file changed, 49 insertions(+)
 create mode 100644 testing/py-keyring/APKBUILD

diff --git a/testing/py-keyring/APKBUILD b/testing/py-keyring/APKBUILD
new file mode 100644
index 0000000000..e5ebb7103a
--- /dev/null
+++ b/testing/py-keyring/APKBUILD
@@ -0,0 +1,49 @@
# Maintainer: opal hart <opal@wowana.me>
pkgname=py-keyring
_pkgname="${pkgname#py-}"
pkgver=19.0.1
pkgrel=0
pkgdesc="Access the system keyring service from Python"
url="https://github.com/jaraco/keyring"
arch="noarch"
license="GPL-3.0-only"
makedepends="py-setuptools"
subpackages="py2-$_pkgname:_py2 py3-$_pkgname:_py3"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$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="7dbc15ec622e12a5bd449947e02f329f0004894f76fcd68b4eeabe5771c3bb4721d51bde28ec9de552bcf8db0ebf2f87e57e19e3f8c123e334fd947c7961c92f  keyring-19.0.1.tar.gz"
-- 
2.21.0



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---
Details
Message ID
<20190709100453.ej2o7y57waaocim7@Impreza>
In-Reply-To
<20190709063743.30328-1-opal@wowana.me> (view parent)
Sender timestamp
1562666693
DKIM signature
missing
Download raw message
Do we need the py2 version ? it is going to be EOL soon


---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---
opal hart <opal@wowana.me>
Details
Message ID
<20190710084127.238d65da@clamav.wowana.me>
In-Reply-To
<20190709100453.ej2o7y57waaocim7@Impreza> (view parent)
Sender timestamp
1562748087
DKIM signature
missing
Download raw message
On Tue, 9 Jul 2019 07:04:53 -0300
maxice8 <thinkabit.ukim@gmail.com> wrote:

> Do we need the py2 version ? it is going to be EOL soon

Oh, didn't catch that. I'll modify to just have py3. Should I keep the
py3- name for it or should it have the py- namespace?

-- 
wowaname <https://wowana.me/pgp.xht>


---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---
Details
Message ID
<20190710174300.5hqf7u3f3el4besz@Impreza>
In-Reply-To
<20190710084127.238d65da@clamav.wowana.me> (view parent)
Sender timestamp
1562780580
DKIM signature
missing
Download raw message
On Wed, Jul 10, 2019 at 08:41:27AM +0000, opal hart wrote:
> On Tue, 9 Jul 2019 07:04:53 -0300
> maxice8 <thinkabit.ukim@gmail.com> wrote:
> 
> > Do we need the py2 version ? it is going to be EOL soon
> 
> Oh, didn't catch that. I'll modify to just have py3. Should I keep the
> py3- name for it or should it have the py- namespace?
> 
> -- 
> wowaname <https://wowana.me/pgp.xht>
> 
> 
> ---
> Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
> Help:         alpine-aports+help@lists.alpinelinux.org
> ---
> 

just the py3- name
Reply to thread Export thread (mbox)