[arch-commits] Commit in python-cleo/repos/community-any (PKGBUILD PKGBUILD)
David Runge
dvzrv at gemini.archlinux.org
Fri Sep 2 16:36:57 UTC 2022
Date: Friday, September 2, 2022 @ 16:36:57
Author: dvzrv
Revision: 1290930
archrelease: copy trunk to community-any
Added:
python-cleo/repos/community-any/PKGBUILD
(from rev 1290929, python-cleo/trunk/PKGBUILD)
Deleted:
python-cleo/repos/community-any/PKGBUILD
----------+
PKGBUILD | 71 ++++++++++++++++++++++++++++++++-----------------------------
1 file changed, 38 insertions(+), 33 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-09-02 16:36:53 UTC (rev 1290929)
+++ PKGBUILD 2022-09-02 16:36:57 UTC (rev 1290930)
@@ -1,33 +0,0 @@
-# Maintainer: Caleb Maclennan <caleb at alerque.com>
-# Contributor: Eli Schwartz <eschwartz at archlinux.org>
-
-_pkgname=cleo
-pkgname=python-cleo
-pkgver=1.0.0a5
-pkgrel=1
-pkgdesc="create beautiful and testable command-line interfaces"
-arch=(any)
-url="https://github.com/python-poetry/${_pkgname}"
-license=(MIT)
-depends=(python-crashtest python-pylev)
-makedepends=(python-build python-installer python-poetry-core python-wheel)
-checkdepends=(python-pytest python-pytest-mock)
-source=("${_pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
-sha256sums=('b75424b2c3f71dec06342290b255d725a4c02f83f3baa98b0a805162f09515da')
-b2sums=('351ae54e6068fd76233934316ffe65eb4394d59115b0c1f3a96ba1e587245b08399c7d7c784562dd97baa7ebcbce227e780269f2b13a6922bb05e3eb29d764c3')
-
-build(){
- cd ${_pkgname}-${pkgver}
- python -m build --wheel --no-isolation
-}
-
-check() {
- cd ${_pkgname}-${pkgver}
- pytest -vv
-}
-
-package() {
- cd ${_pkgname}-${pkgver}
- python -m installer --destdir="$pkgdir" dist/*.whl
- install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/${pkgname}/
-}
Copied: python-cleo/repos/community-any/PKGBUILD (from rev 1290929, python-cleo/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-09-02 16:36:57 UTC (rev 1290930)
@@ -0,0 +1,38 @@
+# Maintainer: Caleb Maclennan <caleb at alerque.com>
+# Contributor: Eli Schwartz <eschwartz at archlinux.org>
+
+_pkgname=cleo
+pkgname=python-cleo
+pkgver=1.0.0a5
+pkgrel=2
+pkgdesc="create beautiful and testable command-line interfaces"
+arch=(any)
+url="https://github.com/python-poetry/$_pkgname"
+license=(MIT)
+depends=(python-crashtest python-pylev)
+makedepends=(python-build python-installer python-poetry-core python-wheel)
+checkdepends=(python-pytest python-pytest-mock)
+source=($_pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz)
+sha256sums=('b75424b2c3f71dec06342290b255d725a4c02f83f3baa98b0a805162f09515da')
+b2sums=('351ae54e6068fd76233934316ffe65eb4394d59115b0c1f3a96ba1e587245b08399c7d7c784562dd97baa7ebcbce227e780269f2b13a6922bb05e3eb29d764c3')
+
+prepare() {
+ # we do not use overly strict version constraints
+ sed 's/\^/>=/g' -i $_pkgname-$pkgver/pyproject.toml
+}
+
+build(){
+ cd $_pkgname-$pkgver
+ python -m build --wheel --no-isolation
+}
+
+check() {
+ cd $_pkgname-$pkgver
+ pytest -vv
+}
+
+package() {
+ cd $_pkgname-$pkgver
+ python -m installer --destdir="$pkgdir" dist/*.whl
+ install -vDm 644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}
More information about the arch-commits
mailing list