[arch-commits] Commit in python-ptrace/repos/community-any (PKGBUILD PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Wed Aug 21 17:59:26 UTC 2019


    Date: Wednesday, August 21, 2019 @ 17:59:25
  Author: anthraxx
Revision: 500433

archrelease: copy trunk to community-any

Added:
  python-ptrace/repos/community-any/PKGBUILD
    (from rev 500432, python-ptrace/trunk/PKGBUILD)
Deleted:
  python-ptrace/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  130 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 65 insertions(+), 65 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-21 17:59:03 UTC (rev 500432)
+++ PKGBUILD	2019-08-21 17:59:25 UTC (rev 500433)
@@ -1,65 +0,0 @@
-# Maintainer: Muflone http://www.muflone.com/contacts/english/
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Sebastien Binet <binet at lblbox>
-
-pkgbase=python-ptrace
-pkgname=('python-ptrace' 'python2-ptrace')
-pkgver=0.9.3
-pkgrel=2
-pkgdesc='Python binding of ptrace library to trace processes and syscalls'
-url='https://github.com/haypo/python-ptrace'
-arch=('any')
-license=('GPL2')
-makedepends=('python' 'python-sphinx'
-             'python2' 'python2-sphinx')
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/haypo/python-ptrace/archive/${pkgver}.tar.gz)
-sha512sums=('8d033bfc30ebfb74cc8ff862f7de1144261dc1ab4e2bf74b729aa756f5d20c85bc87825dfc0f5ce1084795031141b4e9170930e41355f966ce2f9c6a95270a86')
-
-prepare(){
-  cp -a ${pkgbase}-${pkgver}{,-py2}
-}
-
-build() {
-  msg "Building python..."
-  cd "${srcdir}/${pkgbase}-${pkgver}"
-  python setup.py build
-  make -j1 -C doc man text SPHINXBUILD=sphinx-build
-
-  msg "Building python2..."
-  cd "${srcdir}/${pkgbase}-${pkgver}-py2"
-  python2 setup.py build
-  make -j1 -C doc man text SPHINXBUILD=sphinx-build2
-}
-
-check() {
-  msg "Checking python..."
-  cd "${srcdir}/${pkgbase}-${pkgver}"
-  python runtests.py
-
-  msg "Checking python2..."
-  cd "${srcdir}/${pkgbase}-${pkgver}-py2"
-  python2 runtests.py
-}
-
-package_python-ptrace() {
-  depends=('python')
-  cd "${srcdir}/${pkgbase}-${pkgver}"
-  python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build
-  install -Dm 644 doc/build/text/*.txt -t "${pkgdir}/usr/share/doc/${pkgname}"
-  cp -a examples "${pkgdir}/usr/share/doc/${pkgname}"
-  install -Dm 644 doc/build/man/${pkgbase}.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1"
-}
-
-package_python2-ptrace() {
-  depends=('python2')
-  cd "${srcdir}/${pkgbase}-${pkgver}-py2"
-  python2 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build
-  install -Dm 644 doc/build/text/*.txt -t "${pkgdir}/usr/share/doc/${pkgname}"
-  cp -a examples "${pkgdir}/usr/share/doc/${pkgname}"
-  install -Dm 644 doc/build/man/${pkgbase}.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1"
-  # Rename gdb and strace scripts to avoid names conflict
-  mv "${pkgdir}/usr/bin/gdb.py" "${pkgdir}/usr/bin/gdb2.py"
-  mv "${pkgdir}/usr/bin/strace.py" "${pkgdir}/usr/bin/strace2.py"
-}
-
-# vim: ts=2 sw=2 et:

Copied: python-ptrace/repos/community-any/PKGBUILD (from rev 500432, python-ptrace/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-08-21 17:59:25 UTC (rev 500433)
@@ -0,0 +1,65 @@
+# Maintainer: Muflone http://www.muflone.com/contacts/english/
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Sebastien Binet <binet at lblbox>
+
+pkgbase=python-ptrace
+pkgname=('python-ptrace' 'python2-ptrace')
+pkgver=0.9.4
+pkgrel=1
+pkgdesc='Python binding of ptrace library to trace processes and syscalls'
+url='https://github.com/haypo/python-ptrace'
+arch=('any')
+license=('GPL2')
+makedepends=('python' 'python-sphinx'
+             'python2' 'python2-sphinx')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/haypo/python-ptrace/archive/${pkgver}.tar.gz)
+sha512sums=('dd300fb3f2e3bbca67e585601788a0b83130c96697e8820b02f19934c45e294bc2da2e22f08ad325c34795184a956ae6a42cbe83c976fe5e0d65b9386da82b57')
+
+prepare(){
+  cp -a ${pkgbase}-${pkgver}{,-py2}
+}
+
+build() {
+  msg "Building python..."
+  cd "${srcdir}/${pkgbase}-${pkgver}"
+  python setup.py build
+  make -j1 -C doc man text SPHINXBUILD=sphinx-build
+
+  msg "Building python2..."
+  cd "${srcdir}/${pkgbase}-${pkgver}-py2"
+  python2 setup.py build
+  make -j1 -C doc man text SPHINXBUILD=sphinx-build2
+}
+
+check() {
+  msg "Checking python..."
+  cd "${srcdir}/${pkgbase}-${pkgver}"
+  python runtests.py
+
+  msg "Checking python2..."
+  cd "${srcdir}/${pkgbase}-${pkgver}-py2"
+  python2 runtests.py
+}
+
+package_python-ptrace() {
+  depends=('python')
+  cd "${srcdir}/${pkgbase}-${pkgver}"
+  python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build
+  install -Dm 644 doc/build/text/*.txt -t "${pkgdir}/usr/share/doc/${pkgname}"
+  cp -a examples "${pkgdir}/usr/share/doc/${pkgname}"
+  install -Dm 644 doc/build/man/${pkgbase}.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1"
+}
+
+package_python2-ptrace() {
+  depends=('python2')
+  cd "${srcdir}/${pkgbase}-${pkgver}-py2"
+  python2 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build
+  install -Dm 644 doc/build/text/*.txt -t "${pkgdir}/usr/share/doc/${pkgname}"
+  cp -a examples "${pkgdir}/usr/share/doc/${pkgname}"
+  install -Dm 644 doc/build/man/${pkgbase}.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1"
+  # Rename gdb and strace scripts to avoid names conflict
+  mv "${pkgdir}/usr/bin/gdb.py" "${pkgdir}/usr/bin/gdb2.py"
+  mv "${pkgdir}/usr/bin/strace.py" "${pkgdir}/usr/bin/strace2.py"
+}
+
+# vim: ts=2 sw=2 et:


More information about the arch-commits mailing list