~sircmpwn/sr.ht-dev

py3-hglib: new aport v1 PROPOSED

Drew DeVault: 2
 py3-hglib: new aport
 hg-evolve: upgrade to 11.1.4

 2 files changed, 35 insertions(+), 2 deletions(-)
LGTM, thanks!

(I should maybe setup some notifications about new hg-related releases
to do these upgrades myself... thanks for taking care of it)
This was needed because it fell out of the Mercurial package, I think.
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~sircmpwn/sr.ht-dev/patches/54099/mbox | git am -3
Learn more about email & git

[PATCH 1/2] py3-hglib: new aport Export this patch

---
 sr.ht/py3-hglib/APKBUILD | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)
 create mode 100644 sr.ht/py3-hglib/APKBUILD

diff --git a/sr.ht/py3-hglib/APKBUILD b/sr.ht/py3-hglib/APKBUILD
new file mode 100644
index 0000000..de789af
--- /dev/null
+++ b/sr.ht/py3-hglib/APKBUILD
@@ -0,0 +1,33 @@
# Contributor: Drew DeVault <sir@cmpwn.com>
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-hglib
_pyname=python-hglib
pkgver=2.6.2
pkgrel=0
pkgdesc="Mercurial Python library"
url="https://wiki.mercurial-scm.org/PythonHglib"
arch="noarch"
license="MIT"
makedepends="python3-dev py3-setuptools"
checkdepends="py3-nose"
_pypiprefix="${_pyname%${_pyname#?}}"
subpackages="$pkgname-pyc"
source="
	https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz
"
builddir="$srcdir"/$_pyname-$pkgver
# Upstream test suite depends on now-removed deprecated functionality, fixed in
# the next hglib release
options="!check"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --root="$pkgdir" --optimize=1
}

sha512sums="
be83519a11846c9389506e12d0cf4e8bfcc47dbc4013cf3260f92932f59c430930ca38f6705aba70225a62408b952ae2f6c3f074c8d1d1651142a4977ace63d4  python-hglib-2.6.2.tar.gz
"
-- 
2.45.2
Why is this a new aport? What were we using before?

(otherwise, LGTM, thanks!)

[PATCH 2/2] hg-evolve: upgrade to 11.1.4 Export this patch

---
 sr.ht/hg-evolve/APKBUILD | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sr.ht/hg-evolve/APKBUILD b/sr.ht/hg-evolve/APKBUILD
index 06c70b4..995339d 100644
--- a/sr.ht/hg-evolve/APKBUILD
+++ b/sr.ht/hg-evolve/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Ludovic Chabant <ludovic@chabant.com>
pkgname=hg-evolve
_pyname=$pkgname
pkgver=11.1.2
pkgver=11.1.4
pkgrel=0
pkgdesc="Flexible evolution of Mercurial history."
url="https://www.mercurial-scm.org/repo/evolve"
@@ -30,5 +30,5 @@ package() {
}

sha512sums="
6074f261157690610e834440c58f92f08ed78c7f55c0d3c2523aaa6ab83772a19ba2c171568527f09e1221d418cb3d294b31960bb52ead0d9d1398eef5e9d079  hg-evolve-11.1.2.tar.gz
b69331888aded8bba7d1e5efed382826b81845f18aff9ee186b6445f3e020bd7480452261c42bf23a010d78e2df0d78515cba71c8b1daf47bd19cc8280832a64  hg-evolve-11.1.4.tar.gz
"
-- 
2.45.2
LGTM, thanks!

(I should maybe setup some notifications about new hg-related releases
to do these upgrades myself... thanks for taking care of it)