[arch-commits] Commit in python-watchgod/trunk (PKGBUILD)

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


    Date: Sunday, May 1, 2022 @ 09:09:20
  Author: alucryd
Revision: 1192042

upgpkg: python-watchgod 0.13-1

Modified:
  python-watchgod/trunk/PKGBUILD

----------+
 PKGBUILD |   14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-05-01 09:08:40 UTC (rev 1192041)
+++ PKGBUILD	2022-05-01 09:09:20 UTC (rev 1192042)
@@ -3,15 +3,15 @@
 
 _pkgname=watchgod
 pkgname=python-$_pkgname
-pkgver=0.7
-pkgrel=2
+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')
-_tag=2a3462c82b81fc2339cb79ece6bd2eabea2f9937
+makedepends=('git' 'python-setuptools' 'python-setuptools-rust' 'rust')
+_tag=d12bfec6ed873d76e0f1d31f086b2c1a30790676
 source=("git+$url#tag=${_tag}")
 sha512sums=('SKIP')
 
@@ -18,7 +18,9 @@
 pkgver() {
   cd $_pkgname
 
-  git describe --tags | sed 's/^v//'
+  _version=$(git describe --tags | sed 's/^v//')
+  sed "s/0.0.dev0/${_version}/" -i watchfiles/version.py
+  echo ${_version}
 }
 
 build() {
@@ -35,4 +37,4 @@
   install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }
 
-# vim:set ts=2 sw=2 et:
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list