diff options
author | Yigit Sever | 2023-06-08 01:29:22 +0300 |
---|---|---|
committer | Yigit Sever | 2023-06-08 01:29:22 +0300 |
commit | e1330085a1fdf4e35286118aad0cd44abeb3520e (patch) | |
tree | a6bedb5771c1983e8232da6e57ecf38583f1a212 /python-mf2py | |
parent | 9a1fe2ee6e9a49c670cafa2ac98d20ca16ba7a00 (diff) | |
parent | b64ee7db9d45e48c4a0a1839072f57261f507a50 (diff) | |
download | packages-e1330085a1fdf4e35286118aad0cd44abeb3520e.tar.gz packages-e1330085a1fdf4e35286118aad0cd44abeb3520e.tar.bz2 packages-e1330085a1fdf4e35286118aad0cd44abeb3520e.zip |
Add 'python-mf2py/' from commit 'b64ee7db9d45e48c4a0a1839072f57261f507a50'
git-subtree-dir: python-mf2py
git-subtree-mainline: 9a1fe2ee6e9a49c670cafa2ac98d20ca16ba7a00
git-subtree-split: b64ee7db9d45e48c4a0a1839072f57261f507a50
Diffstat (limited to 'python-mf2py')
-rw-r--r-- | python-mf2py/.SRCINFO | 14 | ||||
-rw-r--r-- | python-mf2py/PKGBUILD | 23 |
2 files changed, 37 insertions, 0 deletions
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 @@ | |||
1 | pkgbase = python-mf2py | ||
2 | pkgdesc = Python Microformats2 parser | ||
3 | pkgver = 1.1.2 | ||
4 | pkgrel = 1 | ||
5 | url = https://pypi.org/project/mf2py/ | ||
6 | arch = any | ||
7 | license = MIT | ||
8 | makedepends = python-setuptools | ||
9 | depends = python-beautifulsoup4 | ||
10 | depends = python-requests | ||
11 | source = https://files.pythonhosted.org/packages/source/m/mf2py/mf2py-1.1.2.tar.gz | ||
12 | sha256sums = 84f1f8f2ff3f1deb1c30be497e7ccd805452996a662fd4a77f09e0105bede2c9 | ||
13 | |||
14 | 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 @@ | |||
1 | # Maintainer: Yigit Sever <yigit at yigitsever dot com> | ||
2 | pkgname=python-mf2py | ||
3 | _name=${pkgname#python-} | ||
4 | pkgver=1.1.2 | ||
5 | pkgrel=1 | ||
6 | pkgdesc="Python Microformats2 parser" | ||
7 | arch=('any') | ||
8 | url="https://pypi.org/project/mf2py/" | ||
9 | license=('MIT') | ||
10 | depends=('python-beautifulsoup4' 'python-requests') | ||
11 | makedepends=('python-setuptools') | ||
12 | source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz") | ||
13 | sha256sums=('84f1f8f2ff3f1deb1c30be497e7ccd805452996a662fd4a77f09e0105bede2c9') | ||
14 | |||
15 | build() { | ||
16 | cd "${_name}-${pkgver}" | ||
17 | python setup.py build | ||
18 | } | ||
19 | |||
20 | package() { | ||
21 | cd "${_name}-${pkgver}" | ||
22 | python setup.py install --root="$pkgdir" --optimize=1 | ||
23 | } | ||