[arch-commits] Commit in python-watchgod/repos/community-any (PKGBUILD PKGBUILD)

Maxime Gauduin alucryd at gemini.archlinux.org
Sun May 1 09:09:27 UTC 2022


    Date: Sunday, May 1, 2022 @ 09:09:26
  Author: alucryd
Revision: 1192043

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-05-01 09:09:20 UTC (rev 1192042)
+++ PKGBUILD	2022-05-01 09:09:26 UTC (rev 1192043)
@@ -1,38 +0,0 @@
-# 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:

Copied: python-watchgod/repos/community-any/PKGBUILD (from rev 1192042, python-watchgod/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-05-01 09:09:26 UTC (rev 1192043)
@@ -0,0 +1,40 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+_pkgname=watchgod
+pkgname=python-$_pkgname
+pkgver=0.13
+pkgrel=1
+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' 'python-setuptools-rust' 'rust')
+_tag=d12bfec6ed873d76e0f1d31f086b2c1a30790676
+source=("git+$url#tag=${_tag}")
+sha512sums=('SKIP')
+
+pkgver() {
+  cd $_pkgname
+
+  _version=$(git describe --tags | sed 's/^v//')
+  sed "s/0.0.dev0/${_version}/" -i watchfiles/version.py
+  echo ${_version}
+}
+
+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: ts=2 sw=2 et:



More information about the arch-commits mailing list