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

Felix Yan felixonmars at archlinux.org
Mon Nov 9 15:47:09 UTC 2020


    Date: Monday, November 9, 2020 @ 15:47:09
  Author: felixonmars
Revision: 747138

archrelease: copy trunk to community-staging-any

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

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

Copied: python-webcolors/repos/community-staging-any/PKGBUILD (from rev 747136, python-webcolors/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-09 15:47:09 UTC (rev 747138)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-webcolors
+pkgver=1.11.1
+pkgrel=3
+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')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-runner')
+source=("https://pypi.io/packages/source/w/webcolors/webcolors-$pkgver.tar.gz")
+sha512sums=('b8d9146e31292b41c3f3a501ca5f0ce5d9c21ec08dc31384bf6bfe06ccff202b97592eaafef0cfce9ddef1b674bf19a527225d67ecceb92bdc514a050a02524b')
+
+build() {
+  cd webcolors-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd webcolors-$pkgver
+  python -B setup.py pytest
+}
+
+package() {
+  cd webcolors-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}



More information about the arch-commits mailing list