[arch-commits] Commit in python-pyvcd/repos (2 files)

Felix Yan felixonmars at gemini.archlinux.org
Fri Dec 3 01:28:32 UTC 2021


    Date: Friday, December 3, 2021 @ 01:28:31
  Author: felixonmars
Revision: 1064651

archrelease: copy trunk to community-staging-any

Added:
  python-pyvcd/repos/community-staging-any/
  python-pyvcd/repos/community-staging-any/PKGBUILD
    (from rev 1064650, python-pyvcd/trunk/PKGBUILD)

----------+
 PKGBUILD |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Copied: python-pyvcd/repos/community-staging-any/PKGBUILD (from rev 1064650, python-pyvcd/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-12-03 01:28:31 UTC (rev 1064651)
@@ -0,0 +1,31 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=pyvcd
+pkgname=python-$_pkgname
+pkgver=0.3.0
+pkgrel=2
+pkgdesc='Python package for writing Value Change Dump (VCD) files'
+arch=('any')
+url='https://github.com/SanDisk-Open-Source/pyvcd'
+license=('MIT')
+makedepends=('python-setuptools-scm')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+sha512sums=('e6b1fc178a848fa9c8efed5184d09ab0cdf6d5d61ed717aecdbdec1998a0f15a1bcabd92a4191a006a4ee2dc0d4f62e10c82f3561eb3979da4e3a5b728998a6b')
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+
+build() {
+  cd $_pkgname-$pkgver
+
+  python setup.py build
+}
+
+package() {
+  cd $_pkgname-$pkgver
+
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+  install -Dm 644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list