[arch-commits] Commit in python-pypng/trunk (PKGBUILD)

Filipe Laíns ffy00 at gemini.archlinux.org
Sun Nov 7 20:23:12 UTC 2021


    Date: Sunday, November 7, 2021 @ 20:23:12
  Author: ffy00
Revision: 1038718

upgpkg: python-pypng 0.0.21-1

Modified:
  python-pypng/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-07 20:23:05 UTC (rev 1038717)
+++ PKGBUILD	2021-11-07 20:23:12 UTC (rev 1038718)
@@ -2,8 +2,8 @@
 
 _pkgname=pypng
 pkgname=python-$_pkgname
-pkgver=0.0.20
-pkgrel=3
+pkgver=0.0.21
+pkgrel=1
 pkgdesc='Pure Python library for PNG image encoding/decoding'
 arch=('any')
 url='https://github.com/drj11/pypng'
@@ -11,8 +11,14 @@
 depends=('python')
 makedepends=('python-setuptools')
 source=("$pkgname-$pkgver.tar.gz::$url/archive/$_pkgname-$pkgver.tar.gz")
-sha512sums=('09a567ac9ab71858340ae170c46f3d7334b46db8c09d26284adc4eaa7bdf49888cc7a661b7fb80460bb2decb121bc59ef3d2fbb909b67713da023d76100704a1')
+sha512sums=('b8f5f9be05aafe59aeb69462b7ccc9e5c4df8eb157731d888773f0ef223dc1c45db83daa51347b45dc3c59be5141c3fc4e031004ac28927b786d7e254ffff4fa')
 
+prepare() {
+  cd $_pkgname-$_pkgname-$pkgver
+
+  echo -e 'import setuptools\nsetuptools.setup()' >setup.py
+}
+
 build() {
   cd $_pkgname-$_pkgname-$pkgver
 



More information about the arch-commits mailing list