Initial upload: python-daff 1.4.2-1
Initial upload: python-daff 1.4.2-1
This commit is contained in:
17
python-daff/.SRCINFO
Normal file
17
python-daff/.SRCINFO
Normal file
@@ -0,0 +1,17 @@
|
||||
pkgbase = python-daff
|
||||
pkgdesc = Align and compare tables
|
||||
pkgver = 1.4.2
|
||||
pkgrel = 1
|
||||
url = https://github.com/paulfitz/daff
|
||||
arch = any
|
||||
license = MIT
|
||||
makedepends = python-build
|
||||
makedepends = python-installer
|
||||
makedepends = python-wheel
|
||||
makedepends = python-setuptools
|
||||
makedepends = haxe
|
||||
depends = python
|
||||
source = python-daff-1.4.2.tar.gz::https://github.com/paulfitz/daff/archive/v1.4.2.tar.gz
|
||||
b2sums = 6a66d11de2ac4f466f30f0bb69edaa7cc9c003ef13a4cd3193adc67ec9b38c49dcf5e9404ab01fd26c5ccb0b73d5f46f37b375a44ce20b4e179838e7f66c3ac5
|
||||
|
||||
pkgname = python-daff
|
27
python-daff/PKGBUILD
Normal file
27
python-daff/PKGBUILD
Normal file
@@ -0,0 +1,27 @@
|
||||
# Maintainer: Giovanni Harting <539@idlegandalf.com>
|
||||
|
||||
pkgname=python-daff
|
||||
_name=${pkgname#python-}
|
||||
pkgver=1.4.2
|
||||
pkgrel=1
|
||||
pkgdesc='Align and compare tables'
|
||||
arch=(any)
|
||||
url='https://github.com/paulfitz/daff'
|
||||
license=(MIT)
|
||||
depends=(python)
|
||||
makedepends=(python-build python-installer python-wheel python-setuptools haxe)
|
||||
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
|
||||
b2sums=('6a66d11de2ac4f466f30f0bb69edaa7cc9c003ef13a4cd3193adc67ec9b38c49dcf5e9404ab01fd26c5ccb0b73d5f46f37b375a44ce20b4e179838e7f66c3ac5')
|
||||
|
||||
build() {
|
||||
cd $_name-$pkgver
|
||||
python -m build --wheel --no-isolation --skip-dependency-check
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $_name-$pkgver
|
||||
python -m installer --destdir="$pkgdir" dist/*.whl
|
||||
install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||
}
|
||||
|
||||
# vim:set ts=2 sw=2 et:
|
Reference in New Issue
Block a user