[arch-commits] Commit in python-colour/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Mon Nov 9 16:49:48 UTC 2020


    Date: Monday, November 9, 2020 @ 16:49:48
  Author: foutrelis
Revision: 747578

archrelease: copy trunk to community-staging-any

Added:
  python-colour/repos/community-staging-any/
  python-colour/repos/community-staging-any/PKGBUILD
    (from rev 747576, python-colour/trunk/PKGBUILD)

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

Copied: python-colour/repos/community-staging-any/PKGBUILD (from rev 747576, python-colour/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-09 16:49:48 UTC (rev 747578)
@@ -0,0 +1,32 @@
+# Contributor: Hugo Osvaldo Barrera <hugo at barrera.io>
+# Contributor: farwayer <farwayer at gmail.com>
+
+pkgname=python-colour
+_pyname=colour
+pkgver=0.1.5
+pkgrel=7
+pkgdesc="Colour representations manipulation library (RGB, HSL, web, ...)"
+arch=('any')
+url="https://github.com/vaab/colour"
+license=('BSD')
+depends=('python')
+makedepends=('python-setuptools' 'python-d2to1')
+checkdepends=('python-nose')
+source=("https://files.pythonhosted.org/packages/source/${_pyname:0:1}/${_pyname}/${_pyname}-${pkgver}.tar.gz")
+sha256sums=('af20120fefd2afede8b001fbef2ea9da70ad7d49fafdb6489025dae8745c3aee')
+
+build() {
+  cd $_pyname-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd $_pyname-$pkgver
+  nosetests
+}
+
+package() {
+  cd $_pyname-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}



More information about the arch-commits mailing list