[arch-commits] Commit in python-daiquiri/repos (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Tue Nov 30 21:13:20 UTC 2021
Date: Tuesday, November 30, 2021 @ 21:13:20
Author: felixonmars
Revision: 1058875
archrelease: copy trunk to community-staging-any
Added:
python-daiquiri/repos/community-staging-any/
python-daiquiri/repos/community-staging-any/PKGBUILD
(from rev 1058873, python-daiquiri/trunk/PKGBUILD)
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Copied: python-daiquiri/repos/community-staging-any/PKGBUILD (from rev 1058873, python-daiquiri/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-11-30 21:13:20 UTC (rev 1058875)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-daiquiri
+pkgver=3.0.1
+pkgrel=2
+pkgdesc='Library to configure Python logging easily'
+arch=('any')
+license=('Apache')
+url='https://github.com/jd/daiquiri'
+depends=('python-json-logger')
+makedepends=('python-setuptools-scm')
+checkdepends=('python-pytest' 'python-mock')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/jd/daiquiri/archive/$pkgver.tar.gz")
+sha512sums=('4ccf04ae22b422a0a94eadc07ea28e397f27aa0052cf32eb42ecbd1273c20349f90325da91e3cd2bed8c7820f54966978c65f139303624b23f155404957bfa30')
+
+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:
More information about the arch-commits
mailing list