[arch-commits] Commit in git-revise/trunk (PKGBUILD)
Caleb Maclennan
alerque at gemini.archlinux.org
Thu Jan 6 09:58:02 UTC 2022
Date: Thursday, January 6, 2022 @ 09:58:00
Author: alerque
Revision: 1094638
upgpkg: git-revise 0.7.0-1
Modified:
git-revise/trunk/PKGBUILD
----------+
PKGBUILD | 16 +++++++++++-----
1 file changed, 11 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-01-06 09:40:12 UTC (rev 1094637)
+++ PKGBUILD 2022-01-06 09:58:00 UTC (rev 1094638)
@@ -3,9 +3,9 @@
pkgname=git-revise
pkgdesc='A git subcommand to efficiently update, split, and rearrange commits'
-pkgver=0.6.0
-pkgrel=4
-url="https://mystor.github.io/git-revise.html"
+pkgver=0.7.0
+pkgrel=1
+url="https://mystor.github.io/$pkgname.html"
arch=(any)
license=(MIT)
depends=(git
@@ -13,7 +13,7 @@
makedepends=(python-setuptools)
_archive="$pkgname-$pkgver"
source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$_archive.tar.gz")
-sha256sums=('21e89eba6602e8bea38b34ac6ec747acba2aee876f2e73ca0472476109e82bf4')
+sha256sums=('af92ca2e7224c5e7ac2e16ed2f302dd36839a33521655c20fe0b7d693a1dc4c4')
build() {
cd "$_archive"
@@ -20,8 +20,14 @@
python setup.py build
}
+# Tests are missing from PyPi source releases
+# check() {
+# cd "$_archive"
+# python setup.py test
+# }
+
package() {
cd "$_archive"
python setup.py install --root="$pkgdir" --optimize=1 --skip-build
- install -Dm0755 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
+ install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
}
More information about the arch-commits
mailing list