[arch-commits] Commit in mutagen/repos/community-staging-any (PKGBUILD PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Thu Oct 31 18:07:11 UTC 2019
Date: Thursday, October 31, 2019 @ 18:07:11
Author: foutrelis
Revision: 521543
archrelease: copy trunk to community-staging-any
Added:
mutagen/repos/community-staging-any/PKGBUILD
(from rev 521542, mutagen/trunk/PKGBUILD)
Deleted:
mutagen/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 154 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 77 insertions(+), 77 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-31 18:07:06 UTC (rev 521542)
+++ PKGBUILD 2019-10-31 18:07:11 UTC (rev 521543)
@@ -1,77 +0,0 @@
-# Maintainer: David Runge <dave at sleepmap.de>
-# Contributor: Eric Bélanger <eric at archlinux.org>
-
-pkgbase=mutagen
-pkgname=('python-mutagen' 'python2-mutagen')
-pkgver=1.42.0
-pkgrel=4
-arch=('any')
-pkgdesc="An audio metadata tag reader and writer (python library)"
-url="https://github.com/quodlibet/mutagen"
-license=('GPL2')
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-pytest' 'python-hypothesis' 'python-pyflakes'
-'python-pycodestyle' 'python2-pytest' 'python2-hypothesis' 'python2-pyflakes'
-'python2-pycodestyle')
-source=("https://github.com/quodlibet/${pkgbase}/releases/download/release-$pkgver/$pkgbase-$pkgver.tar.gz"{,.sig}
- "${pkgbase}-indent.patch::https://github.com/quodlibet/${pkgbase}/commit/0ee86ef9.patch")
-sha256sums=('bb61e2456f59a9a4a259fbc08def6d01ba45a42da8eeaa97d00633b0ec5de71c'
- 'SKIP'
- '4c02028ea27e150de8f011e809fe96ba726825732233d186c7edb3269fffdce3')
-validpgpkeys=('0EBF782C5D53F7E5FB02A66746BD761F7A49B0EC') # Christoph Reiter <reiter.christoph at gmail.com>
-
-prepare() {
- cd "${pkgbase}-${pkgver}"
- # fix tests
- patch -Np1 -i ../${pkgbase}-indent.patch
-
- # copying source for python2 version, so we can modify the man/ script names
- cd ..
- cp -av "${pkgbase}-$pkgver" "${pkgname[1]}-${pkgver}"
- cd "${pkgname[1]}-$pkgver"
- for script in {mid3{cp,iconv,v2},moggsplit,mutagen-{inspect,pony}}; do
- sed -e "s/${script}/${script}2/g" -i setup.py
- sed -e 's/python/&2/' -i "tools/${script}"
- mv -v "tools/${script}"{,2}
- mv -v "man/${script}"{,2}.1
- done
-}
-
-build() {
- cd "${pkgbase}-${pkgver}"
- python setup.py build
- cd "../${pkgname[1]}-${pkgver}"
- python2 setup.py build
-}
-
-check() {
- cd "${pkgbase}-${pkgver}"
- python setup.py test
- cd "../${pkgname[1]}-${pkgver}"
- python2 setup.py test
-}
-
-package_python-mutagen() {
- pkgdesc="An audio metadata tag reader and writer (python library)"
- depends=('python')
- replaces=('mutagen-tools')
- cd "${pkgbase}-${pkgver}"
- python setup.py install --skip-build \
- --optimize=1 \
- --prefix=/usr \
- --root="${pkgdir}"
-}
-
-package_python2-mutagen() {
- pkgdesc="An audio metadata tag reader and writer (python2 library)"
- depends=('python2')
- conflicts=('mutagen')
- provides=('mutagen')
- replaces=('mutagen')
- cd "${pkgname}-${pkgver}"
- python2 setup.py install --skip-build \
- --optimize=1 \
- --prefix=/usr \
- --root="${pkgdir}"
-}
-
Copied: mutagen/repos/community-staging-any/PKGBUILD (from rev 521542, mutagen/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-31 18:07:11 UTC (rev 521543)
@@ -0,0 +1,77 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: Eric Bélanger <eric at archlinux.org>
+
+pkgbase=mutagen
+pkgname=('python-mutagen' 'python2-mutagen')
+pkgver=1.42.0
+pkgrel=5
+arch=('any')
+pkgdesc="An audio metadata tag reader and writer (python library)"
+url="https://github.com/quodlibet/mutagen"
+license=('GPL2')
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-pytest' 'python-hypothesis' 'python-pyflakes'
+'python-pycodestyle' 'python2-pytest' 'python2-hypothesis' 'python2-pyflakes'
+'python2-pycodestyle')
+source=("https://github.com/quodlibet/${pkgbase}/releases/download/release-$pkgver/$pkgbase-$pkgver.tar.gz"{,.sig}
+ "${pkgbase}-indent.patch::https://github.com/quodlibet/${pkgbase}/commit/0ee86ef9.patch")
+sha256sums=('bb61e2456f59a9a4a259fbc08def6d01ba45a42da8eeaa97d00633b0ec5de71c'
+ 'SKIP'
+ '4c02028ea27e150de8f011e809fe96ba726825732233d186c7edb3269fffdce3')
+validpgpkeys=('0EBF782C5D53F7E5FB02A66746BD761F7A49B0EC') # Christoph Reiter <reiter.christoph at gmail.com>
+
+prepare() {
+ cd "${pkgbase}-${pkgver}"
+ # fix tests
+ patch -Np1 -i ../${pkgbase}-indent.patch
+
+ # copying source for python2 version, so we can modify the man/ script names
+ cd ..
+ cp -av "${pkgbase}-$pkgver" "${pkgname[1]}-${pkgver}"
+ cd "${pkgname[1]}-$pkgver"
+ for script in {mid3{cp,iconv,v2},moggsplit,mutagen-{inspect,pony}}; do
+ sed -e "s/${script}/${script}2/g" -i setup.py
+ sed -e 's/python/&2/' -i "tools/${script}"
+ mv -v "tools/${script}"{,2}
+ mv -v "man/${script}"{,2}.1
+ done
+}
+
+build() {
+ cd "${pkgbase}-${pkgver}"
+ python setup.py build
+ cd "../${pkgname[1]}-${pkgver}"
+ python2 setup.py build
+}
+
+check() {
+ cd "${pkgbase}-${pkgver}"
+ python setup.py test
+ cd "../${pkgname[1]}-${pkgver}"
+ python2 setup.py test
+}
+
+package_python-mutagen() {
+ pkgdesc="An audio metadata tag reader and writer (python library)"
+ depends=('python')
+ replaces=('mutagen-tools')
+ cd "${pkgbase}-${pkgver}"
+ python setup.py install --skip-build \
+ --optimize=1 \
+ --prefix=/usr \
+ --root="${pkgdir}"
+}
+
+package_python2-mutagen() {
+ pkgdesc="An audio metadata tag reader and writer (python2 library)"
+ depends=('python2')
+ conflicts=('mutagen')
+ provides=('mutagen')
+ replaces=('mutagen')
+ cd "${pkgname}-${pkgver}"
+ python2 setup.py install --skip-build \
+ --optimize=1 \
+ --prefix=/usr \
+ --root="${pkgdir}"
+}
+
More information about the arch-commits
mailing list