From 6264be5b404f9828b3721893732c6a1906fc9395 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Mon, 10 Jan 2022 03:31:47 +0300 Subject: python-types-requests: publish to aur --- python-types-requests/.SRCINFO | 13 +++++++++++++ python-types-requests/PKGBUILD | 24 ++++++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 python-types-requests/.SRCINFO create mode 100644 python-types-requests/PKGBUILD diff --git a/python-types-requests/.SRCINFO b/python-types-requests/.SRCINFO new file mode 100644 index 0000000..10d5377 --- /dev/null +++ b/python-types-requests/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = python-types-requests + pkgdesc = Typing stubs for requests + pkgver = 2.27.3 + pkgrel = 1 + url = https://pypi.org/project/types-requests/ + arch = any + license = Apache + makedepends = python-setuptools + depends = python + source = https://files.pythonhosted.org/packages/source/t/types-requests/types-requests-2.27.3.tar.gz + sha256sums = 9fe61821910eb5b33bc774165d0c8fbdf933902ef57b0d5040f96b59bc428efa + +pkgname = python-types-requests diff --git a/python-types-requests/PKGBUILD b/python-types-requests/PKGBUILD new file mode 100644 index 0000000..8ebc9ee --- /dev/null +++ b/python-types-requests/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Yigit Sever + +pkgname=python-types-requests +_name=${pkgname#python-} +pkgver=2.27.3 +pkgrel=1 +pkgdesc="Typing stubs for requests" +arch=('any') +url="https://pypi.org/project/types-requests/" +license=('Apache') +depends=('python') +makedepends=('python-setuptools') +source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz") +sha256sums=('9fe61821910eb5b33bc774165d0c8fbdf933902ef57b0d5040f96b59bc428efa') + +build() { + cd "$_name-$pkgver" + python setup.py build +} + +package() { + cd "$_name-$pkgver" + python setup.py install --root="$pkgdir" --optimize=1 --skip-build +} -- cgit v1.2.3-70-g09d2