From 8be92099f112f16887b692fee05db4cbc78eb967 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Sun, 20 Jan 2019 17:43:48 -0500 Subject: [PATCH] Add py3-scmsrht package, update py3-srht --- sr.ht/py3-scmsrht/APKBUILD | 34 ++++++++++++++++++++++++++++++++++ sr.ht/py3-srht/APKBUILD | 1 - 2 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 sr.ht/py3-scmsrht/APKBUILD diff --git a/sr.ht/py3-scmsrht/APKBUILD b/sr.ht/py3-scmsrht/APKBUILD new file mode 100644 index 0000000..5237d74 --- /dev/null +++ b/sr.ht/py3-scmsrht/APKBUILD @@ -0,0 +1,34 @@ +# Maintainer: Drew DeVault +pkgbase=scm.sr.ht +pkgname=py3-scmsrht +pkgver=0.1.1 +pkgrel=0 +pkgdesc="sr.ht shared code" +url="https://git.sr.ht/~sircmpwn/scm.sr.ht" +arch="noarch" +license="BSD" +depends=" + py3-srht +" +makedepends=" + py-setuptools + nodejs-npm + git +" +source="http://git.sr.ht/~sircmpwn/$pkgbase/snapshot/$pkgbase-$pkgver.tar.xz" +builddir="$srcdir/$pkgbase-$pkgver" +options="$options !check" + +build() { + cd "$builddir" + export PKGVER=$pkgver + python3 setup.py build +} + +package() { + cd "$builddir" + export PKGVER=$pkgver + python3 setup.py install --root="$pkgdir" --optimize=1 +} + +sha512sums="2262d62ed1c6c0d7ef697e346a59b2f1416561d216afc897d33680a405ebbe9a scm.sr.ht-0.1.1.tar.xz" diff --git a/sr.ht/py3-srht/APKBUILD b/sr.ht/py3-srht/APKBUILD index 683176a..36a5fc9 100644 --- a/sr.ht/py3-srht/APKBUILD +++ b/sr.ht/py3-srht/APKBUILD @@ -20,7 +20,6 @@ depends=" py3-sqlalchemy py3-sqlalchemy-utils py3-beautifulsoup4 - nodejs " makedepends=" py-setuptools -- 2.45.2