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

Felix Yan felixonmars at gemini.archlinux.org
Fri Dec 3 00:29:38 UTC 2021


    Date: Friday, December 3, 2021 @ 00:29:37
  Author: felixonmars
Revision: 1063801

archrelease: copy trunk to community-staging-any

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

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

Copied: python-watchgod/repos/community-staging-any/PKGBUILD (from rev 1063799, python-watchgod/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-12-03 00:29:37 UTC (rev 1063801)
@@ -0,0 +1,38 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+_pkgname=watchgod
+pkgname=python-$_pkgname
+pkgver=0.7
+pkgrel=2
+pkgdesc='Simple, modern file watching and code reload in python'
+arch=('any')
+url='https://github.com/samuelcolvin/watchgod'
+license=('MIT')
+depends=('python')
+makedepends=('git' 'python-setuptools')
+_tag=2a3462c82b81fc2339cb79ece6bd2eabea2f9937
+source=("git+$url#tag=${_tag}")
+sha512sums=('SKIP')
+
+pkgver() {
+  cd $_pkgname
+
+  git describe --tags | sed 's/^v//'
+}
+
+build() {
+  cd $_pkgname
+
+  python setup.py build
+}
+
+package() {
+  cd $_pkgname
+
+  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