[arch-commits] Commit in python-wheezy-template/repos/community-x86_64 (2 files)

Eli Schwartz eschwartz at archlinux.org
Mon May 3 02:29:23 UTC 2021


    Date: Monday, May 3, 2021 @ 02:29:22
  Author: eschwartz
Revision: 926512

archrelease: copy trunk to community-x86_64

Added:
  python-wheezy-template/repos/community-x86_64/PKGBUILD
    (from rev 926511, python-wheezy-template/trunk/PKGBUILD)
Deleted:
  python-wheezy-template/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   79 +++++++++++++++++++++++++++----------------------------------
 1 file changed, 36 insertions(+), 43 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-03 02:29:01 UTC (rev 926511)
+++ PKGBUILD	2021-05-03 02:29:22 UTC (rev 926512)
@@ -1,43 +0,0 @@
-# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
-
-_pkgname=wheezy.template
-pkgname=python-wheezy-template
-pkgver=3.0.3
-pkgrel=1
-pkgdesc="lightweight template library"
-arch=('x86_64')
-url="https://github.com/akornatskyy/${_pkgname}"
-license=('MIT')
-depends=('python')
-makedepends=('python-setuptools' 'cython')
-checkdepends=('python-pytest')
-#source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
-source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
-sha256sums=('37480d916bc38b4c32c74d7cd76143e1f36c6d48ca796fcc581276f9f59be65e')
-b2sums=('6ad64816b9c5a656539333655053b43a315b67de18a5eddb7ae63406bde8754f1e15b5661f99eaab6da16ab732eb4dd4637e739c9f8b41c2f137a0aa26ebbfdf')
-
-prepare() {
-    cd "${srcdir}"/${_pkgname}-${pkgver}
-
-    # https://github.com/akornatskyy/wheezy.template/pull/33
-    sed -i 's/from mock import/from unittest.mock import/' src/wheezy/template/tests/test_loader.py
-}
-
-build() {
-    cd "${srcdir}"/${_pkgname}-${pkgver}
-
-    python setup.py build
-}
-
-check() {
-    cd "${srcdir}"/${_pkgname}-${pkgver}
-
-    PYTHONPATH="$PWD/src" pytest --import-mode=importlib
-}
-
-package() {
-    cd "${srcdir}"/${_pkgname}-${pkgver}
-
-    python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
-    install -D -m644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-}

Copied: python-wheezy-template/repos/community-x86_64/PKGBUILD (from rev 926511, python-wheezy-template/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-05-03 02:29:22 UTC (rev 926512)
@@ -0,0 +1,36 @@
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+
+_pkgname=wheezy.template
+pkgname=python-wheezy-template
+pkgver=3.1.0
+pkgrel=1
+pkgdesc="lightweight template library"
+arch=('x86_64')
+url="https://github.com/akornatskyy/${_pkgname}"
+license=('MIT')
+depends=('python')
+makedepends=('python-setuptools' 'cython')
+checkdepends=('python-pytest')
+#source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
+source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
+sha256sums=('a75692c8bc4aeb750a378192fe094f6c28901526c6ca754fa92f3783cdd7abcd')
+b2sums=('6cbaa6e5656a0b3bf417ed500770c97f2207f97822ccdf624c87cb0f3c0d2fa3b1a2269641325c6d6138568aeff3bcc417e6e4896186e2fe7c1b31a15e2d7365')
+
+build() {
+    cd "${srcdir}"/${_pkgname}-${pkgver}
+
+    python setup.py build
+}
+
+check() {
+    cd "${srcdir}"/${_pkgname}-${pkgver}
+
+    PYTHONPATH="$PWD/src" pytest --import-mode=importlib
+}
+
+package() {
+    cd "${srcdir}"/${_pkgname}-${pkgver}
+
+    python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+    install -D -m644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}



More information about the arch-commits mailing list