[arch-commits] Commit in python-lhafile/repos/community-x86_64 (PKGBUILD PKGBUILD)
Daniel Bermond
dbermond at archlinux.org
Thu Dec 24 15:54:24 UTC 2020
Date: Thursday, December 24, 2020 @ 15:54:23
Author: dbermond
Revision: 788313
archrelease: copy trunk to community-x86_64
Added:
python-lhafile/repos/community-x86_64/PKGBUILD
(from rev 788312, python-lhafile/trunk/PKGBUILD)
Deleted:
python-lhafile/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 63 +++++++++++++++++++++++++++++--------------------------------
1 file changed, 30 insertions(+), 33 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-12-24 15:54:01 UTC (rev 788312)
+++ PKGBUILD 2020-12-24 15:54:23 UTC (rev 788313)
@@ -1,33 +0,0 @@
-# Maintainer : Daniel Bermond <dbermond at archlinux.org>
-# Contributor: grimi
-
-pkgname=python-lhafile
-pkgver=0.2.2
-pkgrel=4
-pkgdesc='LHA archive support for Python'
-arch=('x86_64')
-url='https://fengestad.no/python-lhafile/'
-license=('BSD')
-depends=('python')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/FrodeSolheim/${pkgname}/archive/v${pkgver}.tar.gz"
- '010-python-lhafile-fix-version.patch'::'https://github.com/FrodeSolheim/python-lhafile/commit/f1e8a9dc7b80eaf1e06eff242fb1bbae5d722ad9.patch')
-sha256sums=('18396276b77d8c7e094f169d3b2471e60de3d412a2454a0f73c452a54817ee68'
- '39b63fdbc51b72989175faeeb26a44aaca93612e7847b596bcb4af34d9d348c9')
-
-prepare() {
- patch -d "${pkgname}-${pkgver}" -Np1 -i "${srcdir}/010-python-lhafile-fix-version.patch"
-}
-
-build() {
- cd "${pkgname}-${pkgver}"
-
- python setup.py build
-}
-
-package() {
- cd "${pkgname}-${pkgver}"
-
- python setup.py install --root="$pkgdir" --skip-build --optimize='1'
-
- install -D -m644 COPYING.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
Copied: python-lhafile/repos/community-x86_64/PKGBUILD (from rev 788312, python-lhafile/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-12-24 15:54:23 UTC (rev 788313)
@@ -0,0 +1,30 @@
+# Maintainer : Daniel Bermond <dbermond at archlinux.org>
+# Contributor: grimi
+
+pkgname=python-lhafile
+pkgver=0.2.2
+pkgrel=5
+pkgdesc='LHA archive support for Python'
+arch=('x86_64')
+url='https://fengestad.no/python-lhafile/'
+license=('BSD')
+depends=('python')
+source=("https://github.com/FrodeSolheim/python-lhafile/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz"
+ '010-python-lhafile-fix-version.patch'::'https://github.com/FrodeSolheim/python-lhafile/commit/f1e8a9dc7b80eaf1e06eff242fb1bbae5d722ad9.patch')
+sha256sums=('18396276b77d8c7e094f169d3b2471e60de3d412a2454a0f73c452a54817ee68'
+ '39b63fdbc51b72989175faeeb26a44aaca93612e7847b596bcb4af34d9d348c9')
+
+prepare() {
+ patch -d "${pkgname}-${pkgver}" -Np1 -i "${srcdir}/010-python-lhafile-fix-version.patch"
+}
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ python setup.py build
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ PYTHONHASHSEED='0' python setup.py install --root="$pkgdir" --skip-build --optimize='1'
+ install -D -m644 COPYING.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
More information about the arch-commits
mailing list