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

Felix Yan felixonmars at archlinux.org
Wed Feb 14 05:40:49 UTC 2018


    Date: Wednesday, February 14, 2018 @ 05:40:48
  Author: felixonmars
Revision: 293971

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   98 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 49 insertions(+), 49 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-02-14 05:40:23 UTC (rev 293970)
+++ PKGBUILD	2018-02-14 05:40:48 UTC (rev 293971)
@@ -1,49 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-webcolors
-pkgname=(python-webcolors python2-webcolors)
-pkgver=1.8
-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' 'python2-pytest')
-source=("https://pypi.io/packages/source/w/webcolors/webcolors-$pkgver.tar.gz")
-sha512sums=('ea762580bbf9d01c52b078e151ad44069a73bfd03b7280ead6d163756fdc3188d5eb993e4e847ac9081e25affa0270b4f9f9902b1b7c3f4fd6e9ed5081fa8d82')
-
-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
-  py.test
-
-  cd "$srcdir"/webcolors-$pkgver-py2
-  py.test2
-}
-
-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 293970, python-webcolors/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-02-14 05:40:48 UTC (rev 293971)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-webcolors
+pkgname=(python-webcolors python2-webcolors)
+pkgver=1.8.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' 'python2-pytest')
+source=("https://pypi.io/packages/source/w/webcolors/webcolors-$pkgver.tar.gz")
+sha512sums=('45ddb4ec030206c3ff1edb7de6b8ec1b5f2f9ef5068f37a7c43b66531a2dc6b290cced2af1ca18794aaa9ba17f297022b2f9cc7a92a74ee9b68f758abf7c104e')
+
+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
+  py.test
+
+  cd "$srcdir"/webcolors-$pkgver-py2
+  py.test2
+}
+
+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