From a25f40767d4589f4ea0c17c8841fde4d38619b86 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Wed, 29 Sep 2021 15:17:35 +0300 Subject: Initial commit v0.2.0 --- .SRCINFO | 18 ++++++++++++++++++ PKGBUILD | 23 +++++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 .SRCINFO create mode 100644 PKGBUILD diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..c05e8eb --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = python-scrape-schema-recipe + pkgdesc = Scrapes food recipes from HTML into Python dictionaries + pkgver = 0.2.0 + pkgrel = 1 + url = https://github.com/micahcochran/scrape-schema-recipe + arch = any + license = Apache + makedepends = python-setuptools + depends = python-dataclasses + depends = python-extruct + depends = python-importlib_resources + depends = python-isodate + depends = python-requests + depends = python-typeshed-git + source = python-scrape-schema-recipe-0.2.0.tar.gz::https://github.com/micahcochran/scrape-schema-recipe/archive/v0.2.0.tar.gz + sha256sums = ecc253c82a9346c66e77005680a3f746a2feca7292bbcab0c4357b2757a0d1bf + +pkgname = python-scrape-schema-recipe diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..c1e894a --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: Yigit Sever +pkgname=python-scrape-schema-recipe +_pkgname=scrape-schema-recipe +pkgver=0.2.0 +pkgrel=1 +pkgdesc="Scrapes food recipes from HTML into Python dictionaries" +arch=('any') +url="https://github.com/micahcochran/scrape-schema-recipe" +license=('Apache') +depends=('python-dataclasses' 'python-extruct' 'python-importlib_resources' 'python-isodate' 'python-requests' 'python-typeshed-git') +makedepends=('python-setuptools') +source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz") +sha256sums=('ecc253c82a9346c66e77005680a3f746a2feca7292bbcab0c4357b2757a0d1bf') + +build() { + cd "${_pkgname}-${pkgver}" + python setup.py build +} + +package() { + cd "${_pkgname}-${pkgver}" + python setup.py install --root="$pkgdir" --optimize=1 +} -- cgit v1.2.3-70-g09d2 From 5dcd5b8e0c9f2febf20c6b6575da130424683218 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Sun, 9 Jan 2022 18:33:49 +0300 Subject: Fix types-requests dependency --- .SRCINFO | 4 ++-- PKGBUILD | 10 ++++++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index c05e8eb..4358145 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = python-scrape-schema-recipe pkgdesc = Scrapes food recipes from HTML into Python dictionaries pkgver = 0.2.0 - pkgrel = 1 + pkgrel = 2 url = https://github.com/micahcochran/scrape-schema-recipe arch = any license = Apache @@ -11,7 +11,7 @@ pkgbase = python-scrape-schema-recipe depends = python-importlib_resources depends = python-isodate depends = python-requests - depends = python-typeshed-git + depends = python-types-requests source = python-scrape-schema-recipe-0.2.0.tar.gz::https://github.com/micahcochran/scrape-schema-recipe/archive/v0.2.0.tar.gz sha256sums = ecc253c82a9346c66e77005680a3f746a2feca7292bbcab0c4357b2757a0d1bf diff --git a/PKGBUILD b/PKGBUILD index c1e894a..0c8b57f 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,13 +1,19 @@ # Maintainer: Yigit Sever + pkgname=python-scrape-schema-recipe _pkgname=scrape-schema-recipe pkgver=0.2.0 -pkgrel=1 +pkgrel=2 pkgdesc="Scrapes food recipes from HTML into Python dictionaries" arch=('any') url="https://github.com/micahcochran/scrape-schema-recipe" license=('Apache') -depends=('python-dataclasses' 'python-extruct' 'python-importlib_resources' 'python-isodate' 'python-requests' 'python-typeshed-git') +depends=('python-dataclasses' + 'python-extruct' + 'python-importlib_resources' + 'python-isodate' + 'python-requests' + 'python-types-requests') makedepends=('python-setuptools') source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz") sha256sums=('ecc253c82a9346c66e77005680a3f746a2feca7292bbcab0c4357b2757a0d1bf') -- cgit v1.2.3-70-g09d2