[arch-commits] Commit in python-logutils/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Mon Nov 9 15:56:39 UTC 2020
Date: Monday, November 9, 2020 @ 15:56:39
Author: felixonmars
Revision: 747252
archrelease: copy trunk to community-staging-any
Added:
python-logutils/repos/community-staging-any/
python-logutils/repos/community-staging-any/PKGBUILD
(from rev 747250, python-logutils/trunk/PKGBUILD)
----------+
PKGBUILD | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
Copied: python-logutils/repos/community-staging-any/PKGBUILD (from rev 747250, python-logutils/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-09 15:56:39 UTC (rev 747252)
@@ -0,0 +1,24 @@
+# Maintainer: Thore Bödecker <foxxx0 at archlinux.org>
+# Contributor: Donald Webster <fryfrog at gmail.com>
+pkgname='python-logutils'
+_pkgbase="${pkgname#python-}"
+pkgver=0.3.5
+pkgrel=7
+pkgdesc='Python module to parse metadata in video files.'
+arch=('any')
+url='https://bitbucket.org/vinay.sajip/logutils/'
+license=('LGPL')
+depends=('python')
+makedepends=('python-setuptools')
+source=("https://pypi.python.org/packages/source/l/logutils/logutils-${pkgver}.tar.gz")
+sha512sums=('0194bf4f01e7a29d4211495dc5fead9d4bd5bc1b791d25ff38ad28960a229a9bcdbaa7e6d3b5a4105eef6c9aa159459d6529c2615df113e7ec1ae93aac5cce6c')
+
+check() {
+ cd "${srcdir}/${_pkgbase}-${pkgver}"
+ python ./setup.py test
+}
+
+package() {
+ cd "${srcdir}/${_pkgbase}-${pkgver}"
+ python ./setup.py install --root="$pkgdir/" --optimize=1
+}
More information about the arch-commits
mailing list