[arch-commits] Commit in python-magic/repos/community-any (PKGBUILD PKGBUILD)

Lukas Fleischer lfleischer at archlinux.org
Sun Mar 3 09:47:33 UTC 2019


    Date: Sunday, March 3, 2019 @ 09:47:33
  Author: lfleischer
Revision: 437442

archrelease: copy trunk to community-any

Added:
  python-magic/repos/community-any/PKGBUILD
    (from rev 437441, python-magic/trunk/PKGBUILD)
Deleted:
  python-magic/repos/community-any/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-03 09:47:30 UTC (rev 437441)
+++ PKGBUILD	2019-03-03 09:47:33 UTC (rev 437442)
@@ -1,31 +0,0 @@
-# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
-
-pkgbase=python-magic
-pkgname=(python-magic python2-magic)
-pkgver=5.36
-pkgrel=1
-pkgdesc="Python bindings to the magic library"
-arch=('any')
-url='http://darwinsys.com/file/'
-makedepends=('python' 'python2' 'python-setuptools' 'python2-setuptools')
-license=('custom')
-source=("ftp://ftp.astron.com/pub/file/file-${pkgver}.tar.gz")
-sha512sums=('3ec5e51ffb7a82defa74845a90fbc983f6e169fc116606049bc01ff6e720d340c8abf6eb7a08b9ac1099162a5c02deac3633b07b039d486344c8abd9052ca751')
-
-package_python-magic() {
-  depends=('python')
-
-  cd "${srcdir}/file-${pkgver}/python"
-  python setup.py install --root="${pkgdir}" --optimize=1
-  install -Dm0644 "${srcdir}/file-${pkgver}/COPYING" \
-    "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
-}
-
-package_python2-magic() {
-  depends=('python2')
-
-  cd "${srcdir}/file-${pkgver}/python"
-  python2 setup.py install --root="${pkgdir}" --optimize=1
-  install -Dm0644 "${srcdir}/file-${pkgver}/COPYING" \
-    "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
-}

Copied: python-magic/repos/community-any/PKGBUILD (from rev 437441, python-magic/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-03-03 09:47:33 UTC (rev 437442)
@@ -0,0 +1,22 @@
+# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+
+pkgname=python-magic
+pkgver=5.36
+pkgrel=2
+pkgdesc="Python bindings to the magic library"
+arch=('any')
+url='http://darwinsys.com/file/'
+depends=('python')
+makedepends=('python-setuptools')
+license=('custom')
+source=("ftp://ftp.astron.com/pub/file/file-${pkgver}.tar.gz")
+sha512sums=('3ec5e51ffb7a82defa74845a90fbc983f6e169fc116606049bc01ff6e720d340c8abf6eb7a08b9ac1099162a5c02deac3633b07b039d486344c8abd9052ca751')
+
+package_python-magic() {
+  cd "${srcdir}/file-${pkgver}/python"
+
+  python setup.py install --root="${pkgdir}" --optimize=1
+
+  install -Dm0644 "${srcdir}/file-${pkgver}/COPYING" \
+    "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
+}


More information about the arch-commits mailing list