From 7a5c8b4b2e7ca16722c49c6c0abdb5c754fb5165 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Fri, 24 Sep 2021 18:24:25 +0300 Subject: Initial commit v1.0.0 --- .SRCINFO | 21 +++++++++++++++++++++ PKGBUILD | 23 +++++++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 .SRCINFO create mode 100644 PKGBUILD diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..812d886 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,21 @@ +pkgbase = gourmand + pkgdesc = A recipe manager for desktop with the possibilities to import, organize, and tweak recipes + pkgver = 1.0.0 + pkgrel = 1 + url = https://github.com/GourmandRecipeManager/gourmand + arch = any + license = GPL + makedepends = python-pip + depends = python-gobject + depends = gtk3 + depends = python-pyenchant + depends = gst-python + depends = python-pillow + depends = python-sqlalchemy + optdepends = python-beautifulsoup4: Webpage import plugin + provides = gourmand + conflicts = gourmet + source = gourmand-1.0.0-py3-none-any.whl::https://github.com/GourmandRecipeManager/gourmand/releases/download/1.0.0/gourmand-1.0.0-py3-none-any.whl + sha256sums = 9f1acf7098e62a8bca932ba43a9f1ee6b94978073824b96c5c1032fce23b12d4 + +pkgname = gourmand diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..e80e628 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: Yigit Sever + +pkgname='gourmand' +pkgver=1.0.0 +pkgrel=1 +pkgdesc="A recipe manager for desktop with the possibilities to import, organize, and tweak recipes" +arch=('any') +url="https://github.com/GourmandRecipeManager/gourmand" +license=('GPL') +depends=('python-gobject' 'gtk3' 'python-pyenchant' 'gst-python' 'python-pillow' 'python-sqlalchemy') +makedepends=('python-pip') +checkdepends=() +optdepends=('python-beautifulsoup4: Webpage import plugin') +provides=("${pkgname}") +conflicts=('gourmet') +source=("$pkgname-$pkgver-py3-none-any.whl::$url/releases/download/$pkgver/$pkgname-$pkgver-py3-none-any.whl") +sha256sums=('9f1acf7098e62a8bca932ba43a9f1ee6b94978073824b96c5c1032fce23b12d4') + +package() { + # https://wiki.archlinux.org/title/Python_package_guidelines#pip + PIP_CONFIG_FILE=/dev/null pip install --isolated --root="$pkgdir" --ignore-installed --no-deps *.whl +} +# vim:set ts=2 sw=2 et: -- cgit v1.2.3-70-g09d2 From e48a95b46f28a55c47e2d3098398762c236b1730 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Sat, 25 Sep 2021 14:58:42 +0300 Subject: Remove redundant provides --- PKGBUILD | 1 - 1 file changed, 1 deletion(-) diff --git a/PKGBUILD b/PKGBUILD index e80e628..7997ff2 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -11,7 +11,6 @@ depends=('python-gobject' 'gtk3' 'python-pyenchant' 'gst-python' 'python-pillow' makedepends=('python-pip') checkdepends=() optdepends=('python-beautifulsoup4: Webpage import plugin') -provides=("${pkgname}") conflicts=('gourmet') source=("$pkgname-$pkgver-py3-none-any.whl::$url/releases/download/$pkgver/$pkgname-$pkgver-py3-none-any.whl") sha256sums=('9f1acf7098e62a8bca932ba43a9f1ee6b94978073824b96c5c1032fce23b12d4') -- cgit v1.2.3-70-g09d2 From 6424b7bca9e136cb4480c2be71cd22fbcb0ac43e Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Sat, 25 Sep 2021 15:13:04 +0300 Subject: Shorten pkgdesc, remove modeline --- PKGBUILD | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 7997ff2..cf54749 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,7 +3,7 @@ pkgname='gourmand' pkgver=1.0.0 pkgrel=1 -pkgdesc="A recipe manager for desktop with the possibilities to import, organize, and tweak recipes" +pkgdesc="A recipe manager for desktop that can import recipes" arch=('any') url="https://github.com/GourmandRecipeManager/gourmand" license=('GPL') @@ -19,4 +19,3 @@ package() { # https://wiki.archlinux.org/title/Python_package_guidelines#pip PIP_CONFIG_FILE=/dev/null pip install --isolated --root="$pkgdir" --ignore-installed --no-deps *.whl } -# vim:set ts=2 sw=2 et: -- cgit v1.2.3-70-g09d2 From ab5a1b4615b6a2d13e88528e3205e8c3bb735d52 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Wed, 29 Sep 2021 17:33:23 +0300 Subject: Add plugin dependencies --- .SRCINFO | 12 ++++++++++-- PKGBUILD | 12 ++++++++++-- 2 files changed, 20 insertions(+), 4 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 812d886..83b6a63 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,5 +1,5 @@ pkgbase = gourmand - pkgdesc = A recipe manager for desktop with the possibilities to import, organize, and tweak recipes + pkgdesc = A recipe manager for desktop that can import recipes pkgver = 1.0.0 pkgrel = 1 url = https://github.com/GourmandRecipeManager/gourmand @@ -12,8 +12,16 @@ pkgbase = gourmand depends = gst-python depends = python-pillow depends = python-sqlalchemy + depends = python-lxml + depends = python-cairo + depends = python-requests optdepends = python-beautifulsoup4: Webpage import plugin - provides = gourmand + optdepends = python-scrape-schema-recipe: Webpage import plugin + optdepends = python-selenium + optdepends = python-keyring + optdepends = python-ebooklib: EPub export plugin + optdepends = python-reportlab: Printing & PDF export plugin + optdepends = python-gtkspellcheck: Spell checking plugin conflicts = gourmet source = gourmand-1.0.0-py3-none-any.whl::https://github.com/GourmandRecipeManager/gourmand/releases/download/1.0.0/gourmand-1.0.0-py3-none-any.whl sha256sums = 9f1acf7098e62a8bca932ba43a9f1ee6b94978073824b96c5c1032fce23b12d4 diff --git a/PKGBUILD b/PKGBUILD index cf54749..8059a00 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -7,10 +7,18 @@ pkgdesc="A recipe manager for desktop that can import recipes" arch=('any') url="https://github.com/GourmandRecipeManager/gourmand" license=('GPL') -depends=('python-gobject' 'gtk3' 'python-pyenchant' 'gst-python' 'python-pillow' 'python-sqlalchemy') +depends=('python-gobject' 'gtk3' 'python-pyenchant' 'gst-python' 'python-pillow' 'python-sqlalchemy' 'python-lxml' 'python-cairo' 'python-requests') makedepends=('python-pip') checkdepends=() -optdepends=('python-beautifulsoup4: Webpage import plugin') +optdepends=( + 'python-beautifulsoup4: Webpage import plugin' + 'python-scrape-schema-recipe: Webpage import plugin' + 'python-selenium' + 'python-keyring' + 'python-ebooklib: EPub export plugin' + 'python-reportlab: Printing & PDF export plugin' + 'python-gtkspellcheck: Spell checking plugin' + ) conflicts=('gourmet') source=("$pkgname-$pkgver-py3-none-any.whl::$url/releases/download/$pkgver/$pkgname-$pkgver-py3-none-any.whl") sha256sums=('9f1acf7098e62a8bca932ba43a9f1ee6b94978073824b96c5c1032fce23b12d4') -- cgit v1.2.3-70-g09d2 From 41b6068d5edc7c788df2577699a2665acde5f1dd Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Thu, 30 Sep 2021 01:22:24 +0300 Subject: Add desktop entry --- .SRCINFO | 3 ++- PKGBUILD | 9 +++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 83b6a63..720187a 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,11 +1,12 @@ pkgbase = gourmand pkgdesc = A recipe manager for desktop that can import recipes pkgver = 1.0.0 - pkgrel = 1 + pkgrel = 2 url = https://github.com/GourmandRecipeManager/gourmand arch = any license = GPL makedepends = python-pip + makedepends = gendesk depends = python-gobject depends = gtk3 depends = python-pyenchant diff --git a/PKGBUILD b/PKGBUILD index 8059a00..db95a56 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,13 +2,13 @@ pkgname='gourmand' pkgver=1.0.0 -pkgrel=1 +pkgrel=2 pkgdesc="A recipe manager for desktop that can import recipes" arch=('any') url="https://github.com/GourmandRecipeManager/gourmand" license=('GPL') depends=('python-gobject' 'gtk3' 'python-pyenchant' 'gst-python' 'python-pillow' 'python-sqlalchemy' 'python-lxml' 'python-cairo' 'python-requests') -makedepends=('python-pip') +makedepends=('python-pip' 'gendesk') checkdepends=() optdepends=( 'python-beautifulsoup4: Webpage import plugin' @@ -23,7 +23,12 @@ conflicts=('gourmet') source=("$pkgname-$pkgver-py3-none-any.whl::$url/releases/download/$pkgver/$pkgname-$pkgver-py3-none-any.whl") sha256sums=('9f1acf7098e62a8bca932ba43a9f1ee6b94978073824b96c5c1032fce23b12d4') +prepare() { + gendesk -n --pkgname "$pkgname" --pkgdesc "$pkgdesc" +} + package() { # https://wiki.archlinux.org/title/Python_package_guidelines#pip PIP_CONFIG_FILE=/dev/null pip install --isolated --root="$pkgdir" --ignore-installed --no-deps *.whl + install -D -m644 "$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop" } -- cgit v1.2.3-70-g09d2 From 904ab220ae5765d1aec333f90e183a91a5e488ab Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Thu, 30 Sep 2021 13:33:42 +0300 Subject: Include every optional dependency --- .SRCINFO | 5 ++++- PKGBUILD | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 720187a..37b6460 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = gourmand pkgdesc = A recipe manager for desktop that can import recipes pkgver = 1.0.0 - pkgrel = 2 + pkgrel = 3 url = https://github.com/GourmandRecipeManager/gourmand arch = any license = GPL @@ -23,6 +23,9 @@ pkgbase = gourmand optdepends = python-ebooklib: EPub export plugin optdepends = python-reportlab: Printing & PDF export plugin optdepends = python-gtkspellcheck: Spell checking plugin + optdepends = nuspell: Spell checking + optdepends = hspell: Spell checking for Hebrew + optdepends = libvoikko: Spell checking for Finnish language conflicts = gourmet source = gourmand-1.0.0-py3-none-any.whl::https://github.com/GourmandRecipeManager/gourmand/releases/download/1.0.0/gourmand-1.0.0-py3-none-any.whl sha256sums = 9f1acf7098e62a8bca932ba43a9f1ee6b94978073824b96c5c1032fce23b12d4 diff --git a/PKGBUILD b/PKGBUILD index db95a56..92e52c9 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,7 +2,7 @@ pkgname='gourmand' pkgver=1.0.0 -pkgrel=2 +pkgrel=3 pkgdesc="A recipe manager for desktop that can import recipes" arch=('any') url="https://github.com/GourmandRecipeManager/gourmand" @@ -18,6 +18,9 @@ optdepends=( 'python-ebooklib: EPub export plugin' 'python-reportlab: Printing & PDF export plugin' 'python-gtkspellcheck: Spell checking plugin' + 'nuspell: Spell checking' + 'hspell: Spell checking for Hebrew' + 'libvoikko: Spell checking for Finnish language' ) conflicts=('gourmet') source=("$pkgname-$pkgver-py3-none-any.whl::$url/releases/download/$pkgver/$pkgname-$pkgver-py3-none-any.whl") -- cgit v1.2.3-70-g09d2