[arch-commits] Commit in python-dominate/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Fri Oct 25 15:47:08 UTC 2019
Date: Friday, October 25, 2019 @ 15:47:07
Author: foutrelis
Revision: 519202
archrelease: copy trunk to community-staging-any
Added:
python-dominate/repos/community-staging-any/
python-dominate/repos/community-staging-any/PKGBUILD
(from rev 519201, python-dominate/trunk/PKGBUILD)
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Copied: python-dominate/repos/community-staging-any/PKGBUILD (from rev 519201, python-dominate/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-10-25 15:47:07 UTC (rev 519202)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-dominate
+pkgver=2.4.0
+pkgrel=2
+pkgdesc="A Python library for creating and manipulating HTML documents using an elegant DOM API"
+url="https://github.com/Knio/dominate"
+license=('LGPL')
+arch=('any')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-runner')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Knio/dominate/archive/$pkgver.tar.gz")
+sha512sums=('93b721762175f14339d5b027af59d8475485b2674c019990bdc0989067448f4b74350d16b19c396ee2e514822930e821675f8bbab96e03be3e5899dd95a86ee4')
+
+build() {
+ cd dominate-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd dominate-$pkgver
+ python setup.py pytest
+}
+
+package() {
+ cd dominate-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}
More information about the arch-commits
mailing list