python-patiencediff 0.2.15-1
This commit is contained in:
parent
b45a39aa43
commit
7153d41b76
18
PKGBUILD
18
PKGBUILD
@ -5,31 +5,25 @@
|
||||
|
||||
# Maintainer: Future Linux Team <future_linux@163.com>
|
||||
pkgname=python-patiencediff
|
||||
pkgver=0.2.14
|
||||
pkgver=0.2.15
|
||||
pkgrel=1
|
||||
pkgdesc="Patiencediff Python and C implementations"
|
||||
arch=('x86_64')
|
||||
url="https://www.breezy-vcs.org"
|
||||
license=('GPL2')
|
||||
depends=('glibc' 'python')
|
||||
makedepends=('git' 'python-build' 'python-installer' 'python-setuptools' 'python-wheel')
|
||||
source=(git+https://github.com/breezy-team/patiencediff.git#tag=84e7d1ccb8f623bc082a4412f6b8686523b57a0b)
|
||||
sha256sums=(SKIP)
|
||||
|
||||
pkgver() {
|
||||
cd ${pkgname#*-}
|
||||
|
||||
git describe --tags | sed 's/^v//'
|
||||
}
|
||||
makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel')
|
||||
source=(https://github.com/breezy-team/patiencediff/archive/v${pkgver}/${pkgname#*-}-${pkgver}.tar.gz)
|
||||
sha256sums=(77b905e2f02029244a46b99ac3682e4a50ccc2f7e0cc66c1a025282328647b5d)
|
||||
|
||||
build() {
|
||||
cd ${pkgname#*-}
|
||||
cd ${pkgname#*-}-${pkgver}
|
||||
|
||||
python3 -m build --wheel --no-isolation
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${pkgname#*-}
|
||||
cd ${pkgname#*-}-${pkgver}
|
||||
|
||||
python3 -m installer --destdir=${pkgdir} dist/*.whl
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user