From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E5B7A139694 for ; Fri, 24 Feb 2017 19:10:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EA293E0C9A; Fri, 24 Feb 2017 19:10:09 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BAFA1E0C9A for ; Fri, 24 Feb 2017 19:10:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E3A2A340EF6 for ; Fri, 24 Feb 2017 19:10:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 49C8B5341 for ; Fri, 24 Feb 2017 19:10:01 +0000 (UTC) From: "Sebastian Pipping" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sebastian Pipping" Message-ID: <1487963344.ed02d0a88cd110d63c6b4d8f3c0a675ad216d151.sping@gentoo> Subject: [gentoo-commits] proj/betagarden:master commit in: app-crypt/wile/, app-crypt/wile/files/ X-VCS-Repository: proj/betagarden X-VCS-Files: app-crypt/wile/files/wile-0.3.1-setup.patch app-crypt/wile/metadata.xml app-crypt/wile/wile-0.3.1.ebuild X-VCS-Directories: app-crypt/wile/ app-crypt/wile/files/ X-VCS-Committer: sping X-VCS-Committer-Name: Sebastian Pipping X-VCS-Revision: ed02d0a88cd110d63c6b4d8f3c0a675ad216d151 X-VCS-Branch: master Date: Fri, 24 Feb 2017 19:10:01 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 031ab2df-6b52-41d6-8c47-285cc8098e81 X-Archives-Hash: 7909c957c0a06fde6845f02c7b2c17f7 commit: ed02d0a88cd110d63c6b4d8f3c0a675ad216d151 Author: Sebastian Pipping gentoo org> AuthorDate: Fri Feb 24 19:08:25 2017 +0000 Commit: Sebastian Pipping gentoo org> CommitDate: Fri Feb 24 19:09:04 2017 +0000 URL: https://gitweb.gentoo.org/proj/betagarden.git/commit/?id=ed02d0a8 app-crypt/wile: 0.3.1 app-crypt/wile/files/wile-0.3.1-setup.patch | 46 +++++++++++++++++++++++++++++ app-crypt/wile/metadata.xml | 7 +++++ app-crypt/wile/wile-0.3.1.ebuild | 32 ++++++++++++++++++++ 3 files changed, 85 insertions(+) diff --git a/app-crypt/wile/files/wile-0.3.1-setup.patch b/app-crypt/wile/files/wile-0.3.1-setup.patch new file mode 100644 index 0000000..76072b4 --- /dev/null +++ b/app-crypt/wile/files/wile-0.3.1-setup.patch @@ -0,0 +1,46 @@ +From 120fbe77e695c39744e4e620e24aa57585f5ee57 Mon Sep 17 00:00:00 2001 +From: Sebastian Pipping +Date: Fri, 24 Feb 2017 19:56:34 +0100 +Subject: [PATCH] Fix "./setup.py build" for when there is no .git around + +--- + setup.py | 13 ++++++++++--- + 1 file changed, 10 insertions(+), 3 deletions(-) + +diff --git a/setup.py b/setup.py +index 3ed03c2..cfce972 100755 +--- a/setup.py ++++ b/setup.py +@@ -1,15 +1,14 @@ + #!/usr/bin/python + import os ++import sys + from setuptools import setup + + + def read(filename): + return open(os.path.join(os.path.dirname(__file__), filename)).read() + +-setup( ++config = dict( + name="wile", +- use_scm_version=True, +- setup_requires=['setuptools_scm'], + author="Leo Antunes", + author_email="leo@costela.net", + description=("A stripped down Let's Encrypt (ACME) client"), +@@ -42,3 +41,11 @@ setup( + 'Topic :: Utilities', + ], + ) ++ ++if 'sdist' in sys.argv: ++ config.update(dict( ++ use_scm_version=True, ++ setup_requires=['setuptools_scm'], ++ )) ++ ++setup(**config) +-- +2.11.1 + diff --git a/app-crypt/wile/metadata.xml b/app-crypt/wile/metadata.xml new file mode 100644 index 0000000..82b7b79 --- /dev/null +++ b/app-crypt/wile/metadata.xml @@ -0,0 +1,7 @@ + + + + + sping@gentoo.org + + diff --git a/app-crypt/wile/wile-0.3.1.ebuild b/app-crypt/wile/wile-0.3.1.ebuild new file mode 100644 index 0000000..31c9514 --- /dev/null +++ b/app-crypt/wile/wile-0.3.1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) +inherit distutils-r1 + +DESCRIPTION="Stripped down letsencrypt (ACME) client" +HOMEPAGE="https://github.com/costela/wile" +SRC_URI="https://github.com/costela/wile/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=" + dev-python/six[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + dev-python/pyopenssl[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + " +RDEPEND="${DEPEND} + >=app-crypt/acme-0.6[${PYTHON_USEDEP}] + dev-python/setuptools_scm[${PYTHON_USEDEP}] + " + +DOCS=( README.md ) + +PATCHES=( "${FILESDIR}"/${P}-setup.patch )