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

Felix Yan felixonmars at archlinux.org
Sat Jun 8 16:49:56 UTC 2019


    Date: Saturday, June 8, 2019 @ 16:49:56
  Author: felixonmars
Revision: 478277

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   96 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 48 insertions(+), 48 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-06-08 16:49:39 UTC (rev 478276)
+++ PKGBUILD	2019-06-08 16:49:56 UTC (rev 478277)
@@ -1,48 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-webcolors
-pkgname=(python-webcolors python2-webcolors)
-pkgver=1.9
-pkgrel=1
-pkgdesc="A library for working with color names and color value formats defined by the HTML and CSS specifications for use in documents on the Web"
-url="https://github.com/ubernostrum/webcolors"
-license=('BSD')
-arch=('any')
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner')
-source=("https://pypi.io/packages/source/w/webcolors/webcolors-$pkgver.tar.gz")
-sha512sums=('7644ed5447e665b33a09878070a0e35ce5e93b27b784380e7329b33c405034456707fab6f70074f0dee3819827fca637c0baf08201f66609cf914b8f7664c300')
-
-prepare() {
-  cp -a webcolors-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/webcolors-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/webcolors-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/webcolors-$pkgver
-  python setup.py pytest
-
-  cd "$srcdir"/webcolors-$pkgver-py2
-  python2 setup.py pytest
-}
-
-package_python-webcolors() {
-  depends=('python')
-
-  cd webcolors-$pkgver
-  python3 setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-webcolors() {
-  depends=('python2')
-
-  cd webcolors-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-}

Copied: python-webcolors/repos/community-any/PKGBUILD (from rev 478276, python-webcolors/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-06-08 16:49:56 UTC (rev 478277)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-webcolors
+pkgname=(python-webcolors python2-webcolors)
+pkgver=1.9.1
+pkgrel=1
+pkgdesc="A library for working with color names and color value formats defined by the HTML and CSS specifications for use in documents on the Web"
+url="https://github.com/ubernostrum/webcolors"
+license=('BSD')
+arch=('any')
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner')
+source=("https://pypi.io/packages/source/w/webcolors/webcolors-$pkgver.tar.gz")
+sha512sums=('333f7ff7a6d0eca1eaf73f70be660eeeaa14c85af41ebc93e1a27a3564bf5fc3d51c1f73136befbb88065f56f4d3b5d25935610308302254302f290c389e2628')
+
+prepare() {
+  cp -a webcolors-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/webcolors-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/webcolors-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/webcolors-$pkgver
+  python setup.py pytest
+
+  cd "$srcdir"/webcolors-$pkgver-py2
+  python2 setup.py pytest
+}
+
+package_python-webcolors() {
+  depends=('python')
+
+  cd webcolors-$pkgver
+  python3 setup.py install --root="$pkgdir" --optimize=1
+}
+
+package_python2-webcolors() {
+  depends=('python2')
+
+  cd webcolors-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+}


More information about the arch-commits mailing list