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

Levente Polyak anthraxx at archlinux.org
Wed Aug 15 11:23:45 UTC 2018


    Date: Wednesday, August 15, 2018 @ 11:23:45
  Author: anthraxx
Revision: 371716

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   94 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 47 insertions(+), 47 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-15 11:23:39 UTC (rev 371715)
+++ PKGBUILD	2018-08-15 11:23:45 UTC (rev 371716)
@@ -1,47 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-
-pkgbase=python-filebytes
-pkgname=('python-filebytes' 'python2-filebytes')
-_pyname=${pkgbase/python-/}
-pkgver=0.9.15
-pkgrel=2
-pkgdesc='Library to read and edit executable binary files'
-url='https://github.com/sashs/filebytes'
-arch=('any')
-license=('GPL2')
-makedepends=('python' 'python-setuptools'
-             'python2' 'python2-setuptools')
-source=(${pkgbase}-${pkgver}.tar.gz::https://github.com/sashs/filebytes/archive/v${pkgver}.tar.gz)
-sha512sums=('a5d9d8d85ab139491cc4f43c32aa72f985fecf106fe34ec531885fd930d91a0490eedc765fc0d06da1695ff32b0aec0adde8b97b95e7d3d3251496e49624a485')
-
-prepare() {
-  cp -ra ${_pyname}-${pkgver}{,-py2}
-  sed -r 's|env python$|env python2|' -i ${_pyname}-${pkgver}-py2/samples/*
-}
-
-build() {
-  (cd ${_pyname}-${pkgver}
-    python setup.py build
-  )
-  (cd ${_pyname}-${pkgver}-py2
-    python2 setup.py build
-  )
-}
-
-package_python-filebytes() {
-  depends=('python')
-  cd ${_pyname}-${pkgver}
-  python setup.py install -O1 --root="${pkgdir}" --prefix=/usr --skip-build
-  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 --skip-build
-  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 371715, python-filebytes/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-08-15 11:23:45 UTC (rev 371716)
@@ -0,0 +1,47 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgbase=python-filebytes
+pkgname=('python-filebytes' 'python2-filebytes')
+_pyname=${pkgbase/python-/}
+pkgver=0.9.16
+pkgrel=1
+pkgdesc='Library to read and edit executable binary files'
+url='https://github.com/sashs/filebytes'
+arch=('any')
+license=('GPL2')
+makedepends=('python' 'python-setuptools'
+             'python2' 'python2-setuptools')
+source=(${pkgbase}-${pkgver}.tar.gz::https://github.com/sashs/filebytes/archive/v${pkgver}.tar.gz)
+sha512sums=('4d77cdc8cef6d6b10e8795ce639bb6fba120673cb226130ec971ff0c4b2f1cef60f4502d413086877b8d7034526294287cab4e7d505254c19060b7cb431d0a44')
+
+prepare() {
+  cp -ra ${_pyname}-${pkgver}{,-py2}
+  sed -r 's|env python$|env python2|' -i ${_pyname}-${pkgver}-py2/samples/*
+}
+
+build() {
+  (cd ${_pyname}-${pkgver}
+    python setup.py build
+  )
+  (cd ${_pyname}-${pkgver}-py2
+    python2 setup.py build
+  )
+}
+
+package_python-filebytes() {
+  depends=('python')
+  cd ${_pyname}-${pkgver}
+  python setup.py install -O1 --root="${pkgdir}" --prefix=/usr --skip-build
+  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 --skip-build
+  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