mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-18 07:02:29 +01:00
31 lines
828 B
Plaintext
31 lines
828 B
Plaintext
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
pkgname=unify
|
|
pkgver=0.4
|
|
pkgrel=1
|
|
pkgdesc="A strings modification tool for (single/double) quote"
|
|
url="https://github.com/myint/unify"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="python3"
|
|
makedepends="python3-dev py3-setuptools"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/myint/unify/archive/v$pkgver.tar.gz"
|
|
builddir="$srcdir"/$pkgname-$pkgver
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir"
|
|
python3 setup.py test
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="dc06553f13480eca832ed40e632d63581471017a36d6fa7f360b324657ac135bb74e803f3082ee03d1d31977000cf7724ff249f4183fae6a1ca9cfd9e69346e6 unify-0.4.tar.gz"
|