summaryrefslogtreecommitdiffstats
path: root/python-mf2py/PKGBUILD
blob: a986ca2d5c7546bbdffe754872c1938eb3241e91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Maintainer: Yigit Sever <yigit at yigitsever dot com>

pkgname=python-mf2py
_name=${pkgname#python-}
pkgver=1.1.3
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=('4241e91ed4b644dd666d9fbd2557ed86e5bb7399c196026f7b0a1f413b33f59f')

build() {
  cd "${_name}-${pkgver}"
	python setup.py build
}

package() {
	cd "${_name}-${pkgver}"
	python setup.py install --root="$pkgdir" --optimize=1
}