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