[arch-commits] Commit in python-clikit/repos/community-any (PKGBUILD PKGBUILD)

Eli Schwartz eschwartz at archlinux.org
Sun Mar 1 20:48:47 UTC 2020


    Date: Sunday, March 1, 2020 @ 20:48:45
  Author: eschwartz
Revision: 588190

archrelease: copy trunk to community-any

Added:
  python-clikit/repos/community-any/PKGBUILD
    (from rev 588188, python-clikit/trunk/PKGBUILD)
Deleted:
  python-clikit/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   92 ++++++++++++++++++++++++++++---------------------------------
 1 file changed, 43 insertions(+), 49 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-01 20:48:40 UTC (rev 588189)
+++ PKGBUILD	2020-03-01 20:48:45 UTC (rev 588190)
@@ -1,49 +0,0 @@
-# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
-
-_pkgname=clikit
-pkgname=python-clikit
-pkgver=0.4.1
-pkgrel=2
-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"
-        "https://github.com/sdispater/clikit/pull/12/commits/00cb6a31be769ed8568fd296aa0b23dd6b4cbc8d.patch")
-sha256sums=('e63e5f1501dbfb69edcf945de8e8eb99375d17a31dfc9651dcfa160c4927595f'
-            '068170e881b13b3f7215e74c77d68d09a59b782a9bbe1ffaa8b4f6e2f6597c2d')
-b2sums=('8efbb179fc8cc8bdc8ed8028d3ebac5b14dc6fce86c9f72a7c7ed8e6bb8288e2af882a17c1cb36a8b7c321d57f4bd32b4d74dd5923bb8563202409b66c342944'
-        '3dba18178ff39e2128ebc74f171b40c6405c9fa536549c0807dd89dfe3efb1d3437a60e6fe403223b97f32151b973720e6a3f582d1479d2ba955bf9c6bc6924b')
-
-prepare() {
-    cd "${srcdir}"/${_pkgname}-${pkgver}
-
-    # compat with latest pastel
-    patch -p1 -i ../00cb6a31be769ed8568fd296aa0b23dd6b4cbc8d.patch
-
-    # 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 588188, python-clikit/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-03-01 20:48:45 UTC (rev 588190)
@@ -0,0 +1,43 @@
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+
+_pkgname=clikit
+pkgname=python-clikit
+pkgver=0.4.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-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
+}



More information about the arch-commits mailing list