[arch-commits] Commit in python-filebytes/repos/community-any (PKGBUILD PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Mon Apr 4 08:23:09 UTC 2016
Date: Monday, April 4, 2016 @ 10:23:09
Author: anthraxx
Revision: 169427
archrelease: copy trunk to community-any
Added:
python-filebytes/repos/community-any/PKGBUILD
(from rev 169426, python-filebytes/trunk/PKGBUILD)
Deleted:
python-filebytes/repos/community-any/PKGBUILD
----------+
PKGBUILD | 74 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 37 insertions(+), 37 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-04-04 08:23:02 UTC (rev 169426)
+++ PKGBUILD 2016-04-04 08:23:09 UTC (rev 169427)
@@ -1,37 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-
-pkgbase=python-filebytes
-pkgname=('python-filebytes' 'python2-filebytes')
-_pyname=${pkgbase/python-/}
-pkgver=0.9.8
-pkgrel=1
-pkgdesc='Library to read and edit executable binary files'
-url='https://github.com/sashs/filebytes'
-arch=('any')
-license=('GPL2')
-makedepends=('python' 'python2' 'python-setuptools' 'python2-setuptools')
-source=(${pkgbase}-${pkgver}.tar.gz::https://github.com/sashs/filebytes/archive/v${pkgver}.tar.gz)
-sha512sums=('e24f2a6996feda517457f5e3ff13adec2593d4678a8aafb2f2b7a4c6c1f9d2dd2a1e2b5c9b46bad8a280bbbcd71fcc03df5c58261dfe9c3ef39c73b58e051f68')
-
-prepare() {
- cp -ra ${_pyname}-${pkgver}{,-py2}
- sed -r 's|env python$|env python2|' -i ${_pyname}-${pkgver}-py2/samples/*
-}
-
-package_python-filebytes() {
- depends=('python')
- cd ${_pyname}-${pkgver}
- python setup.py install -O1 --root="${pkgdir}" --prefix=/usr
- install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
- install -Dm 644 samples/* -t "${pkgdir}/usr/share/doc/${pkgname}/samples"
-}
-
-package_python2-filebytes() {
- depends=('python2')
- cd ${_pyname}-${pkgver}-py2
- python2 setup.py install -O1 --root="${pkgdir}" --prefix=/usr
- install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
- install -Dm 644 samples/* -t "${pkgdir}/usr/share/doc/${pkgname}/samples"
-}
-
-# vim: ts=2 sw=2 et:
Copied: python-filebytes/repos/community-any/PKGBUILD (from rev 169426, python-filebytes/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-04-04 08:23:09 UTC (rev 169427)
@@ -0,0 +1,37 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgbase=python-filebytes
+pkgname=('python-filebytes' 'python2-filebytes')
+_pyname=${pkgbase/python-/}
+pkgver=0.9.9
+pkgrel=1
+pkgdesc='Library to read and edit executable binary files'
+url='https://github.com/sashs/filebytes'
+arch=('any')
+license=('GPL2')
+makedepends=('python' 'python2' 'python-setuptools' 'python2-setuptools')
+source=(${pkgbase}-${pkgver}.tar.gz::https://github.com/sashs/filebytes/archive/v${pkgver}.tar.gz)
+sha512sums=('947400996cb1e58590cae047befd86e7a5dbcb76d95713acc9a3710f2b7e230bc274f1971770f0397ff4a78e607041b793848d6383c3e93c688d1e76cd65446e')
+
+prepare() {
+ cp -ra ${_pyname}-${pkgver}{,-py2}
+ sed -r 's|env python$|env python2|' -i ${_pyname}-${pkgver}-py2/samples/*
+}
+
+package_python-filebytes() {
+ depends=('python')
+ cd ${_pyname}-${pkgver}
+ python setup.py install -O1 --root="${pkgdir}" --prefix=/usr
+ install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+ install -Dm 644 samples/* -t "${pkgdir}/usr/share/doc/${pkgname}/samples"
+}
+
+package_python2-filebytes() {
+ depends=('python2')
+ cd ${_pyname}-${pkgver}-py2
+ python2 setup.py install -O1 --root="${pkgdir}" --prefix=/usr
+ install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+ install -Dm 644 samples/* -t "${pkgdir}/usr/share/doc/${pkgname}/samples"
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list