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

2020-11-15 Thread Felix Yan via arch-commits
Date: Sunday, November 15, 2020 @ 10:51:15
  Author: felixonmars
Revision: 754400

archrelease: copy trunk to community-staging-any

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

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

Copied: python-hexdump/repos/community-staging-any/PKGBUILD (from rev 754399, 
python-hexdump/trunk/PKGBUILD)
===
--- community-staging-any/PKGBUILD  (rev 0)
+++ community-staging-any/PKGBUILD  2020-11-15 10:51:15 UTC (rev 754400)
@@ -0,0 +1,20 @@
+# Maintainer: Levente Polyak 
+# Contributor: knucker 
+
+pkgname=python-hexdump
+_name=${pkgname/python-/}
+pkgver=3.3
+pkgrel=5
+pkgdesc='Library and tool to work with hex and binary data'
+url='https://pypi.org/project/hexdump/'
+arch=('any')
+license=('Public Domain')
+depends=('python')
+source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.zip)
+sha512sums=('3299f6a29dcf4293616c5ea652397429ee844ca30964ee0fc784fb2a93252b75eb28fb797640e26477eb6b291aa38e14ad5046d8b4488dc4e03bd79b9449898b')
+
+package() {
+  python setup.py install -O1 --root="${pkgdir}" --prefix=/usr
+}
+
+# vim: ts=2 sw=2 et:


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

2019-11-04 Thread Felix Yan via arch-commits
Date: Monday, November 4, 2019 @ 09:39:01
  Author: felixonmars
Revision: 523927

archrelease: copy trunk to community-staging-any

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

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

Copied: python-hexdump/repos/community-staging-any/PKGBUILD (from rev 523926, 
python-hexdump/trunk/PKGBUILD)
===
--- community-staging-any/PKGBUILD  (rev 0)
+++ community-staging-any/PKGBUILD  2019-11-04 09:39:01 UTC (rev 523927)
@@ -0,0 +1,47 @@
+# Maintainer: Levente Polyak 
+# Contributor: knucker 
+
+pkgbase=python-hexdump
+pkgname=('python-hexdump' 'python2-hexdump')
+_pyname=${pkgbase/python-/}
+_hghash=396fbd1d0c1e
+pkgver=3.3
+pkgrel=4
+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:


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

2018-07-23 Thread Evangelos Foutras via arch-commits
Date: Monday, July 23, 2018 @ 16:24:05
  Author: foutrelis
Revision: 363146

archrelease: copy trunk to community-staging-any

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

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

Copied: python-hexdump/repos/community-staging-any/PKGBUILD (from rev 363145, 
python-hexdump/trunk/PKGBUILD)
===
--- community-staging-any/PKGBUILD  (rev 0)
+++ community-staging-any/PKGBUILD  2018-07-23 16:24:05 UTC (rev 363146)
@@ -0,0 +1,47 @@
+# Maintainer: Levente Polyak 
+# Contributor: knucker 
+
+pkgbase=python-hexdump
+pkgname=('python-hexdump' 'python2-hexdump')
+_pyname=${pkgbase/python-/}
+_hghash=396fbd1d0c1e
+pkgver=3.3
+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=(${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:


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

2016-12-25 Thread Evangelos Foutras
Date: Sunday, December 25, 2016 @ 17:35:10
  Author: foutrelis
Revision: 202113

archrelease: copy trunk to community-staging-any

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

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

Copied: python-hexdump/repos/community-staging-any/PKGBUILD (from rev 202112, 
python-hexdump/trunk/PKGBUILD)
===
--- community-staging-any/PKGBUILD  (rev 0)
+++ community-staging-any/PKGBUILD  2016-12-25 17:35:10 UTC (rev 202113)
@@ -0,0 +1,47 @@
+# Maintainer: Levente Polyak 
+# Contributor: knucker 
+
+pkgbase=python-hexdump
+pkgname=('python-hexdump' 'python2-hexdump')
+_pyname=${pkgbase/python-/}
+_hghash=396fbd1d0c1e
+pkgver=3.3
+pkgrel=2
+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: