[arch-commits] Commit in python-clikit/repos/community-any (PKGBUILD PKGBUILD)
Eli Schwartz
eschwartz at archlinux.org
Wed Feb 3 01:54:48 UTC 2021
Date: Wednesday, February 3, 2021 @ 01:54:48
Author: eschwartz
Revision: 842040
archrelease: copy trunk to community-any
Added:
python-clikit/repos/community-any/PKGBUILD
(from rev 842039, python-clikit/trunk/PKGBUILD)
Deleted:
python-clikit/repos/community-any/PKGBUILD
----------+
PKGBUILD | 86 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 43 insertions(+), 43 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-02-03 01:54:35 UTC (rev 842039)
+++ PKGBUILD 2021-02-03 01:54:48 UTC (rev 842040)
@@ -1,43 +0,0 @@
-# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
-
-_pkgname=clikit
-pkgname=python-clikit
-pkgver=0.4.2
-pkgrel=3
-pkgdesc="clikit allows you to create beautiful and testable command-line interfaces"
-arch=('any')
-url="https://github.com/sdispater/${_pkgname}"
-license=('MIT')
-depends=('python-pastel' 'python-pylev')
-makedepends=('python-dephell')
-checkdepends=('python-pytest-mock')
-source=("${_pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
-sha256sums=('cf0f337f3a4477ac684cbbee83a74afa35945fefbcdfe898f58aa1f5646c5c23')
-b2sums=('53d0b95805f269548b2dfeaa481564f17207e407c31b350917facd0664c94a686456f719096597f21f0d74117165cc347c90474a6cc1f74692798bffcbd60bf7')
-
-prepare() {
- cd "${srcdir}"/${_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 "${srcdir}"/${_pkgname}-${pkgver}
-
- python setup.py build
-}
-
-check() {
- cd "${srcdir}"/${_pkgname}-${pkgver}
-
- PYTHONPATH=$PWD/src python -m pytest
-}
-
-package() {
- cd "${srcdir}"/${_pkgname}-${pkgver}
-
- python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
- install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-}
Copied: python-clikit/repos/community-any/PKGBUILD (from rev 842039, python-clikit/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-02-03 01:54:48 UTC (rev 842040)
@@ -0,0 +1,43 @@
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+
+_pkgname=clikit
+pkgname=python-clikit
+pkgver=0.6.2
+pkgrel=1
+pkgdesc="clikit allows you to create beautiful and testable command-line interfaces"
+arch=('any')
+url="https://github.com/sdispater/${_pkgname}"
+license=('MIT')
+depends=('python-crashtest' 'python-pastel' 'python-pylev')
+makedepends=('python-dephell')
+checkdepends=('python-pytest-mock')
+source=("${_pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
+sha256sums=('4bb1d934e0c0a93f25429919242d11d60dcd1d9c65ac096033092d7973cbfc6e')
+b2sums=('b72f245128c698375f97139cf245bdc8c017e3e2d142f6e3183a42620b23a024531e5b14f05163c6defa9ee54c52c19a64932c62484f2ec8da5c75ea1b7d3d27')
+
+prepare() {
+ cd "${srcdir}"/${_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 "${srcdir}"/${_pkgname}-${pkgver}
+
+ python setup.py build
+}
+
+check() {
+ cd "${srcdir}"/${_pkgname}-${pkgver}
+
+ PYTHONPATH=$PWD/src python -m pytest
+}
+
+package() {
+ cd "${srcdir}"/${_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