[arch-commits] Commit in python-pyelftools/repos (staging-any staging-any/PKGBUILD)

Felix Yan fyan at archlinux.org
Sat Sep 19 10:12:51 UTC 2015


    Date: Saturday, September 19, 2015 @ 12:12:51
  Author: fyan
Revision: 246590

archrelease: copy trunk to staging-any

Added:
  python-pyelftools/repos/staging-any/
  python-pyelftools/repos/staging-any/PKGBUILD
    (from rev 246589, python-pyelftools/trunk/PKGBUILD)

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

Copied: python-pyelftools/repos/staging-any/PKGBUILD (from rev 246589, python-pyelftools/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2015-09-19 10:12:51 UTC (rev 246590)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer : Rémy Oudompheng <remy at archlinux.org>
+
+pkgname=python-pyelftools
+_pypiname=pyelftools
+pkgver=0.23
+pkgrel=2
+pkgdesc="Python library for analyzing ELF files and DWARF debugging information"
+arch=('any')
+url="https://github.com/eliben/pyelftools"
+license=('custom')
+depends=('python')
+source=("${_pypiname}-${pkgver}.zip::https://github.com/eliben/pyelftools/archive/v${pkgver}.zip")
+sha1sums=('553de375ae13e5cd96efd2d9fe439aacbfbe1806')
+
+build() {
+  cd ${srcdir}/${_pypiname}-${pkgver}
+  python setup.py build
+}
+
+check() {
+  cd ${srcdir}/${_pypiname}-${pkgver}
+  python test/run_all_unittests.py
+}
+
+package() {
+  cd ${srcdir}/${_pypiname}-${pkgver}
+  python setup.py install --root=${pkgdir}
+  install -D -m 644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+}
+



More information about the arch-commits mailing list