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

Felix Yan felixonmars at archlinux.org
Sat Jun 1 07:36:40 UTC 2019


    Date: Saturday, June 1, 2019 @ 07:36:39
  Author: felixonmars
Revision: 476257

archrelease: copy trunk to community-testing-any

Added:
  python-tinycss2/repos/community-testing-any/
  python-tinycss2/repos/community-testing-any/PKGBUILD
    (from rev 476256, python-tinycss2/trunk/PKGBUILD)

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

Copied: python-tinycss2/repos/community-testing-any/PKGBUILD (from rev 476256, python-tinycss2/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2019-06-01 07:36:39 UTC (rev 476257)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Simon Sapin <simon dot sapin at exyr dot org>
+# Contributor: Kyle Keen <keenerd at gmail.com>
+
+pkgname=python-tinycss2
+pkgver=1.0.2
+pkgrel=1
+pkgdesc="Low-level CSS parser for Python"
+url="https://pypi.python.org/pypi/tinycss2"
+license=('BSD')
+arch=('any')
+depends=('python-webencodings')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-flake8' 'python-pytest-cov' 'python-pytest-isort'
+              'python-pytest-runner')
+source=("https://pypi.io/packages/source/t/tinycss2/tinycss2-$pkgver.tar.gz")
+sha512sums=('69bdf52898f9e704c01fe5fd11170e0efc9a6aca14646f5331fc06ebbdf941f9b6c798ded7d93636c7b810b35c659750c3ece3917c5c9cef4092e3e17b382dd1')
+
+build() {
+  cd tinycss2-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd tinycss2-$pkgver
+  python setup.py pytest
+}
+
+package() {
+  cd tinycss2-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list