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

Maxime Gauduin alucryd at gemini.archlinux.org
Thu Aug 18 13:10:35 UTC 2022


    Date: Thursday, August 18, 2022 @ 13:10:35
  Author: alucryd
Revision: 1267343

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   73 +++++++++++++++++++++++++++----------------------------------
 1 file changed, 33 insertions(+), 40 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-18 13:10:25 UTC (rev 1267342)
+++ PKGBUILD	2022-08-18 13:10:35 UTC (rev 1267343)
@@ -1,40 +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.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:

Copied: python-watchgod/repos/community-any/PKGBUILD (from rev 1267342, python-watchgod/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-08-18 13:10:35 UTC (rev 1267343)
@@ -0,0 +1,33 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=python-watchgod
+pkgver=0.8.2
+pkgrel=1
+epoch=1
+pkgdesc='Simple, modern file watching and code reload in python'
+arch=('any')
+url='https://github.com/samuelcolvin/watchfiles'
+license=('MIT')
+depends=('python' 'python-anyio')
+makedepends=('python-setuptools' 'python-setuptools-rust' 'rust')
+source=("watchgod-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
+sha512sums=('a44b831352ace03c450781bc815b1813c44c386d666a9b724b562ff69228705651bfc23e81b7344d0f79c62577d4f910b323c734298e2a609f85bbc4a0f0498e')
+
+prepare() {
+  cd watchfiles-$pkgver
+  sed "s/0.0.dev0/$pkgver/" -i watchgod/version.py
+}
+
+build() {
+  cd watchfiles-$pkgver
+  python setup.py build
+}
+
+package() {
+  cd watchfiles-$pkgver
+  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