[arch-commits] Commit in python-cleo/repos/community-staging-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Thu Dec 2 21:37:04 UTC 2021
Date: Thursday, December 2, 2021 @ 21:37:04
Author: felixonmars
Revision: 1062609
archrelease: copy trunk to community-staging-any
Added:
python-cleo/repos/community-staging-any/PKGBUILD
(from rev 1062608, python-cleo/trunk/PKGBUILD)
Deleted:
python-cleo/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 86 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 43 insertions(+), 43 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-02 21:37:00 UTC (rev 1062608)
+++ PKGBUILD 2021-12-02 21:37:04 UTC (rev 1062609)
@@ -1,43 +0,0 @@
-# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
-
-_pkgname=cleo
-pkgname=python-cleo
-pkgver=0.8.1
-pkgrel=2
-pkgdesc="create beautiful and testable command-line interfaces"
-arch=('any')
-url="https://github.com/sdispater/${_pkgname}"
-license=('MIT')
-depends=('python-clikit')
-makedepends=('python-dephell' 'python-setuptools')
-checkdepends=('python-pytest' 'python-pytest-mock')
-source=("${_pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
-sha256sums=('3ff6fe33d9e440dba4d9b0947e65ebebf95671d18d89b67bed1e1a09d2266bc1')
-b2sums=('57971f6254a31ecf5101d89e96607b5915ab5138d727279d445172b89a10acd6b76619d344973fa2bdbc320866fa1dbdf05c889f4eca879839fa6bcbbad0af7c')
-
-prepare() {
- cd ${_pkgname}-${pkgver}
-
- # poetry-generated setup.py are fatally broken, see:
- # https://github.com/sdispater/poetry/issues/866
- dephell deps convert --from pyproject.toml --to setup.py
-}
-
-build(){
- cd ${_pkgname}-${pkgver}
-
- python setup.py build
-}
-
-check() {
- cd ${_pkgname}-${pkgver}
-
- python -m pytest
-}
-
-package() {
- cd ${_pkgname}-${pkgver}
-
- python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
- install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-}
Copied: python-cleo/repos/community-staging-any/PKGBUILD (from rev 1062608, python-cleo/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-12-02 21:37:04 UTC (rev 1062609)
@@ -0,0 +1,43 @@
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+
+_pkgname=cleo
+pkgname=python-cleo
+pkgver=0.8.1
+pkgrel=3
+pkgdesc="create beautiful and testable command-line interfaces"
+arch=('any')
+url="https://github.com/sdispater/${_pkgname}"
+license=('MIT')
+depends=('python-clikit')
+makedepends=('python-dephell' 'python-setuptools')
+checkdepends=('python-pytest' 'python-pytest-mock')
+source=("${_pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
+sha256sums=('3ff6fe33d9e440dba4d9b0947e65ebebf95671d18d89b67bed1e1a09d2266bc1')
+b2sums=('57971f6254a31ecf5101d89e96607b5915ab5138d727279d445172b89a10acd6b76619d344973fa2bdbc320866fa1dbdf05c889f4eca879839fa6bcbbad0af7c')
+
+prepare() {
+ cd ${_pkgname}-${pkgver}
+
+ # poetry-generated setup.py are fatally broken, see:
+ # https://github.com/sdispater/poetry/issues/866
+ dephell deps convert --from pyproject.toml --to setup.py
+}
+
+build(){
+ cd ${_pkgname}-${pkgver}
+
+ python setup.py build
+}
+
+check() {
+ cd ${_pkgname}-${pkgver}
+
+ python -m pytest
+}
+
+package() {
+ cd ${_pkgname}-${pkgver}
+
+ python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+ install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}
More information about the arch-commits
mailing list