[arch-commits] Commit in python-pyelftools/repos/extra-any (PKGBUILD PKGBUILD)
Levente Polyak
anthraxx at gemini.archlinux.org
Tue Mar 8 21:16:15 UTC 2022
Date: Tuesday, March 8, 2022 @ 21:16:15
Author: anthraxx
Revision: 439357
archrelease: copy trunk to extra-any
Added:
python-pyelftools/repos/extra-any/PKGBUILD
(from rev 439356, python-pyelftools/trunk/PKGBUILD)
Deleted:
python-pyelftools/repos/extra-any/PKGBUILD
----------+
PKGBUILD | 84 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 42 insertions(+), 42 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-03-08 21:16:11 UTC (rev 439356)
+++ PKGBUILD 2022-03-08 21:16:15 UTC (rev 439357)
@@ -1,42 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Maintainer: Rémy Oudompheng <remy at archlinux.org>
-
-pkgname=python-pyelftools
-_pkgname=pyelftools
-pkgver=0.27
-pkgrel=3
-pkgdesc='Python library for analyzing ELF files and DWARF debugging information'
-url='https://github.com/eliben/pyelftools'
-arch=('any')
-license=('custom:Public Domain')
-makedepends=('python' 'python-setuptools')
-depends=('python')
-options=('!strip')
-source=(https://github.com/eliben/${_pkgname}/archive/v${pkgver}/${_pkgname}-${pkgver}.tar.gz)
-sha512sums=('bb0a00e5500016e3d4f64be0a728e190f84b11a805f78d668b5a74716a30400e6794946f198ef4a3f3b8f64a63deb1b5a96180b09e56b7357b988b28e25fad0a')
-b2sums=('74e6e17c68b197d0ecdddedba81a96601003c41a9c095bc72dff7630511705d36d1bc2732005a87ad1420c99497d729c5b771eca7bf5409c0da77d7b348d9c1b')
-
-
-build() {
- cd ${_pkgname}-${pkgver}
- python setup.py build
-}
-
-check() {
- cd ${_pkgname}-${pkgver}
- python test/run_all_unittests.py
- python test/run_examples_test.py
- if [ "${CARCH}" == "x86_64" ]; then
- python test/run_readelf_tests.py
- else
- echo "Skipping readelf tests (require x86_64)"
- fi
-}
-
-package() {
- cd ${_pkgname}-${pkgver}
- python setup.py install -O1 --root="${pkgdir}" --skip-build
- install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
- install -Dm 644 README.rst CHANGES -t "${pkgdir}/usr/share/doc/${pkgname}"
- cp -r examples "${pkgdir}/usr/share/doc/${pkgname}"
-}
Copied: python-pyelftools/repos/extra-any/PKGBUILD (from rev 439356, python-pyelftools/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-03-08 21:16:15 UTC (rev 439357)
@@ -0,0 +1,42 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Maintainer: Rémy Oudompheng <remy at archlinux.org>
+
+pkgname=python-pyelftools
+_pkgname=pyelftools
+pkgver=0.28
+pkgrel=1
+pkgdesc='Python library for analyzing ELF files and DWARF debugging information'
+url='https://github.com/eliben/pyelftools'
+arch=('any')
+license=('custom:Public Domain')
+makedepends=('python' 'python-setuptools')
+depends=('python')
+options=('!strip')
+source=(https://github.com/eliben/${_pkgname}/archive/v${pkgver}/${_pkgname}-${pkgver}.tar.gz)
+sha512sums=('005163a53fe12baad0998d60d531e3ce4201236b7b042e3c28d7e68f9c40586f94a2576be6918be991a3bf464f2ca55700c0475a6e8c7b05b4342a6f5bbf3354')
+b2sums=('87dad42d87b9d3de2382e21d6f7115fb24e420e262735d4bd73c4e3a325d10b69c6eab5d73ff999811633d6a024c22c15ad65be637339f0c609378d54926f747')
+
+
+build() {
+ cd ${_pkgname}-${pkgver}
+ python setup.py build
+}
+
+check() {
+ cd ${_pkgname}-${pkgver}
+ python test/run_all_unittests.py
+ python test/run_examples_test.py
+ if [ "${CARCH}" == "x86_64" ]; then
+ python test/run_readelf_tests.py
+ else
+ echo "Skipping readelf tests (require x86_64)"
+ fi
+}
+
+package() {
+ cd ${_pkgname}-${pkgver}
+ python setup.py install -O1 --root="${pkgdir}" --skip-build
+ install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -Dm 644 README.rst CHANGES -t "${pkgdir}/usr/share/doc/${pkgname}"
+ cp -r examples "${pkgdir}/usr/share/doc/${pkgname}"
+}
More information about the arch-commits
mailing list