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

Levente Polyak anthraxx at archlinux.org
Tue Jan 26 17:10:55 UTC 2016


    Date: Tuesday, January 26, 2016 @ 18:10:54
  Author: anthraxx
Revision: 158963

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   91 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 47 insertions(+), 44 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2016-01-26 17:10:49 UTC (rev 158962)
+++ PKGBUILD	2016-01-26 17:10:54 UTC (rev 158963)
@@ -1,44 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: knucker <www.knucker[at]gmail.com>
-
-pkgbase=python-hexdump
-pkgname=('python-hexdump' 'python2-hexdump')
-_pyname=${pkgbase/python-/}
-_hghash=7450ca489143
-pkgver=3.2
-pkgrel=3
-pkgdesc='Library and tool to work with hex and binary data'
-url='https://bitbucket.org/techtonik/hexdump'
-arch=('any')
-license=('Public Domain')
-makedepends=('python' 'python2')
-checkdepends=('python-tox')
-source=(${pkgname}-${pkgver}.tar.bz2::https://bitbucket.org/techtonik/${_pyname}/get/${pkgver}.tar.bz2)
-sha512sums=('1739a050ccea46b8568cf624d4cf32d7205e52b06b43ce196e53528e202516e727498029ebb0e2a4cdce27332b4989e26a6b9e3c49cbce7ab4497dad410131ee')
-
-prepare() {
-  cd "techtonik-${_pyname}-${_hghash}"
-  sed 's|py34|py3|g' -i tox.ini
-}
-
-check() {
-  cd "techtonik-${_pyname}-${_hghash}"
-  tox
-}
-
-package_python-hexdump() {
-  depends=('python')
-
-  cd "techtonik-${_pyname}-${_hghash}"
-  python setup.py install -O1 --root="${pkgdir}" --prefix=/usr
-}
-
-package_python2-hexdump() {
-  depends=('python2')
-
-  cd "techtonik-${_pyname}-${_hghash}"
-  sed -r 's|(/usr/bin/env python)|\12|' -i hexdump.py
-  python2 setup.py install -O1 --root="${pkgdir}" --prefix=/usr
-}
-
-# vim: ts=2 sw=2 et:

Copied: python-hexdump/repos/community-any/PKGBUILD (from rev 158962, python-hexdump/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2016-01-26 17:10:54 UTC (rev 158963)
@@ -0,0 +1,47 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: knucker <www.knucker[at]gmail.com>
+
+pkgbase=python-hexdump
+pkgname=('python-hexdump' 'python2-hexdump')
+_pyname=${pkgbase/python-/}
+_hghash=396fbd1d0c1e
+pkgver=3.3
+pkgrel=1
+pkgdesc='Library and tool to work with hex and binary data'
+url='https://bitbucket.org/techtonik/hexdump'
+arch=('any')
+license=('Public Domain')
+makedepends=('python' 'python2')
+checkdepends=('python-tox')
+source=(${pkgbase}-${pkgver}.tar.bz2::https://bitbucket.org/techtonik/${_pyname}/get/${pkgver}.tar.bz2)
+sha512sums=('b8f9c2c7ef69cf52572434c1edb529b7bd61e66cc62f1fb8ff32bcf5899502607552a9a1c50deed2e02f3b638744d509dedf588fa1176d79d4c9ec198f650e4d')
+
+prepare() {
+  (cd techtonik-${_pyname}-${_hghash}
+    sed -r 's|(py3)[0-9]+|\1|g' -i tox.ini
+    sed -r 's|(py2)[0-9]+|\1|g' -i tox.ini
+  )
+  cp -ra techtonik-${_pyname}-${_hghash}{,-py2}
+  (cd techtonik-${_pyname}-${_hghash}-py2
+    sed -r 's|(/usr/bin/env python)|\12|' -i hexdump.py
+  )
+}
+
+check() {
+  cd techtonik-${_pyname}-${_hghash}
+  tox
+}
+
+package_python-hexdump() {
+  depends=('python')
+  cd techtonik-${_pyname}-${_hghash}
+  python setup.py install -O1 --root="${pkgdir}" --prefix=/usr
+}
+
+package_python2-hexdump() {
+  depends=('python2')
+  cd techtonik-${_pyname}-${_hghash}-py2
+  python2 setup.py install -O1 --root="${pkgdir}" --prefix=/usr
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list