[arch-commits] Commit in python-lhafile/repos/community-x86_64 (PKGBUILD PKGBUILD)

Daniel Bermond dbermond at archlinux.org
Wed Mar 3 21:05:38 UTC 2021


    Date: Wednesday, March 3, 2021 @ 21:05:38
  Author: dbermond
Revision: 879468

archrelease: copy trunk to community-x86_64

Added:
  python-lhafile/repos/community-x86_64/PKGBUILD
    (from rev 879467, python-lhafile/trunk/PKGBUILD)
Deleted:
  python-lhafile/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   55 +++++++++++++++++++++++++------------------------------
 1 file changed, 25 insertions(+), 30 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-03-03 21:05:22 UTC (rev 879467)
+++ PKGBUILD	2021-03-03 21:05:38 UTC (rev 879468)
@@ -1,30 +0,0 @@
-# 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"
-}

Copied: python-lhafile/repos/community-x86_64/PKGBUILD (from rev 879467, python-lhafile/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-03-03 21:05:38 UTC (rev 879468)
@@ -0,0 +1,25 @@
+# Maintainer : Daniel Bermond <dbermond at archlinux.org>
+# Contributor: grimi
+
+pkgname=python-lhafile
+pkgver=0.3.0
+pkgrel=1
+pkgdesc='LHA archive support for Python'
+arch=('x86_64')
+url='https://github.com/FrodeSolheim/python-lhafile/'
+license=('BSD')
+depends=('python')
+makedepends=('python-setuptools')
+source=("https://github.com/FrodeSolheim/python-lhafile/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('5565641820813c76c74f2199f19f6ee0e3ae1e1c14de1a3a4ea3602f9094cd29')
+
+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