From 2f28be5e14ecc1cea3e8167e66b1f91055095831 Mon Sep 17 00:00:00 2001 From: Tharre Date: Wed, 25 Jul 2018 03:38:22 +0200 Subject: Initial commit --- .SRCINFO | 13 +++++++++++++ PKGBUILD | 22 ++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 .SRCINFO create mode 100644 PKGBUILD diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..f203b56 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = grokmirror + pkgdesc = Framework to smartly mirror git repositories + pkgver = 1.1.0 + pkgrel = 1 + url = https://github.com/mricon/grokmirror + arch = any + license = GPL3 + depends = python-setuptools + source = https://files.pythonhosted.org/packages/source/g/grokmirror/grokmirror-1.1.0.tar.gz + sha256sums = e687f5242e15402352d425b350f69508f577aa4466c0c236b0fa1c8bda8c27fe + +pkgname = grokmirror + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..5ecbbae --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,22 @@ +# Maintainer: Tharre + +pkgname=grokmirror +pkgver=1.1.0 +pkgrel=1 +pkgdesc='Framework to smartly mirror git repositories' +url='https://github.com/mricon/grokmirror' +arch=('any') +license=('GPL3') +depends=('python-setuptools') +source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz") +sha256sums=('e687f5242e15402352d425b350f69508f577aa4466c0c236b0fa1c8bda8c27fe') + +build() { + cd "${pkgname}-${pkgver}" + python setup.py build +} + +package() { + cd "${pkgname}-${pkgver}" + python setup.py install --root="$pkgdir/" --optimize=1 --skip-build +} -- cgit v1.2.3-70-g09d2 From 0a9e5b6ff85aace82ce145b67badfedec06b49f1 Mon Sep 17 00:00:00 2001 From: Tharre Date: Wed, 25 Jul 2018 18:47:41 +0200 Subject: Add man pages Since the package in PyPI doesn't include them, we also download the tarball from github releases directly. --- .SRCINFO | 6 +++--- PKGBUILD | 10 ++++++---- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index f203b56..2686320 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,13 +1,13 @@ pkgbase = grokmirror pkgdesc = Framework to smartly mirror git repositories pkgver = 1.1.0 - pkgrel = 1 + pkgrel = 2 url = https://github.com/mricon/grokmirror arch = any license = GPL3 depends = python-setuptools - source = https://files.pythonhosted.org/packages/source/g/grokmirror/grokmirror-1.1.0.tar.gz - sha256sums = e687f5242e15402352d425b350f69508f577aa4466c0c236b0fa1c8bda8c27fe + source = grokmirror-1.1.0::https://github.com/mricon/grokmirror/archive/v1.1.0.tar.gz + sha256sums = c838df4e9f055b269dd9664c554586d05cc91db337f559b3c2318aba24c89354 pkgname = grokmirror diff --git a/PKGBUILD b/PKGBUILD index 5ecbbae..a09ec0b 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,14 +2,14 @@ pkgname=grokmirror pkgver=1.1.0 -pkgrel=1 +pkgrel=2 pkgdesc='Framework to smartly mirror git repositories' url='https://github.com/mricon/grokmirror' arch=('any') license=('GPL3') depends=('python-setuptools') -source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz") -sha256sums=('e687f5242e15402352d425b350f69508f577aa4466c0c236b0fa1c8bda8c27fe') +source=("${pkgname}-${pkgver}::https://github.com/mricon/grokmirror/archive/v${pkgver}.tar.gz") +sha256sums=('c838df4e9f055b269dd9664c554586d05cc91db337f559b3c2318aba24c89354') build() { cd "${pkgname}-${pkgver}" @@ -18,5 +18,7 @@ build() { package() { cd "${pkgname}-${pkgver}" - python setup.py install --root="$pkgdir/" --optimize=1 --skip-build + python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build + + install -Dm644 -t "${pkgdir}/usr/share/man/man1/" "man/"*.1 } -- cgit v1.2.3-70-g09d2 From 5332df6f50f08843183e23302620100a6e7be815 Mon Sep 17 00:00:00 2001 From: Tharre Date: Thu, 9 Aug 2018 20:43:26 +0200 Subject: Use sources from kernel.org and verify keys The kernel.org repo is considered official, see [0]. [0] https://github.com/mricon/grokmirror/issues/25 --- .SRCINFO | 9 ++++++--- PKGBUILD | 8 +++++--- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 2686320..359e951 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -2,12 +2,15 @@ pkgbase = grokmirror pkgdesc = Framework to smartly mirror git repositories pkgver = 1.1.0 pkgrel = 2 - url = https://github.com/mricon/grokmirror + url = https://git.kernel.org/pub/scm/utils/grokmirror/grokmirror.git arch = any license = GPL3 depends = python-setuptools - source = grokmirror-1.1.0::https://github.com/mricon/grokmirror/archive/v1.1.0.tar.gz - sha256sums = c838df4e9f055b269dd9664c554586d05cc91db337f559b3c2318aba24c89354 + source = https://git.kernel.org/pub/scm/utils/grokmirror/grokmirror.git/snapshot/grokmirror-1.1.0.tar.gz + source = https://git.kernel.org/pub/scm/utils/grokmirror/grokmirror.git/snapshot/grokmirror-1.1.0.tar.asc + validpgpkeys = DE0E66E32F1FDD0902666B96E63EDCA9329DD07E + sha256sums = SKIP + sha256sums = SKIP pkgname = grokmirror diff --git a/PKGBUILD b/PKGBUILD index a09ec0b..250ea86 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -4,12 +4,14 @@ pkgname=grokmirror pkgver=1.1.0 pkgrel=2 pkgdesc='Framework to smartly mirror git repositories' -url='https://github.com/mricon/grokmirror' +url='https://git.kernel.org/pub/scm/utils/grokmirror/grokmirror.git' arch=('any') license=('GPL3') depends=('python-setuptools') -source=("${pkgname}-${pkgver}::https://github.com/mricon/grokmirror/archive/v${pkgver}.tar.gz") -sha256sums=('c838df4e9f055b269dd9664c554586d05cc91db337f559b3c2318aba24c89354') +source=(https://git.kernel.org/pub/scm/utils/grokmirror/grokmirror.git/snapshot/grokmirror-${pkgver}.tar.{gz,asc}) +validpgpkeys=('DE0E66E32F1FDD0902666B96E63EDCA9329DD07E') # Konstantin Ryabitsev +sha256sums=('SKIP' + 'SKIP') build() { cd "${pkgname}-${pkgver}" -- cgit v1.2.3-70-g09d2 From 1c9cd6dc362de14d1548ced04f6be05aefd599a2 Mon Sep 17 00:00:00 2001 From: Tharre Date: Thu, 9 Aug 2018 20:45:10 +0200 Subject: Add missing dependencies --- .SRCINFO | 3 +++ PKGBUILD | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.SRCINFO b/.SRCINFO index 359e951..210c912 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -6,6 +6,9 @@ pkgbase = grokmirror arch = any license = GPL3 depends = python-setuptools + depends = python-anyjson + depends = python-gitpython + depends = python-enlighten source = https://git.kernel.org/pub/scm/utils/grokmirror/grokmirror.git/snapshot/grokmirror-1.1.0.tar.gz source = https://git.kernel.org/pub/scm/utils/grokmirror/grokmirror.git/snapshot/grokmirror-1.1.0.tar.asc validpgpkeys = DE0E66E32F1FDD0902666B96E63EDCA9329DD07E diff --git a/PKGBUILD b/PKGBUILD index 250ea86..0a79b20 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -7,7 +7,8 @@ pkgdesc='Framework to smartly mirror git repositories' url='https://git.kernel.org/pub/scm/utils/grokmirror/grokmirror.git' arch=('any') license=('GPL3') -depends=('python-setuptools') +depends=('python-setuptools' 'python-anyjson' 'python-gitpython' + 'python-enlighten') source=(https://git.kernel.org/pub/scm/utils/grokmirror/grokmirror.git/snapshot/grokmirror-${pkgver}.tar.{gz,asc}) validpgpkeys=('DE0E66E32F1FDD0902666B96E63EDCA9329DD07E') # Konstantin Ryabitsev sha256sums=('SKIP' -- cgit v1.2.3-70-g09d2 From e489dd86c74832c86a55093fc8763da38c97b9b5 Mon Sep 17 00:00:00 2001 From: Tharre Date: Thu, 9 Aug 2018 20:52:18 +0200 Subject: Bump to 1.1.1 --- .SRCINFO | 8 ++++---- PKGBUILD | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 210c912..b076687 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = grokmirror pkgdesc = Framework to smartly mirror git repositories - pkgver = 1.1.0 - pkgrel = 2 + pkgver = 1.1.1 + pkgrel = 1 url = https://git.kernel.org/pub/scm/utils/grokmirror/grokmirror.git arch = any license = GPL3 @@ -9,8 +9,8 @@ pkgbase = grokmirror depends = python-anyjson depends = python-gitpython depends = python-enlighten - source = https://git.kernel.org/pub/scm/utils/grokmirror/grokmirror.git/snapshot/grokmirror-1.1.0.tar.gz - source = https://git.kernel.org/pub/scm/utils/grokmirror/grokmirror.git/snapshot/grokmirror-1.1.0.tar.asc + source = https://git.kernel.org/pub/scm/utils/grokmirror/grokmirror.git/snapshot/grokmirror-1.1.1.tar.gz + source = https://git.kernel.org/pub/scm/utils/grokmirror/grokmirror.git/snapshot/grokmirror-1.1.1.tar.asc validpgpkeys = DE0E66E32F1FDD0902666B96E63EDCA9329DD07E sha256sums = SKIP sha256sums = SKIP diff --git a/PKGBUILD b/PKGBUILD index 0a79b20..3cb1d43 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,8 +1,8 @@ # Maintainer: Tharre pkgname=grokmirror -pkgver=1.1.0 -pkgrel=2 +pkgver=1.1.1 +pkgrel=1 pkgdesc='Framework to smartly mirror git repositories' url='https://git.kernel.org/pub/scm/utils/grokmirror/grokmirror.git' arch=('any') -- cgit v1.2.3-70-g09d2 From e7974bfdec5fc614ba5856e211d0123526ec9d8c Mon Sep 17 00:00:00 2001 From: Tharre Date: Tue, 19 Feb 2019 04:25:32 +0100 Subject: Bump to 1.2.0 --- PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PKGBUILD b/PKGBUILD index 3cb1d43..4aad3fb 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Tharre pkgname=grokmirror -pkgver=1.1.1 +pkgver=1.2.0 pkgrel=1 pkgdesc='Framework to smartly mirror git repositories' url='https://git.kernel.org/pub/scm/utils/grokmirror/grokmirror.git' -- cgit v1.2.3-70-g09d2 From f4a97b5e74ff68236bbaccc511c33334668f97f7 Mon Sep 17 00:00:00 2001 From: Tharre Date: Tue, 19 Feb 2019 04:25:32 +0100 Subject: Fix .SRCINFO --- .SRCINFO | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index b076687..86651ca 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = grokmirror pkgdesc = Framework to smartly mirror git repositories - pkgver = 1.1.1 + pkgver = 1.2.0 pkgrel = 1 url = https://git.kernel.org/pub/scm/utils/grokmirror/grokmirror.git arch = any @@ -9,8 +9,8 @@ pkgbase = grokmirror depends = python-anyjson depends = python-gitpython depends = python-enlighten - source = https://git.kernel.org/pub/scm/utils/grokmirror/grokmirror.git/snapshot/grokmirror-1.1.1.tar.gz - source = https://git.kernel.org/pub/scm/utils/grokmirror/grokmirror.git/snapshot/grokmirror-1.1.1.tar.asc + source = https://git.kernel.org/pub/scm/utils/grokmirror/grokmirror.git/snapshot/grokmirror-1.2.0.tar.gz + source = https://git.kernel.org/pub/scm/utils/grokmirror/grokmirror.git/snapshot/grokmirror-1.2.0.tar.asc validpgpkeys = DE0E66E32F1FDD0902666B96E63EDCA9329DD07E sha256sums = SKIP sha256sums = SKIP -- cgit v1.2.3-70-g09d2 From 24828a61b1538e0eaa574e655d6132e7859aa1e5 Mon Sep 17 00:00:00 2001 From: Tharre Date: Thu, 16 Dec 2021 16:49:48 +0100 Subject: Update to 2.0.11 --- .SRCINFO | 14 ++++++-------- PKGBUILD | 6 +++--- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 86651ca..07aa9e8 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,19 +1,17 @@ pkgbase = grokmirror pkgdesc = Framework to smartly mirror git repositories - pkgver = 1.2.0 + pkgver = 2.0.11 pkgrel = 1 url = https://git.kernel.org/pub/scm/utils/grokmirror/grokmirror.git arch = any license = GPL3 - depends = python-setuptools - depends = python-anyjson - depends = python-gitpython - depends = python-enlighten - source = https://git.kernel.org/pub/scm/utils/grokmirror/grokmirror.git/snapshot/grokmirror-1.2.0.tar.gz - source = https://git.kernel.org/pub/scm/utils/grokmirror/grokmirror.git/snapshot/grokmirror-1.2.0.tar.asc + makedepends = python-setuptools + depends = python-requests + depends = python-packaging + source = https://git.kernel.org/pub/scm/utils/grokmirror/grokmirror.git/snapshot/grokmirror-2.0.11.tar.gz + source = https://git.kernel.org/pub/scm/utils/grokmirror/grokmirror.git/snapshot/grokmirror-2.0.11.tar.asc validpgpkeys = DE0E66E32F1FDD0902666B96E63EDCA9329DD07E sha256sums = SKIP sha256sums = SKIP pkgname = grokmirror - diff --git a/PKGBUILD b/PKGBUILD index 4aad3fb..b547964 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,14 +1,14 @@ # Maintainer: Tharre pkgname=grokmirror -pkgver=1.2.0 +pkgver=2.0.11 pkgrel=1 pkgdesc='Framework to smartly mirror git repositories' url='https://git.kernel.org/pub/scm/utils/grokmirror/grokmirror.git' arch=('any') license=('GPL3') -depends=('python-setuptools' 'python-anyjson' 'python-gitpython' - 'python-enlighten') +depends=('python-requests' 'python-packaging') +makedepends=('python-setuptools') source=(https://git.kernel.org/pub/scm/utils/grokmirror/grokmirror.git/snapshot/grokmirror-${pkgver}.tar.{gz,asc}) validpgpkeys=('DE0E66E32F1FDD0902666B96E63EDCA9329DD07E') # Konstantin Ryabitsev sha256sums=('SKIP' -- cgit v1.2.3-70-g09d2