[arch-commits] Commit in python-pyelftools/repos (3 files)
Allan McRae
allan at archlinux.org
Tue Oct 16 11:55:17 UTC 2012
Date: Tuesday, October 16, 2012 @ 07:55:16
Author: allan
Revision: 168873
db-move: moved python-pyelftools from [staging] to [testing] (any)
Added:
python-pyelftools/repos/testing-any/
python-pyelftools/repos/testing-any/PKGBUILD
(from rev 168833, python-pyelftools/repos/staging-any/PKGBUILD)
Deleted:
python-pyelftools/repos/staging-any/
----------+
PKGBUILD | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
Copied: python-pyelftools/repos/testing-any/PKGBUILD (from rev 168833, python-pyelftools/repos/staging-any/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD (rev 0)
+++ testing-any/PKGBUILD 2012-10-16 11:55:16 UTC (rev 168873)
@@ -0,0 +1,26 @@
+# $Id$
+# Maintainer : Rémy Oudompheng <remy at archlinux.org>
+
+pkgname=python-pyelftools
+_pypiname=pyelftools
+pkgver=0.20
+pkgrel=2
+pkgdesc="Python library for analyzing ELF files and DWARF debugging information"
+arch=('any')
+url="http://pypi.python.org/pypi/pyelftools"
+license=('custom')
+depends=('python')
+source=("http://pypi.python.org/packages/source/p/${_pypiname}/${_pypiname}-${pkgver}.tar.gz")
+md5sums=("5ac7b279a01c41e5b022a1a382eb9d92")
+
+build() {
+ cd ${srcdir}/${_pypiname}-${pkgver}
+ python setup.py build
+}
+
+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