[arch-commits] Commit in python-multipart/trunk (PKGBUILD)
Filipe Laíns
ffy00 at archlinux.org
Tue Aug 11 22:38:47 UTC 2020
Date: Tuesday, August 11, 2020 @ 22:38:47
Author: ffy00
Revision: 675090
upgpkg: python-multipart 0.2.1-1
Added:
python-multipart/trunk/PKGBUILD
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Added: PKGBUILD
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-08-11 22:38:47 UTC (rev 675090)
@@ -0,0 +1,30 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=multipart
+pkgname=python-$_pkgname
+pkgver=0.2.1
+pkgrel=1
+pkgdesc='Parser for multipart/form-data'
+arch=('any')
+url='https://github.com/defnull/multipart'
+license=('MIT')
+depends=('python')
+makedepends=('python-setuptools')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha512sums=('851905cd3f1297fd1e16e6b7f0ccaa38209479c4f7b6a8184c6f7975bb031ec6971155c42846ff260b89c60e5869f29183ace73c073adaf3174f9b44e0c01abc')
+
+build() {
+ cd $_pkgname-$pkgver
+
+ python setup.py build
+}
+
+package() {
+ cd $_pkgname-$pkgver
+
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+ install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list