Date: Sunday, March 3, 2019 @ 09:24:05 Author: lfleischer Revision: 437438
archrelease: copy trunk to community-any Added: python-magic/repos/community-any/PKGBUILD (from rev 437437, python-magic/trunk/PKGBUILD) Deleted: python-magic/repos/community-any/PKGBUILD ----------+ PKGBUILD | 62 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 31 insertions(+), 31 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-03-03 09:24:01 UTC (rev 437437) +++ PKGBUILD 2019-03-03 09:24:05 UTC (rev 437438) @@ -1,31 +0,0 @@ -# Maintainer: Lukas Fleischer <lfleisc...@archlinux.org> - -pkgbase=python-magic -pkgname=(python-magic python2-magic) -pkgver=5.35 -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=('cbecc52e9209be8bc090752d0672efa181625d4e1e688e63edd1f5657b29bad69364a477fb4ed85d1fa413b8002c8578c86153d2acaaecce78446c0ca6ea9e38') - -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 437437, python-magic/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-03-03 09:24:05 UTC (rev 437438) @@ -0,0 +1,31 @@ +# Maintainer: Lukas Fleischer <lfleisc...@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" +}