git » python-pyelftools.git » commit 48cc67d

Also add a check function.

author Rémy Oudompheng
2013-10-30 23:33:49 UTC
committer Rémy Oudompheng
2013-10-30 23:33:49 UTC
parent dbd115faded3af7938f52b2c9582aecc9ddc23fc

Also add a check function.

PKGBUILD +8 -3

diff --git a/PKGBUILD b/PKGBUILD
index dcb7f34..26cdc1c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,21 +2,26 @@
 
 pkgname=python-pyelftools
 _pypiname=pyelftools
-pkgver=0.20
-pkgrel=3
+pkgver=0.21
+pkgrel=1
 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")
+md5sums=("fe1039193675cb9d0ddf60d1431fbea3")
 
 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}