[arch-commits] Commit in python-pwntools/repos/community-any (4 files)
Kpcyrd
kpcyrd at archlinux.org
Fri May 8 14:45:15 UTC 2020
Date: Friday, May 8, 2020 @ 14:45:11
Author: kpcyrd
Revision: 625691
archrelease: copy trunk to community-any
Added:
python-pwntools/repos/community-any/PKGBUILD
(from rev 625690, python-pwntools/trunk/PKGBUILD)
python-pwntools/repos/community-any/pwn.conf
(from rev 625690, python-pwntools/trunk/pwn.conf)
Deleted:
python-pwntools/repos/community-any/PKGBUILD
python-pwntools/repos/community-any/pwn.conf
----------+
PKGBUILD | 140 ++++++++++++++++++++++++++++++-------------------------------
pwn.conf | 4 -
2 files changed, 72 insertions(+), 72 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-05-08 14:44:55 UTC (rev 625690)
+++ PKGBUILD 2020-05-08 14:45:11 UTC (rev 625691)
@@ -1,70 +0,0 @@
-# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Ding Xiao <tinocodfcdsa10 at mails.tsinghua.edu.cn>
-# Contributor: Firmy <firmianay at gmail.com>
-
-pkgname=python-pwntools
-_pyname=pwntools
-pkgver=4.0.1
-pkgrel=3
-pkgdesc='CTF framework and exploit development library'
-url='https://github.com/Gallopsled/pwntools'
-arch=('any')
-license=('MIT' 'GPL2' 'BSD')
-depends=('python'
- 'python-mako'
- 'python-pyelftools'
- 'python-capstone'
- 'ropgadget'
- 'python-pyserial'
- 'python-requests'
- 'python-pip'
- 'python-pygments'
- 'python-pysocks'
- 'python-dateutil'
- 'python-packaging'
- 'python-psutil'
- 'python-intervaltree'
- 'python-sortedcontainers'
- 'python-unicorn'
- 'python-tox'
- 'python-paramiko'
- 'ropgadget'
- 'python-setuptools')
-source=(https://github.com/Gallopsled/pwntools/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz
- pwn.conf
- # cherry-pick patch for [update] config section
- https://github.com/Gallopsled/pwntools/commit/433d92619b98b916bee21865df066e005f28dc80.patch)
-sha256sums=('5598bf8ebb96264dab3663d296be3dfe783451cf3535ad611d094a7c550d467f'
- '50916e4e45d026422cd6bfe8de50e7246c61b0b1e0007571e7c04a994282fe89'
- '25a4bd5edc81e3f31200b8104392330cb4f5f30868c474ac55b99b5e4fdc73a0')
-b2sums=('9003e0ef0ceaa3e1a089de68f94c854e65c12ce4e21d3b3aadfa0c777f7aa168f02869b34ccdede04b17d53a5ad8ea8b0d91a20ea0d73496b814847a3ce4b423'
- 'cac0a12eea8abd3d2ee21632e7f2281e7e35c2d7839cfbcba83ae5d0e8f427e9cc2462a6d17d187252b99d9dbbb14393b9d5a63996c42043f553e9b66bfe9e07'
- 'b41a77d6e3a799ff937c1b04713919d5357fa371a0f730ddc83ff8253d463cb86b89bcf705724fd68a9c4fb8567821cfbc85be6723d6b43d916cff9385413363')
-
-prepare() {
- cd ${_pyname}-${pkgver}
- sed 's|>=1.0.2rc1||' -i setup.py
-
- patch --forward --strip=1 --input="${srcdir}/433d92619b98b916bee21865df066e005f28dc80.patch"
-}
-
-build() {
- cd ${_pyname}-${pkgver}
- python setup.py build
-}
-
-check() {
- cd "${_pyname}-${pkgver}"
- PYTHONPATH=. PWNLIB_NOTERM=true python -c 'import pwn'
-}
-
-package() {
- cd ${_pyname}-${pkgver}
- python setup.py install -O1 --root="${pkgdir}" --skip-build --only-use-pwn-command
- install -Dm 644 "${srcdir}/pwn.conf" -t "${pkgdir}/etc"
- install -Dm 644 LICENSE-pwntools.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
- rm -f "${pkgdir}"/usr/lib/python*/site-packages/*.{txt,md}
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python-pwntools/repos/community-any/PKGBUILD (from rev 625690, python-pwntools/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-05-08 14:45:11 UTC (rev 625691)
@@ -0,0 +1,70 @@
+# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Ding Xiao <tinocodfcdsa10 at mails.tsinghua.edu.cn>
+# Contributor: Firmy <firmianay at gmail.com>
+
+pkgname=python-pwntools
+_pyname=pwntools
+pkgver=4.1.0
+pkgrel=1
+pkgdesc='CTF framework and exploit development library'
+url='https://github.com/Gallopsled/pwntools'
+arch=('any')
+license=('MIT' 'GPL2' 'BSD')
+depends=('python'
+ 'python-mako'
+ 'python-pyelftools'
+ 'python-capstone'
+ 'ropgadget'
+ 'python-pyserial'
+ 'python-requests'
+ 'python-pip'
+ 'python-pygments'
+ 'python-pysocks'
+ 'python-dateutil'
+ 'python-packaging'
+ 'python-psutil'
+ 'python-intervaltree'
+ 'python-sortedcontainers'
+ 'python-unicorn'
+ 'python-paramiko'
+ 'ropgadget'
+ 'python-setuptools')
+makedepends=('pandoc')
+source=(https://github.com/Gallopsled/pwntools/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz
+ pwn.conf
+ # cherry-pick patch for [update] config section
+ https://github.com/Gallopsled/pwntools/commit/433d92619b98b916bee21865df066e005f28dc80.patch)
+sha256sums=('b421e579eb00fff56d5041e7283250f5754e39a2e381b145dc44ced22450bc30'
+ '50916e4e45d026422cd6bfe8de50e7246c61b0b1e0007571e7c04a994282fe89'
+ '25a4bd5edc81e3f31200b8104392330cb4f5f30868c474ac55b99b5e4fdc73a0')
+b2sums=('2ebb14383a0777002c8d6c1874a25f40fed3fbe81820ee49e9a7730573f42e5a02c2b18e602cc7c7de93744bf9247a880797b995b2bf3def395953d2887cb46d'
+ 'cac0a12eea8abd3d2ee21632e7f2281e7e35c2d7839cfbcba83ae5d0e8f427e9cc2462a6d17d187252b99d9dbbb14393b9d5a63996c42043f553e9b66bfe9e07'
+ 'b41a77d6e3a799ff937c1b04713919d5357fa371a0f730ddc83ff8253d463cb86b89bcf705724fd68a9c4fb8567821cfbc85be6723d6b43d916cff9385413363')
+
+prepare() {
+ cd ${_pyname}-${pkgver}
+ sed 's|>=1.0.2rc1||' -i setup.py
+
+ patch --forward --strip=1 --input="${srcdir}/433d92619b98b916bee21865df066e005f28dc80.patch"
+}
+
+build() {
+ cd ${_pyname}-${pkgver}
+ python setup.py build
+}
+
+check() {
+ cd "${_pyname}-${pkgver}"
+ PYTHONPATH=. PWNLIB_NOTERM=true python -c 'import pwn'
+}
+
+package() {
+ cd ${_pyname}-${pkgver}
+ python setup.py install -O1 --root="${pkgdir}" --skip-build --only-use-pwn-command
+ install -Dm 644 "${srcdir}/pwn.conf" -t "${pkgdir}/etc"
+ install -Dm 644 LICENSE-pwntools.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
+ rm -f "${pkgdir}"/usr/lib/python*/site-packages/*.{txt,md}
+}
+
+# vim:set ts=2 sw=2 et:
Deleted: pwn.conf
===================================================================
--- pwn.conf 2020-05-08 14:44:55 UTC (rev 625690)
+++ pwn.conf 2020-05-08 14:45:11 UTC (rev 625691)
@@ -1,2 +0,0 @@
-[update]
-interval=never
Copied: python-pwntools/repos/community-any/pwn.conf (from rev 625690, python-pwntools/trunk/pwn.conf)
===================================================================
--- pwn.conf (rev 0)
+++ pwn.conf 2020-05-08 14:45:11 UTC (rev 625691)
@@ -0,0 +1,2 @@
+[update]
+interval=never
More information about the arch-commits
mailing list