From 31d147b20c67d95a9e306d0749200bf964ac42af Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Fri, 29 Oct 2021 01:30:24 +0300 Subject: Use actual files instead of submodules --- python-scrape-schema-recipe | 1 - python-scrape-schema-recipe/.SRCINFO | 18 ++++++++++++++++++ python-scrape-schema-recipe/PKGBUILD | 23 +++++++++++++++++++++++ 3 files changed, 41 insertions(+), 1 deletion(-) delete mode 160000 python-scrape-schema-recipe create mode 100644 python-scrape-schema-recipe/.SRCINFO create mode 100644 python-scrape-schema-recipe/PKGBUILD (limited to 'python-scrape-schema-recipe') diff --git a/python-scrape-schema-recipe b/python-scrape-schema-recipe deleted file mode 160000 index a25f407..0000000 --- a/python-scrape-schema-recipe +++ /dev/null @@ -1 +0,0 @@ -Subproject commit a25f40767d4589f4ea0c17c8841fde4d38619b86 diff --git a/python-scrape-schema-recipe/.SRCINFO b/python-scrape-schema-recipe/.SRCINFO new file mode 100644 index 0000000..c05e8eb --- /dev/null +++ b/python-scrape-schema-recipe/.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/python-scrape-schema-recipe/PKGBUILD b/python-scrape-schema-recipe/PKGBUILD new file mode 100644 index 0000000..c1e894a --- /dev/null +++ b/python-scrape-schema-recipe/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