Date: Wednesday, November 16, 2022 @ 15:47:27
Author: alerque
Revision: 1349193
archrelease: copy trunk to community-any
Added:
git-revise/repos/community-any/PKGBUILD
(from rev 1349192, git-revise/trunk/PKGBUILD)
Deleted:
git-revise/repos/community-any/PKGBUILD
----------+
PKGBUILD | 61 ++++++++++++++++++++++++++++---------------------------------
1 file changed, 28 insertions(+), 33 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-11-16 15:47:19 UTC (rev 1349192)
+++ PKGBUILD 2022-11-16 15:47:27 UTC (rev 1349193)
@@ -1,33 +0,0 @@
-# Maintainer: Caleb Maclennan <[email protected]>
-# Contributor: Simon Legner <[email protected]>
-
-pkgname=git-revise
-pkgdesc='A git subcommand to efficiently update, split, and rearrange commits'
-pkgver=0.7.0
-pkgrel=1
-url="https://mystor.github.io/$pkgname.html"
-arch=(any)
-license=(MIT)
-depends=(git
- python)
-makedepends=(python-setuptools)
-_archive="$pkgname-$pkgver"
-source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$_archive.tar.gz")
-sha256sums=('af92ca2e7224c5e7ac2e16ed2f302dd36839a33521655c20fe0b7d693a1dc4c4')
-
-build() {
- cd "$_archive"
- 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 -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
-}
Copied: git-revise/repos/community-any/PKGBUILD (from rev 1349192,
git-revise/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-11-16 15:47:27 UTC (rev 1349193)
@@ -0,0 +1,28 @@
+# Maintainer: Caleb Maclennan <[email protected]>
+# Contributor: Simon Legner <[email protected]>
+
+pkgname=git-revise
+pkgdesc='A git subcommand to efficiently update, split, and rearrange commits'
+pkgver=0.7.0
+pkgrel=2
+url="https://mystor.github.io/$pkgname.html"
+arch=(any)
+license=(MIT)
+depends=(git
+ python)
+makedepends=(python-{build,installer,wheel}
+ python-setuptools)
+_archive="$pkgname-$pkgver"
+source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$_archive.tar.gz")
+sha256sums=('af92ca2e7224c5e7ac2e16ed2f302dd36839a33521655c20fe0b7d693a1dc4c4')
+
+build() {
+ cd "$_archive"
+ python -m build -wn
+}
+
+package() {
+ cd "$_archive"
+ python -m installer -d "$pkgdir" dist/*.whl
+ install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
+}