Date: Tuesday, January 31, 2023 @ 20:07:12
Author: felixonmars
Revision: 1391517
archrelease: copy trunk to community-any
Added:
python-daiquiri/repos/community-any/PKGBUILD
(from rev 1391516, python-daiquiri/trunk/PKGBUILD)
Deleted:
python-daiquiri/repos/community-any/PKGBUILD
----------+
PKGBUILD | 65 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 32 insertions(+), 33 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-01-31 20:07:00 UTC (rev 1391516)
+++ PKGBUILD 2023-01-31 20:07:12 UTC (rev 1391517)
@@ -1,33 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-
-pkgname=python-daiquiri
-pkgver=3.2.1
-pkgrel=2
-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')
-checkdepends=('python-pytest')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/Mergifyio/daiquiri/archive/$pkgver.tar.gz")
-sha512sums=('9aee75d9b196db0207e7cd701d31ea353bdeb262615dbf5ac8aa99192b8e72d655c7886bccc05432e327c08e774db7113965c89eb887e77e24aea52146f92509')
-
-export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
-
-build() {
- cd daiquiri-$pkgver
- python setup.py build
-}
-
-check() {
- cd daiquiri-$pkgver
- python -m pytest
-}
-
-package() {
- cd daiquiri-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python-daiquiri/repos/community-any/PKGBUILD (from rev 1391516,
python-daiquiri/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-01-31 20:07:12 UTC (rev 1391517)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-daiquiri
+pkgver=3.2.1
+_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=('git' 'python-setuptools-scm')
+checkdepends=('python-pytest')
+source=("git+https://github.com/Mergifyio/daiquiri.git#commit=$_commit")
+sha512sums=('SKIP')
+
+build() {
+ cd daiquiri
+ python setup.py build
+}
+
+check() {
+ cd daiquiri
+ python -m pytest
+}
+
+package() {
+ cd daiquiri
+ python setup.py install --root="$pkgdir" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et: