diff options
author | sL1pKn07 | 2023-11-11 23:33:06 +0100 |
---|---|---|
committer | sL1pKn07 | 2023-11-11 23:33:06 +0100 |
commit | 9f0c8a74758f12583956504f9479cbeb9e2004eb (patch) | |
tree | bce64f237a138c74c2f8944d593a12c387ee0f44 | |
parent | e58710ba7f01859618a1549d5749cb6d256d097c (diff) | |
download | aur-9f0c8a74758f12583956504f9479cbeb9e2004eb.tar.gz |
bump
-rw-r--r-- | .SRCINFO | 9 | ||||
-rw-r--r-- | PKGBUILD | 17 |
2 files changed, 19 insertions, 7 deletions
@@ -1,5 +1,3 @@ -# Generated by mksrcinfo v8 -# Wed Sep 27 22:18:15 UTC 2017 pkgbase = psvtools-git pkgdesc = PSV file trimmer, restoration, and validation utility (Python). (GIT version) pkgver = 0.1.0.3.gde2e2a9 @@ -8,11 +6,14 @@ pkgbase = psvtools-git arch = any license = MIT makedepends = git - depends = python-setuptools + makedepends = python-setuptools + makedepends = python-installer + makedepends = python-wheel + makedepends = python-build + makedepends = python-pytest-runner provides = psvtools conflicts = psvtools source = git+https://github.com/kageurufu/psvtools.git sha256sums = SKIP pkgname = psvtools-git - @@ -7,8 +7,14 @@ arch=('any') pkgdesc="PSV file trimmer, restoration, and validation utility (Python). (GIT version)" url='https://github.com/kageurufu/psvtools' license=('MIT') -depends=('python-setuptools') -makedepends=('git') +makedepends=( + 'git' + 'python-setuptools' + 'python-installer' + 'python-wheel' + 'python-build' + 'python-pytest-runner' +) conflicts=('psvtools') provides=('psvtools') source=('git+https://github.com/kageurufu/psvtools.git') @@ -19,9 +25,14 @@ pkgver() { echo "$(git describe --long --tags | tr - .)" } +build() { + cd psvtools + python -m build --wheel --no-isolation +} + package() { cd psvtools - python setup.py install --root="${pkgdir}" --optimize=1 + python -m installer --destdir="${pkgdir}" dist/*.whl install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } |