X-Original-To: alpine-aports@lists.alpinelinux.org Received: from mail.ovgu.de (mail.ovgu.de [141.44.1.66]) by lists.alpinelinux.org (Postfix) with ESMTP id 85BB05C4FBF for ; Mon, 21 May 2018 09:57:10 +0000 (GMT) Received: from mail.ovgu.de (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id C9CE940067 for ; Mon, 21 May 2018 11:57:09 +0200 (CEST) Received: from localhost.localdomain (port-92-195-58-92.dynamic.qsc.de [92.195.58.92]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.ovgu.de (Postfix) with ESMTPSA id 72B9E40060; Mon, 21 May 2018 11:57:09 +0200 (CEST) From: Marian Buschsieweke To: alpine-aports@lists.alpinelinux.org Cc: Marian Buschsieweke Subject: [alpine-aports] [PATCH] testing/py2-backports_functools_lru_cache: New aport Date: Mon, 21 May 2018 11:57:07 +0200 Message-Id: <20180521095707.8884-1-marian.buschsieweke@ovgu.de> X-Mailer: git-send-email 2.17.0 X-PMX-Version: 6.4.3.2751440, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2018.5.21.94817, AntiVirus-Engine: 5.49.1, AntiVirus-Data: 2018.5.21.5491000 X-PMX-Spam: Gauge=IIIIIIII, Probability=8%, Report=' HTML_00_01 0.05, HTML_00_10 0.05, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_1500_1599 0, BODY_SIZE_2000_LESS 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, LEGITIMATE_SIGNS 0, MULTIPLE_REAL_RCPTS 0, RDNS_GENERIC_POOLED 0, RDNS_SUSP 0, RDNS_SUSP_GENERIC 0, URI_WITH_PATH_ONLY 0, __ANY_URI 0, __C230066_P5 0, __CC_NAME 0, __CC_NAME_DIFF_FROM_ACC 0, __CC_REAL_NAMES 0, __CP_URI_IN_BODY 0, __FRAUD_MONEY_CURRENCY 0, __FRAUD_MONEY_CURRENCY_DOLLAR 0, __FROM_DOMAIN_IN_ANY_CC1 0, __FROM_DOMAIN_IN_RCPT 0, __HAS_CC_HDR 0, __HAS_FROM 0, __HAS_MSGID 0, __HAS_X_MAILER 0, __HTTPS_URI 0, __INVOICE_MULTILINGUAL 0, __MIME_TEXT_ONLY 0, __MIME_TEXT_P 0, __MIME_TEXT_P1 0, __MULTIPLE_URI_TEXT 0, __NO_HTML_TAG_RAW 0, __SANE_MSGID 0, __SUBJ_ALPHA_END 0, __TO_MALFORMED_2 0, __TO_NO_NAME 0, __URI_IN_BODY 0, __URI_NOT_IMG 0, __URI_NO_WWW 0, __URI_NS , __URI_WITH_PATH 0' X-Spam-Score: Gauge=IIIIIIII X-PMX-consideredAsSpam: no X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: Backport of functools.lru_cache from Python 3.3 as published at ActiveState https://pypi.org/project/backports.functools_lru_cache/ --- .../APKBUILD | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 testing/py2-backports_functools_lru_cache/APKBUILD diff --git a/testing/py2-backports_functools_lru_cache/APKBUILD b/testing/py2-backports_functools_lru_cache/APKBUILD new file mode 100644 index 0000000000..5fcf669d99 --- /dev/null +++ b/testing/py2-backports_functools_lru_cache/APKBUILD @@ -0,0 +1,29 @@ +# Maintainer: Marian Buschsieweke +pkgname=py2-backports_functools_lru_cache +_pkgname=backports.functools_lru_cache +pkgver=1.5 +pkgrel=0 +pkgdesc="Backport of functools.lru_cache from Python 3.3 as published at ActiveState" +url="https://pypi.org/project/backports.functools_lru_cache/" +arch="noarch" +license="BSD" +makedepends="python2-dev py-setuptools" +source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" +builddir="$srcdir"/$_pkgname-$pkgver + +build() { + cd "$builddir" + python2 setup.py build || return 1 +} + +package() { + cd "$builddir" + python2 setup.py install --prefix=/usr --root="$pkgdir" +} + +check() { + cd "$builddir" + python2 setup.py test +} + +sha512sums="083a69beb050a6de0f838231ceae05cd1825f42310b2cd4f0e53f7ca043af4c699ad7042c32831ee365bb6b374d33189136e45689c77815b99773d145f0ef4f1 backports.functools_lru_cache-1.5.tar.gz" -- 2.17.0 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---