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

David Runge dvzrv at gemini.archlinux.org
Wed Jan 26 09:43:15 UTC 2022


    Date: Wednesday, January 26, 2022 @ 09:43:15
  Author: dvzrv
Revision: 1115646

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   76 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 38 insertions(+), 38 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-26 09:43:07 UTC (rev 1115645)
+++ PKGBUILD	2022-01-26 09:43:15 UTC (rev 1115646)
@@ -1,38 +0,0 @@
-# Maintainer: David Runge <dave at sleepmap.de>
-_name=pilkit
-pkgname=python-pilkit
-pkgver=2.0
-pkgrel=9
-pkgdesc="A collection of utilities for working with PIL (the Python Imaging Library)"
-arch=('any')
-url="https://github.com/matthewwithanm/pilkit"
-license=('BSD')
-depends=('python')
-makedepends=('python-setuptools')
-checkdepends=('python-mock' 'python-nose' 'python-nose-progressive' 'python-pillow')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha512sums=('7618d7de125f2813b25d707b02b70ca9cb4e19105ed0eb3be3ff6b926a812ed2a609e54f8e86535641fc4baef265fae58d70290c14011eeea744e90066b7bdae')
-
-prepare() {
-  mv -v "${_name}-$pkgver" "$pkgname-$pkgver"
-}
-
-build() {
-  cd "$pkgname-$pkgver"
-  python setup.py build
-}
-
-check() {
-  cd "$pkgname-$pkgver"
-  python setup.py test
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-  python setup.py install --skip-build \
-    --optimize=1 \
-    --prefix=/usr \
-    --root="${pkgdir}"
-  install -vDm 644 {AUTHORS,README.rst} -t "${pkgdir}/usr/share/doc/${pkgname}"
-  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-}

Copied: python-pilkit/repos/community-any/PKGBUILD (from rev 1115645, python-pilkit/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-01-26 09:43:15 UTC (rev 1115646)
@@ -0,0 +1,38 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=pilkit
+pkgname=python-pilkit
+pkgver=2.0
+pkgrel=10
+pkgdesc="A collection of utilities for working with PIL (the Python Imaging Library)"
+arch=(any)
+url="https://github.com/matthewwithanm/pilkit"
+license=(BSD)
+depends=(python)
+makedepends=(python-setuptools)
+checkdepends=(python-mock python-nose python-pillow python-pytest)
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha512sums=('7618d7de125f2813b25d707b02b70ca9cb4e19105ed0eb3be3ff6b926a812ed2a609e54f8e86535641fc4baef265fae58d70290c14011eeea744e90066b7bdae')
+b2sums=('e612b1f438d17c068dcad5d5150b3593374e7c5b2d08439eb64754cfa3a8c54d298adffa6d57d884bd1b2338b01afb159c238d90d4144608d47d51cc77c14a1c')
+
+prepare() {
+  mv -v "${_name}-$pkgver" "$pkgname-$pkgver"
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  python setup.py build
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  PYTHONPATH="build:$PYTHONPATH"
+  pytest -vv
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  python setup.py install --optimize=1 --root="${pkgdir}"
+  install -vDm 644 {AUTHORS,README.rst} -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}



More information about the arch-commits mailing list