Date: Tuesday, January 31, 2023 @ 20:07:00
  Author: felixonmars
Revision: 1391516

upgpkg: python-daiquiri 3.2.1-3

Modified:
  python-daiquiri/trunk/PKGBUILD

----------+
 PKGBUILD |   17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-01-31 20:06:34 UTC (rev 1391515)
+++ PKGBUILD    2023-01-31 20:07:00 UTC (rev 1391516)
@@ -2,31 +2,30 @@
 
 pkgname=python-daiquiri
 pkgver=3.2.1
-pkgrel=2
+_commit=a31956ff9909d7e556f209c9ae5c72a7f173e0fd
+pkgrel=3
 pkgdesc='Library to configure Python logging easily'
 arch=('any')
 license=('Apache')
 url='https://github.com/Mergifyio/daiquiri'
 depends=('python-json-logger')
-makedepends=('python-setuptools-scm')
+makedepends=('git' 'python-setuptools-scm')
 checkdepends=('python-pytest')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/Mergifyio/daiquiri/archive/$pkgver.tar.gz";)
-sha512sums=('9aee75d9b196db0207e7cd701d31ea353bdeb262615dbf5ac8aa99192b8e72d655c7886bccc05432e327c08e774db7113965c89eb887e77e24aea52146f92509')
+source=("git+https://github.com/Mergifyio/daiquiri.git#commit=$_commit";)
+sha512sums=('SKIP')
 
-export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
-
 build() {
-  cd daiquiri-$pkgver
+  cd daiquiri
   python setup.py build
 }
 
 check() {
-  cd daiquiri-$pkgver
+  cd daiquiri
   python -m pytest
 }
 
 package() {
-  cd daiquiri-$pkgver
+  cd daiquiri
   python setup.py install --root="$pkgdir" --optimize=1
 }
 

Reply via email to