Received: from out.migadu.com (out.migadu.com [91.121.223.63]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 72F26782B28 for ; Mon, 9 Dec 2019 16:43:40 +0000 (UTC) Received: (Migadu outbound); Mon, 09 Dec 2019 16:43:40 +0000 Authentication-Results: out.migadu.com; auth=pass (plain) Received: from loki.galenabell.com (24-181-218-135.dhcp.hckr.nc.charter.com [24.181.218.135]) by out.migadu.com (Haraka/2.8.16) with ESMTPSA id DEC43C1C-63E0-4336-974F-57A5EF9A924C.1 envelope-from (authenticated bits=0) (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 verify=FAIL); Mon, 09 Dec 2019 16:43:39 +0000 From: Galen Abell To: alpine-aports@lists.alpinelinux.org Cc: Galen Abell Subject: [PATCH] testing/py3-requests-file: new aport Date: Mon, 9 Dec 2019 17:43:34 +0100 Message-Id: <20191209164334.16492-1-galen@galenabell.com> X-Mailer: git-send-email 2.24.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit DKIM-Signature: v=1;a=rsa-sha256;bh=jl2jUhKmRyF4jWLI/Tl7p8JeuD7BiVKfCw2NWo+cfW8=;c=relaxed/simple;d=galenabell.com;h=from:subject:date:to;s=default;b=gk8zKcDyDfMHo5mEkYm51E4CGaKG5V/bP/wpXawzlXYMy7kDoGzhbIERQ8/kjEadDm1unWvyoZp3JxC6mOKTNCjzMkFrqjthIxwctYD7soPHntdV2t2MAc0Q5Q26v/qUmQHZQgT3jeTCF97E88W4zwRLpilk1bxneRDy7cTrwa4= https://github.com/dashea/requests-file Transport adapter for fetching file:// URLs with the requests python library testing/ --- testing/py3-requests-file/APKBUILD | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 testing/py3-requests-file/APKBUILD diff --git a/testing/py3-requests-file/APKBUILD b/testing/py3-requests-file/APKBUILD new file mode 100644 index 0000000000..6bf01cac70 --- /dev/null +++ b/testing/py3-requests-file/APKBUILD @@ -0,0 +1,27 @@ +# Contributor: Galen Abell +# Maintainer: Galen Abell +pkgname="py3-requests-file" +_pyname="requests-file" +pkgver="1.4.3" +pkgrel=0 +pkgdesc="Transport adapter for fetching file:// URLs with the requests python library" +url="https://github.com/dashea/requests-file" +arch="noarch" +license="Apache-2.0" +depends="python3" +makedepends="py3-setuptools" +source="$_pyname-$pkgver.tar.gz::https://github.com/dashea/requests-file/archive/$pkgver.tar.gz" +builddir="$srcdir/$_pyname-$pkgver" + +build() { + python3 setup.py build +} + +check() { + python3 setup.py test +} + +package() { + python3 setup.py install --prefix=/usr --root="$pkgdir" +} +sha512sums="30998998513ce9f21cdc37b9174f8236887aa2a40789f70f6fbfd7977059acad2edcf06e3db112f8ee59fdc9536174898229e926f680021232a16482d1a932b5 requests-file-1.4.3.tar.gz" -- 2.24.0