X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from mail-ig0-f181.google.com (mail-ig0-f181.google.com [209.85.213.181]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 91E71DC0099 for ; Sun, 24 Aug 2014 06:38:41 +0000 (UTC) Received: by mail-ig0-f181.google.com with SMTP id h3so1463528igd.14 for ; Sat, 23 Aug 2014 23:38:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:in-reply-to:references; bh=Ng7sy0Uogr/LTPmU+LOOPjPJzzOBrPoYnE55EbP8/zk=; b=rJalux+eY5d9PcTnd3v+lH7w8ODHzt/7myhQmf8ocG2GY/1dlnLYk9j/11z/64hLu4 XxMn96jKfI9A3GFI3ScQU8T2a7PGtj6Rw9I53BMfEePJiMMmEbJZ4ub5jRmaKC3wZva8 Ns9HUd7r/q6yEkjqhW5SiKH2RnyP7nPJtlQyPmaHvM8KR7nx7lDBWkRjdUJMUUH+8Cwm 0H9R13zvStd0L/C/GiDWwniTe9wa5SCGaaqS5jzkC4ClOTxXw8JckMyNmiMcbDb2uMse TlFQCAcmKKDxRkFGy58WMu3MKXebEJyiANss8FQ2Oq69Kn5UBlr/AVqkVj1Fj9hca9qG u3FA== X-Received: by 10.50.56.38 with SMTP id x6mr8090674igp.30.1408862320970; Sat, 23 Aug 2014 23:38:40 -0700 (PDT) Received: from localhost.localdomain (97-90-234-80.dhcp.eucl.wi.charter.com. [97.90.234.80]) by mx.google.com with ESMTPSA id jg9sm20855982igb.6.2014.08.23.23.38.39 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 23 Aug 2014 23:38:40 -0700 (PDT) From: Peter Bui To: alpine-devel@lists.alpinelinux.org Subject: [alpine-devel] [PATCH 1/3] testing/py-backports.ssl_match_hostname: new aport Date: Sun, 24 Aug 2014 01:38:00 -0500 Message-Id: <1408862282-31199-2-git-send-email-pnutzh4x0r@gmail.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1408862282-31199-1-git-send-email-pnutzh4x0r@gmail.com> References: <1408862282-31199-1-git-send-email-pnutzh4x0r@gmail.com> X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: https://bitbucket.org/brandon/backports.ssl_match_hostname The ssl.match_hostname() function from Python 3.4 (required for Tornadoweb) --- testing/py-backports.ssl_match_hostname/APKBUILD | 41 ++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 testing/py-backports.ssl_match_hostname/APKBUILD diff --git a/testing/py-backports.ssl_match_hostname/APKBUILD b/testing/py-backports.ssl_match_hostname/APKBUILD new file mode 100644 index 0000000..de504da --- /dev/null +++ b/testing/py-backports.ssl_match_hostname/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Peter Bui +# Maintainer: +pkgname=py-backports.ssl_match_hostname +_pkgname=backports.ssl_match_hostname +pkgver=3.4.0.2 +pkgrel=0 +pkgdesc="The ssl.match_hostname() function from Python 3.4" +url="https://bitbucket.org/brandon/backports.ssl_match_hostname" +arch="noarch" +license="PSF" +depends="python" +depends_dev="py-setuptools" +makedepends="$depends_dev" +install="" +subpackages="" +source="https://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-${pkgver}.tar.gz" + +_builddir="$srcdir"/$_pkgname-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + python setup.py build || return 1 +} + +package() { + cd "$_builddir" + python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 || return 1 +} + +md5sums="788214f20214c64631f0859dc79f23c6 backports.ssl_match_hostname-3.4.0.2.tar.gz" +sha256sums="07410e7fb09aab7bdaf5e618de66c3dac84e2e3d628352814dc4c37de321d6ae backports.ssl_match_hostname-3.4.0.2.tar.gz" +sha512sums="7e6033afbb5298a5eaafe91c3e2f7ba583706977826cc9441c9926a81b945714be95963f0261f88f4cb5df56673ca231e528cecbe84dff9e422fd11819842985 backports.ssl_match_hostname-3.4.0.2.tar.gz" -- 2.1.0 --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---