X-Original-To: alpine-aports@mail.alpinelinux.org Delivered-To: alpine-aports@mail.alpinelinux.org Received: from mail.alpinelinux.org (dallas-a1.alpinelinux.org [127.0.0.1]) by mail.alpinelinux.org (Postfix) with ESMTP id 5AC75DCFEBE for ; Mon, 29 Feb 2016 01:55:03 +0000 (UTC) Received: from mail-qk0-f196.google.com (mail-qk0-f196.google.com [209.85.220.196]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 30AA8DCF002 for ; Mon, 29 Feb 2016 01:55:03 +0000 (UTC) Received: by mail-qk0-f196.google.com with SMTP id u128so4878404qkh.1 for ; Sun, 28 Feb 2016 17:55:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=notcows-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=PwWohPhujZu3656XxqcgzcGSYK+sGpIZTWqcNqH7cVE=; b=ltnY8w1Kk8hCMqJLNgtMfQzGCQR2iyEaoBP0pAWioPERdpoSy+9yBqCwi0AaAneQtJ Twx5VL+wIMIwzqhMBDPkMVNWjxJrlTHc91wT/xxihOe1Z7QhvhbW42Vzk5pASlvOWsyT hRrXkWWAZs1V25rtdDGF9H4UQA6LJkXye5riANHrb7VyXjL7B2gOL1xa9GaqjC3Cz7y0 BSVhY6MnOMTVEYVG+FUCsYT+jAOIE9i6UZ39bCnaYiKdPgP3vTqBnsW+rrXD4FbC/4xS PbYBYAhiWjKbJP88ikSriDtmySDxsOX2xn8Q9jZjyx7m1kVVm0T+Vmt008peoIpE36HG c2Aw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=PwWohPhujZu3656XxqcgzcGSYK+sGpIZTWqcNqH7cVE=; b=f8N5VeAKrg6n46G6nqe2PKych11HuakUt96rKLpCjY8Pg0MDaCFNYP5hzNbwzVmWzK iu8T+sI2DYKeV6J7kgVVPzoEzHrkVM3qstkm9xsUe38maE7XINcXkmP8L0Bn+5neNHnZ tS2t1P6BR5pprSsziz5WQd7bQtRixd4piwHyV9H389jyjXfEyzMv5SE28CNWSf/y6pH5 qjWB5zSaauZTScSDoY7okcI//oUqE1s142JrcvfNNVeHdtdYHcP0079fj5sgsKmrxE31 Yp4zd+8zV7y+jngFrsjsZUdMll/4cLtlCH0nNR4vOddg6VOTIWHI2YoFQ5m9/Zhe3wcM VlBA== X-Gm-Message-State: AD7BkJI0B5npQtWwhMbq/qATkQJ8N7E1/hwh4/LZKejyLlwdRRg2v+4raFpIIzGJ/0/+NQ== X-Received: by 10.55.79.86 with SMTP id d83mr16592398qkb.22.1456710902536; Sun, 28 Feb 2016 17:55:02 -0800 (PST) Received: from neuromancer.notcows.com (cpe-65-31-52-161.cinci.res.rr.com. [65.31.52.161]) by smtp.gmail.com with ESMTPSA id o203sm9969472qho.15.2016.02.28.17.55.01 (version=TLS1 cipher=AES128-SHA bits=128/128); Sun, 28 Feb 2016 17:55:02 -0800 (PST) From: "Trevor R.H. Clarke" To: alpine-aports@lists.alpinelinux.org Cc: "Trevor R.H. Clarke" Subject: [alpine-aports] [PATCH 3/6] testing/py-click-plugins: new aport Date: Sun, 28 Feb 2016 20:54:50 -0500 Message-Id: <1456710893-45438-3-git-send-email-trevor@notcows.com> X-Mailer: git-send-email 2.4.3 In-Reply-To: <1456710893-45438-1-git-send-email-trevor@notcows.com> References: <1456710893-45438-1-git-send-email-trevor@notcows.com> X-Virus-Scanned: ClamAV using ClamSMTP X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: https://github.com/click-contrib/click-plugins An extension module for click to enable registering CLI commands via setuptools entry-points. --- testing/py-click-plugins/APKBUILD | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 testing/py-click-plugins/APKBUILD diff --git a/testing/py-click-plugins/APKBUILD b/testing/py-click-plugins/APKBUILD new file mode 100644 index 0000000..f3c89a8 --- /dev/null +++ b/testing/py-click-plugins/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: Trevor R.H. Clarke +# Maintainer: Trevor R.H. Clarke +pkgname=py-click-plugins +pkgver="1.0.3" +pkgrel=0 +pkgdesc="An extension module for click to enable registering CLI commands via setuptools entry-points." +url="https://github.com/click-contrib/click-plugins" +arch="all" +license="BSD" +depends="python py-click" +makedepends="py-pip" +install="" +subpackages="" +source="" + +_builddir="$srcdir" +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" + pip install click-plugins --no-deps --root "$_builddir" +} + +package() { + cd "$_builddir" + mkdir -p "$pkgdir" + cp -r usr "$pkgdir/" +} -- 2.4.3 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---