From 6fab573f911c180a09291859aa6f9258768d0a63 Mon Sep 17 00:00:00 2001 From: Benjamin Vialle Date: Sat, 1 May 2021 21:15:21 +0200 Subject: [PATCH 1/2] Updated PKGBUILD to version 3.0.r73.gfd7610aaa --- .SRCINFO | 33 +++++++++++++++++++++++++++++++++ .gitignore | 14 ++++++++++++++ PKGBUILD | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 95 insertions(+) create mode 100644 .SRCINFO create mode 100644 .gitignore create mode 100644 PKGBUILD diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..6c43d80 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,33 @@ +pkgbase = woob-git + pkgdesc = Core library and modules for Web Outside of Browsers + pkgver = 3.0.r73.gfd7610aaa + pkgrel = 1 + url = https://woob.tech + arch = any + license = LGPL3 + makedepends = python-setuptools + makedepends = git + depends = python-lxml + depends = python-cssselect + depends = python-requests + depends = python-dateutil + depends = python-yaml + depends = python-html2text + depends = python-six + depends = python-unidecode + depends = python-pillow + depends = python-babel + depends = python-simplejson + optdepends = python-prettytable: CLI output formatting + optdepends = python-feedparser: required by some modules + provides = woob-headless + conflicts = weboob-headless + conflicts = weboob-git + conflicts = weboob-qt + replaces = woob-headless + replaces = weboob + source = woob::git+https://gitlab.com/woob/woob.git + sha256sums = SKIP + +pkgname = woob-git + diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f13f54e --- /dev/null +++ b/.gitignore @@ -0,0 +1,14 @@ +*.tar +*.tar.* +*.jar +*.exe +*.msi +*.zip +*.tgz +*.log +*.log.* +*.sig + +pkg/ +src/ +woob/ diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..db8f625 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,48 @@ +# Maintainer: Benjamin Vialle +# PGP ID: 72DF86FBBBBD5EDAE8FF1834826884A347F9FD9A +# Contributor: Dimitris Kiziridis +# Contributor: sputnick +# Contributor: ianux + +pkgname=woob-git +pkgver=3.0.r73.gfd7610aaa +pkgrel=1 +pkgdesc="Core library and modules for Web Outside of Browsers" +arch=(any) +url="https://woob.tech" +license=('LGPL3') +depends=('python-lxml' + 'python-cssselect' + 'python-requests' + 'python-dateutil' + 'python-yaml' + 'python-html2text' + 'python-six' + 'python-unidecode' + 'python-pillow' + 'python-babel' + 'python-simplejson') +optdepends=('python-prettytable: CLI output formatting' + 'python-feedparser: required by some modules') +makedepends=('python-setuptools' 'git') +replaces=('woob-headless' 'weboob') +provides=('woob-headless') +conflicts=('weboob-headless' 'weboob-git' 'weboob-qt') +source=("woob::git+https://gitlab.com/woob/woob.git") +sha256sums=('SKIP') + +pkgver() { + cd "${srcdir}/woob" + git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' +} + +build() { + cd "${srcdir}/woob" + python setup.py build +} + +package() { + cd "${srcdir}/woob" + python setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 +} + From 71a7dbbd9390665c9da48e470d1aa4846ce337cd Mon Sep 17 00:00:00 2001 From: Benjamin Vialle Date: Sun, 27 Jun 2021 12:11:55 +0200 Subject: [PATCH 2/2] Update PKGBUILD to version r300.g9b966643d --- .SRCINFO | 3 +-- PKGBUILD | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 6c43d80..1d65890 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = woob-git pkgdesc = Core library and modules for Web Outside of Browsers - pkgver = 3.0.r73.gfd7610aaa + pkgver = 3.0.r300.g9b966643d pkgrel = 1 url = https://woob.tech arch = any @@ -30,4 +30,3 @@ pkgbase = woob-git sha256sums = SKIP pkgname = woob-git - diff --git a/PKGBUILD b/PKGBUILD index db8f625..31e8013 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -5,7 +5,7 @@ # Contributor: ianux pkgname=woob-git -pkgver=3.0.r73.gfd7610aaa +pkgver=3.0.r300.g9b966643d pkgrel=1 pkgdesc="Core library and modules for Web Outside of Browsers" arch=(any)