Package Details: jefferson-git 0.2.r9.g78da2e6-1

Git Clone URL: https://aur.archlinux.org/jefferson-git.git (read-only, click to copy)
Package Base: jefferson-git
Description: JFFS2 filesystem extraction tool
Upstream URL: https://github.com/sviehb/jefferson
Licenses: MIT
Conflicts: jefferson
Provides: jefferson
Submitter: andrewchen
Maintainer: andrewchen
Last Packager: andrewchen
Votes: 3
Popularity: 0.067550
First Submitted: 2015-12-10 03:25
Last Updated: 2015-12-10 03:25

Latest Comments

yjun commented on 2020-12-25 05:08

patch to build with python3.

From d6cdbce8337671c5e7d885538abe0f76d9b14388 Mon Sep 17 00:00:00 2001
From: yjun <jerrysteve1101@gmail.com>
Date: Fri, 25 Dec 2020 13:05:34 +0800
Subject: [PATCH] use python3

---
 PKGBUILD | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/PKGBUILD b/PKGBUILD
index d4faeac..0e42524 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,13 +2,13 @@

 pkgname=jefferson-git
 _gitname=jefferson
-pkgver=0.2.r9.g78da2e6
+pkgver=0.3.r31.ge06a617
 pkgrel=1
 pkgdesc="JFFS2 filesystem extraction tool"
 url="https://github.com/sviehb/jefferson"
 arch=('any')
 license=('MIT')
-depends=('python2' 'python2-cstruct' 'python2-pyliblzma')
+depends=('python' 'python-cstruct')
 makedepends=('git')
 provides=('jefferson')
 conflicts=('jefferson')
@@ -17,16 +17,16 @@ md5sums=('SKIP')

 pkgver() {
   cd $_gitname
-  printf "%s.r%s.g%s" "$(python2 setup.py --version)" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+  printf "%s.r%s.g%s" "$(python setup.py --version)" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
 }

 build() {
   cd $_gitname
-  python2 setup.py build
+  python setup.py build
 }

 package() {
   cd $_gitname
-  python2 setup.py install -O1 --root="${pkgdir}"
+  python setup.py install  --root="${pkgdir}" --optimize=1 --skip-build
   install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 }
-- 
2.29.2