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-mf2py | 1 - python-mf2py/.SRCINFO | 14 ++++++++++++++ python-mf2py/PKGBUILD | 23 +++++++++++++++++++++++ 3 files changed, 37 insertions(+), 1 deletion(-) delete mode 160000 python-mf2py create mode 100644 python-mf2py/.SRCINFO create mode 100644 python-mf2py/PKGBUILD (limited to 'python-mf2py') diff --git a/python-mf2py b/python-mf2py deleted file mode 160000 index b64ee7d..0000000 --- a/python-mf2py +++ /dev/null @@ -1 +0,0 @@ -Subproject commit b64ee7db9d45e48c4a0a1839072f57261f507a50 diff --git a/python-mf2py/.SRCINFO b/python-mf2py/.SRCINFO new file mode 100644 index 0000000..cf00627 --- /dev/null +++ b/python-mf2py/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = python-mf2py + pkgdesc = Python Microformats2 parser + pkgver = 1.1.2 + pkgrel = 1 + url = https://pypi.org/project/mf2py/ + arch = any + license = MIT + makedepends = python-setuptools + depends = python-beautifulsoup4 + depends = python-requests + source = https://files.pythonhosted.org/packages/source/m/mf2py/mf2py-1.1.2.tar.gz + sha256sums = 84f1f8f2ff3f1deb1c30be497e7ccd805452996a662fd4a77f09e0105bede2c9 + +pkgname = python-mf2py diff --git a/python-mf2py/PKGBUILD b/python-mf2py/PKGBUILD new file mode 100644 index 0000000..d3abde3 --- /dev/null +++ b/python-mf2py/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: Yigit Sever +pkgname=python-mf2py +_name=${pkgname#python-} +pkgver=1.1.2 +pkgrel=1 +pkgdesc="Python Microformats2 parser" +arch=('any') +url="https://pypi.org/project/mf2py/" +license=('MIT') +depends=('python-beautifulsoup4' 'python-requests') +makedepends=('python-setuptools') +source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz") +sha256sums=('84f1f8f2ff3f1deb1c30be497e7ccd805452996a662fd4a77f09e0105bede2c9') + +build() { + cd "${_name}-${pkgver}" + python setup.py build +} + +package() { + cd "${_name}-${pkgver}" + python setup.py install --root="$pkgdir" --optimize=1 +} -- cgit v1.2.3-70-g09d2