~alpine/aports

2 2

[PATCH 6/8] testing/py3-keyring: New aport

Marian Buschsieweke <marian.buschsieweke@ovgu.de>
Details
Message ID
<20190713114246.17619-6-marian.buschsieweke@ovgu.de>
Sender timestamp
1563018164
DKIM signature
missing
Download raw message
Patch: +29 -0
pyKeyring is a tool to store encrypted passwords in a simple database file.
https://github.com/gabrielperes97/pyKeyring
---
 testing/py3-keyring/APKBUILD | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 testing/py3-keyring/APKBUILD

diff --git a/testing/py3-keyring/APKBUILD b/testing/py3-keyring/APKBUILD
new file mode 100644
index 0000000000..b60af1ba12
--- /dev/null
+++ b/testing/py3-keyring/APKBUILD
@@ -0,0 +1,29 @@
# Contributor: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
pkgname=py3-keyring
_pkgname=pyKeyring
pkgver=0.3
pkgrel=0
pkgdesc="A tool to store encrypted passwords in a simple database file"
url="https://github.com/gabrielperes97/pyKeyring"
arch="noarch"
license="MIT"
depends="py3-tinydb py3-bson py3-pyperclip"
makedepends="python3-dev py-setuptools"
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/${_pkgname/-/_}-$pkgver

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

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

check() {
	cd "$builddir"
	python3 setup.py test
}
sha512sums="049bcf783f06610659ab71f482a9161cb2fa9450aad6b7a1d6a73cd750964ae4c8dafe17ea2e2b673ac6e232af95a220da7863ab40030921c7e12f5366ba69b0  py3-keyring-0.3.tar.gz"
-- 
2.22.0
Details
Message ID
<BVI8AS613OFN.22O9Z08SKGU1Q@Impreza>
In-Reply-To
<20190713114246.17619-6-marian.buschsieweke@ovgu.de> (view parent)
Sender timestamp
1563031146
DKIM signature
missing
Download raw message
> +makedepends="python3-dev py-setuptools"

py3-setuptools instead of py-setuptools and remove python3-dev

> +	cd "$builddir"

Can be removed

> +	cd "$builddir"

Can be removed
Marian Buschsieweke <marian.buschsieweke@ovgu.de>
Details
Message ID
<20190713201655.05246eb1@faultier2go>
In-Reply-To
<BVI8AS613OFN.22O9Z08SKGU1Q@Impreza> (view parent)
DKIM signature
missing
Download raw message
Hi,

the attached patch is fixed according to your comments. Thanks for the quick
review.

Kind regards,
Marian

On Sat, 13 Jul 2019 12:19:06 -0300
Leo <thinkabit.ukim@gmail.com> wrote:

> > +makedepends="python3-dev py-setuptools"  
> 
> py3-setuptools instead of py-setuptools and remove python3-dev
> 
> > +	cd "$builddir"  
> 
> Can be removed
> 
> > +	cd "$builddir"  
> 
> Can be removed
Reply to thread Export thread (mbox)