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

Filipe Laíns ffy00 at gemini.archlinux.org
Thu Dec 9 01:01:29 UTC 2021


    Date: Thursday, December 9, 2021 @ 01:01:29
  Author: ffy00
Revision: 1065741

archrelease: copy trunk to community-any

Added:
  python-livereload/repos/community-any/
  python-livereload/repos/community-any/PKGBUILD
    (from rev 1065740, python-livereload/trunk/PKGBUILD)

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

Copied: python-livereload/repos/community-any/PKGBUILD (from rev 1065740, python-livereload/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2021-12-09 01:01:29 UTC (rev 1065741)
@@ -0,0 +1,36 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+pkgname=python-livereload
+pkgver=2.6.3
+pkgrel=1
+pkgdesc='livereload server in python'
+arch=('any')
+url='https://github.com/lepture/python-livereload'
+license=('BSD')
+depends=('python' 'python-tornado')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+sha512sums=('ccccb17cb4d835eb9e812f8076f871164f6afb2fdc1aee9e35c5ef2d75be2c0403cee51d4eb30b029d7b35522f357ee8c3e9df926fd93511ba7d010ed2a69e8e')
+
+build() {
+  cd $pkgname-$pkgver
+
+  python setup.py build
+}
+
+#check() {
+#  cd $pkgname-$pkgver
+#
+#  python -m pytest
+#}
+
+package() {
+  cd $pkgname-$pkgver
+
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+  install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list