[arch-commits] Commit in python-pypng/repos/community-any (PKGBUILD PKGBUILD)
Filipe Laíns
ffy00 at gemini.archlinux.org
Sun Nov 7 20:23:29 UTC 2021
Date: Sunday, November 7, 2021 @ 20:23:29
Author: ffy00
Revision: 1038719
archrelease: copy trunk to community-any
Added:
python-pypng/repos/community-any/PKGBUILD
(from rev 1038718, python-pypng/trunk/PKGBUILD)
Deleted:
python-pypng/repos/community-any/PKGBUILD
----------+
PKGBUILD | 66 +++++++++++++++++++++++++++++++++----------------------------
1 file changed, 36 insertions(+), 30 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-07 20:23:12 UTC (rev 1038718)
+++ PKGBUILD 2021-11-07 20:23:29 UTC (rev 1038719)
@@ -1,30 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
-
-_pkgname=pypng
-pkgname=python-$_pkgname
-pkgver=0.0.20
-pkgrel=3
-pkgdesc='Pure Python library for PNG image encoding/decoding'
-arch=('any')
-url='https://github.com/drj11/pypng'
-license=('MIT')
-depends=('python')
-makedepends=('python-setuptools')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/$_pkgname-$pkgver.tar.gz")
-sha512sums=('09a567ac9ab71858340ae170c46f3d7334b46db8c09d26284adc4eaa7bdf49888cc7a661b7fb80460bb2decb121bc59ef3d2fbb909b67713da023d76100704a1')
-
-build() {
- cd $_pkgname-$_pkgname-$pkgver
-
- python setup.py build
-}
-
-package() {
- cd $_pkgname-$_pkgname-$pkgver
-
- python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-
- install -Dm 644 LICENCE "$pkgdir"/usr/share/licenses/$pkgname/LICENCE
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python-pypng/repos/community-any/PKGBUILD (from rev 1038718, python-pypng/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-07 20:23:29 UTC (rev 1038719)
@@ -0,0 +1,36 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=pypng
+pkgname=python-$_pkgname
+pkgver=0.0.21
+pkgrel=1
+pkgdesc='Pure Python library for PNG image encoding/decoding'
+arch=('any')
+url='https://github.com/drj11/pypng'
+license=('MIT')
+depends=('python')
+makedepends=('python-setuptools')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$_pkgname-$pkgver.tar.gz")
+sha512sums=('b8f5f9be05aafe59aeb69462b7ccc9e5c4df8eb157731d888773f0ef223dc1c45db83daa51347b45dc3c59be5141c3fc4e031004ac28927b786d7e254ffff4fa')
+
+prepare() {
+ cd $_pkgname-$_pkgname-$pkgver
+
+ echo -e 'import setuptools\nsetuptools.setup()' >setup.py
+}
+
+build() {
+ cd $_pkgname-$_pkgname-$pkgver
+
+ python setup.py build
+}
+
+package() {
+ cd $_pkgname-$_pkgname-$pkgver
+
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+ install -Dm 644 LICENCE "$pkgdir"/usr/share/licenses/$pkgname/LICENCE
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list