summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYigit Sever2021-09-29 16:56:27 +0300
committerYigit Sever2021-09-29 16:56:27 +0300
commitb64ee7db9d45e48c4a0a1839072f57261f507a50 (patch)
tree605d3b6d97149655b6469e5cfb8f87f4eb8c6249
downloadpackages-b64ee7db9d45e48c4a0a1839072f57261f507a50.tar.gz
packages-b64ee7db9d45e48c4a0a1839072f57261f507a50.tar.bz2
packages-b64ee7db9d45e48c4a0a1839072f57261f507a50.zip
Initial commit 1.1.2
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD23
2 files changed, 37 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 0000000..cf00627
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
1pkgbase = 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
14pkgname = python-mf2py
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 0000000..d3abde3
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,23 @@
1# Maintainer: Yigit Sever <yigit at yigitsever dot com>
2pkgname=python-mf2py
3_name=${pkgname#python-}
4pkgver=1.1.2
5pkgrel=1
6pkgdesc="Python Microformats2 parser"
7arch=('any')
8url="https://pypi.org/project/mf2py/"
9license=('MIT')
10depends=('python-beautifulsoup4' 'python-requests')
11makedepends=('python-setuptools')
12source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
13sha256sums=('84f1f8f2ff3f1deb1c30be497e7ccd805452996a662fd4a77f09e0105bede2c9')
14
15build() {
16 cd "${_name}-${pkgver}"
17 python setup.py build
18}
19
20package() {
21 cd "${_name}-${pkgver}"
22 python setup.py install --root="$pkgdir" --optimize=1
23}