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

Bruno Pagani archange at gemini.archlinux.org
Sun Mar 20 14:50:44 UTC 2022


    Date: Sunday, March 20, 2022 @ 14:50:44
  Author: archange
Revision: 1163789

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   64 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 32 insertions(+), 32 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-03-20 14:49:18 UTC (rev 1163788)
+++ PKGBUILD	2022-03-20 14:50:44 UTC (rev 1163789)
@@ -1,32 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-_pkg=entrypoint2
-pkgname=python-${_pkg}
-pkgver=0.2.4
-pkgrel=3
-pkgdesc="Easy to use command-line interface for python modules"
-arch=(any)
-url="https://github.com/ponty/entrypoint2"
-license=(BSD)
-depends=(python)
-makedepends=(python-setuptools)
-checkdepends=(python-pytest python-easyprocess)
-source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz)
-#source=(${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha256sums=('4770c3afcf3865c606a6e5f7cfcc5c59212f555fcee9b2540270399149c1dde3')
-
-build() {
-  cd ${_pkg}-${pkgver}
-  python setup.py build
-}
-
-check() {
-  cd ${_pkg}-${pkgver}
-  PYTHONPATH="build/lib/" py.test -v
-}
-
-package() {
-  cd ${_pkg}-${pkgver}
-  python setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1
-  install -Dm644 LICENSE.txt -t "${pkgdir}"/usr/share/licenses/${pkgname}
-}

Copied: python-entrypoint2/repos/community-any/PKGBUILD (from rev 1163788, python-entrypoint2/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-03-20 14:50:44 UTC (rev 1163789)
@@ -0,0 +1,32 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_pkg=entrypoint2
+pkgname=python-${_pkg}
+pkgver=1.0
+pkgrel=1
+pkgdesc="Easy to use command-line interface for python modules"
+arch=(any)
+url="https://github.com/ponty/entrypoint2"
+license=(BSD)
+depends=(python)
+makedepends=(python-setuptools)
+checkdepends=(python-pytest python-easyprocess)
+source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz)
+#source=(${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('67e906f6ad958d83f48b4edec28d7dd82670e9261988f6b4a6b63abc9fb3be56')
+
+build() {
+  cd ${_pkg}-${pkgver}
+  python setup.py build
+}
+
+check() {
+  cd ${_pkg}-${pkgver}
+  PYTHONPATH="${PWD}"/build/lib/ pytest -vv --color=yes
+}
+
+package() {
+  cd ${_pkg}-${pkgver}
+  python setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1
+  install -Dm644 LICENSE.txt -t "${pkgdir}"/usr/share/licenses/${pkgname}
+}



More information about the arch-commits mailing list