summaryrefslogtreecommitdiffstats
path: root/python-mf2py/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'python-mf2py/PKGBUILD')
-rw-r--r--python-mf2py/PKGBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/python-mf2py/PKGBUILD b/python-mf2py/PKGBUILD
new file mode 100644
index 0000000..70e49a1
--- /dev/null
+++ b/python-mf2py/PKGBUILD
@@ -0,0 +1,24 @@
1# Maintainer: Yigit Sever <yigit at yigitsever dot com>
2
3pkgname=python-mf2py
4_name=${pkgname#python-}
5pkgver=2.0.1
6pkgrel=1
7pkgdesc="Python Microformats2 parser"
8arch=('any')
9url="https://pypi.org/project/mf2py/"
10license=('MIT')
11depends=('python-beautifulsoup4' 'python-requests')
12makedepends=('python-setuptools')
13source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
14sha256sums=('1380924633413b8d72e704b5c86b4382c4b1371699edecc907b01cd21138d7cd')
15
16build() {
17 cd "${_name}-${pkgver}"
18 python setup.py build
19}
20
21package() {
22 cd "${_name}-${pkgver}"
23 python setup.py install --root="$pkgdir" --optimize=1
24}