[arch-commits] Commit in python-hatchling/trunk (PKGBUILD)
Santiago Torres-Arias
sangy at gemini.archlinux.org
Fri Mar 25 17:59:23 UTC 2022
Date: Friday, March 25, 2022 @ 17:59:22
Author: sangy
Revision: 1176581
upgpkg: python-hatchling 0.21.1-2
+ fix license
+ fix deps
Modified:
python-hatchling/trunk/PKGBUILD
----------+
PKGBUILD | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-03-25 17:53:08 UTC (rev 1176580)
+++ PKGBUILD 2022-03-25 17:59:22 UTC (rev 1176581)
@@ -3,12 +3,13 @@
pkgname=python-hatchling
pkgver=0.21.1
-pkgrel=1
+pkgrel=2
pkgdesc="A modern project, package, and virtual env manager (backend)"
arch=('any')
url="https://github.com/ofek/hatch"
-license=('MIT' 'Apache')
-depends=('python')
+license=('MIT')
+depends=('python' 'python-tomli' 'python-packaging' 'python-pathspec'
+ 'python-pluggy')
makedepends=('python-pip' 'python-build' 'python-setuptools')
_name=${pkgname/python-/}
@@ -25,6 +26,9 @@
package() {
cd "${srcdir}/hatch-${_name}-v${pkgver}"
+ install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
+ install -Dm644 backend/LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
+
PIP_CONFIG_FILE=/dev/null pip install --isolated --root="${pkgdir}" \
--ignore-installed --no-deps backend/dist/*.whl
More information about the arch-commits
mailing list