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

Felix Yan felixonmars at archlinux.org
Tue Nov 10 05:14:03 UTC 2020


    Date: Tuesday, November 10, 2020 @ 05:14:03
  Author: felixonmars
Revision: 749373

archrelease: copy trunk to community-staging-any

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

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

Copied: python-musicbrainzngs/repos/community-staging-any/PKGBUILD (from rev 749372, python-musicbrainzngs/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-10 05:14:03 UTC (rev 749373)
@@ -0,0 +1,38 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Adrian Sampson <adrian at radbox.org>
+
+pkgname=python-musicbrainzngs
+pkgver=0.7.1
+pkgrel=2
+pkgdesc="Python bindings for Musicbrainz' NGS webservice"
+arch=(any)
+url=https://github.com/alastair/python-musicbrainzngs
+license=(BSD)
+depends=(python)
+makedepends=(
+  git
+  python-setuptools
+)
+source=(git+https://github.com/alastair/python-musicbrainzngs.git#tag=e4bca39720c7c0a1de38b1663faa3475cf5b7eff)
+sha256sums=(SKIP)
+
+pkgver() {
+  cd python-musicbrainzngs
+
+  git describe --tags | sed 's/^v//'
+}
+
+build() {
+  cd python-musicbrainzngs
+
+  python setup.py build
+}
+
+package() {
+  cd python-musicbrainzngs
+
+  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+  install -Dm 644 COPYING -t "${pkgdir}"/usr/share/licenses/python-musicbrainzngs/
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list