Unverified Commit 378d0574 authored by Rejah Rehim's avatar Rejah Rehim
Browse files

testing/py3-multipart: new aport

http://github.com/defnull/multipart
Parser for multipart/form-data
parent 1b15138a
Pipeline #93881 failed with stages
in 1 minute and 23 seconds
# Contributor: Rejah Rehim <rejah@beaglesecurity.com>
# Maintainer: Rejah Rehim <rejah@beaglesecurity.com>
pkgname=py3-multipart
_pkgname=multipart
pkgver=0.2.4
pkgrel=0
pkgdesc="Parser for multipart/form-data."
url="http://github.com/defnull/multipart"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
checkdepends="py3-pytest"
subpackages="$pkgname-doc"
source="https://files.pythonhosted.org/packages/source/m/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver
build() {
python3 setup.py build
}
check() {
python3 -m pytest test
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/"$pkgname"
install -Dm0644 README.rst -t "$pkgdir"/usr/share/doc/"$pkgname"
}
sha512sums="
8df8bad1f68d41e841e407f276745e7cb7352e9fb8c5d43569a7e5c4d8c0ae429e440933017244d01182271a12a6f43a4d15e353b1082df9563cbf9d6eb2c7f6 multipart-0.2.4.tar.gz
"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment