From e9fa87c0bfe4d509909f957b609540e10b722578 Mon Sep 17 00:00:00 2001 From: Johann Schmitz Date: Sun, 28 Dec 2014 09:41:38 +0000 Subject: [PATCH] New ebuild for django-two-factor-auth Package-Manager: portage-2.2.14/cvs/Linux x86_64 Manifest-Sign-Key: 0x77C501ED --- dev-python/django-two-factor-auth/Manifest | 17 +++++++- .../django-two-factor-auth-1.0.0.ebuild | 42 +++++++++++++++++++ .../django-two-factor-auth/metadata.xml | 11 +++++ 3 files changed, 69 insertions(+), 1 deletion(-) create mode 100644 dev-python/django-two-factor-auth/django-two-factor-auth-1.0.0.ebuild create mode 100644 dev-python/django-two-factor-auth/metadata.xml diff --git a/dev-python/django-two-factor-auth/Manifest b/dev-python/django-two-factor-auth/Manifest index 9efa8b78f1bf..be2eece20327 100644 --- a/dev-python/django-two-factor-auth/Manifest +++ b/dev-python/django-two-factor-auth/Manifest @@ -1,3 +1,18 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + DIST django-two-factor-auth-1.0.0.tar.gz 99612 SHA256 54677063beaf1c252a17b004fd52c23e45258d77fb21af5cd7461e12913e3c77 SHA512 ff70c44216c0c82f783c39ca85e57b306f368540f171bd93127d39da63315b836f2bde27ee318d6ee7f7d7d406e0c7abcb63585f98d3effb4580ec8442da1de2 WHIRLPOOL 8026de75a67bdae1dbcc58fb8b6d3342f5b0e0ecc77d0ddc5bc7e853c7907527d82a770b505f1a4d7c09d366f5f640a21de41354b3bd53a226650893538a5882 -EBUILD django-two-factor-auth-1.0.0.ebuild 989 SHA256 46e941ceceb6c209b9a49ac99a14d60417b0c1b7a916d84cafa3d92329df0743 SHA512 1044cfa18bb1ba6219063f2087c04b14ed26b874a3db1b4fb879edc29974a89c28462f835b6be0eeee38652c762b0d6dfdb690ae72367b9e242c21bd9a0751d1 WHIRLPOOL 659f3aa544eb73842767c9f3992de536d0537cceb0c9a2ba6d2263e6ff6069445fd23fc861958f8ab765922ec847bb90e52f19607a0cf8a07f3eac8fb0fa9e43 +EBUILD django-two-factor-auth-1.0.0.ebuild 1119 SHA256 973c0719246bccbe84534429373a11eea580c65f39029e971916e7e21b3f9019 SHA512 2da6837bb70aecf098688482669a999f46a7e723d5db7a2b9e0f097a50b3716221fe974198827a5c8b8a479de849b1b0d8aa46e9cfa2aab50e0847c177684864 WHIRLPOOL 55151f7cf4f648c0dc5371885586343a47365613612eab97f80ff456cbcd5cb407c4de5788eb3e4fd17c76fc99e90ccd784cb7878ebac9e489399bb5caa2d009 +MISC ChangeLog 427 SHA256 8ea690ea5554004b060235846a6421433f52fdab3e63d24d8c7ab301c13d81d2 SHA512 8131b273eda4fc8ac39fbb83beff173414399ca615fc41965ad4684a413bde038be8f8b98c4de764c11edb96d231d78266bcaeb9239c46a1a883d1276dc609a2 WHIRLPOOL e9064b1f6cf872a4ddf604e8d6605af899c7b2b6bc919f4324708d6820fc9075ae0b3897e7b414ad4143021f72653b69ba207d42a681031efd1794e10cba66ad MISC metadata.xml 334 SHA256 76111574b91dafb969162c4c308ca16907337f88f3c64b4a39bcff756d3a8afd SHA512 02cb39774fa47fbb01e10f21d3eec4486b3245c0da78b2bc2cfbd8e32ce95f9ffeece1c79cd19b97cff69f0182967ac50c74437950fd2b47543949e1c759b320 WHIRLPOOL 777752c85eb90608c654656fcca9853a9781e1d82502132ba2c8d2adf7fb1fcef94de36110289489b4f9f19e36f6d469a09a7308487687190b43da46c065e224 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2 + +iQEcBAEBCAAGBQJUn9BQAAoJEKCEBkJ3xQHtMtUIAIlRwHLtmNk1Iwy9NSVFqs8D +/lyoCQYHIkF16ElvWfh29g4LTLQtntROxffEn86iJQlYQ1f93JLdQhu17JwWuyKp +YtVWTv1U1tjyHE4EfFDf2z39xOwLsrOGnymL8ANRA9HWs4KtQEDPXeMTSoMmpKFZ +dDyiYbQQgKxQ15dDFv54iWde6sUzuPG4c850FfamQ7frmj8DWNStzsxwuab7SUuy +zFrLzo5mQz45lJpgHMz+/EOP7Ow+ECtGTLxH66EfFYqHiziCrne4TLmyegzGjxKY +2JG7Ua2w0dwRS79OQ3esQWjLvZLXf4TSEseUrB11iXjA7Cr63/95FlV5R1Sc+EY= +=qu/q +-----END PGP SIGNATURE----- diff --git a/dev-python/django-two-factor-auth/django-two-factor-auth-1.0.0.ebuild b/dev-python/django-two-factor-auth/django-two-factor-auth-1.0.0.ebuild new file mode 100644 index 000000000000..8cc291373b20 --- /dev/null +++ b/dev-python/django-two-factor-auth/django-two-factor-auth-1.0.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/django-two-factor-auth/django-two-factor-auth-1.0.0.ebuild,v 1.1 2014/12/28 09:41:35 ercpe Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_2,3_3,3_4} ) + +inherit eutils distutils-r1 + +DESCRIPTION="User-friendly Two-Factor Authentication for Django" +HOMEPAGE="https://github.com/Bouke/django-two-factor-auth" +SRC_URI="https://github.com/Bouke/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="test yubikey" + +CDEPEND=">=dev-python/django-1.4.2[${PYTHON_USEDEP}] + >=dev-python/django-otp-0.2.0[${PYTHON_USEDEP}] + dev-python/qrcode[${PYTHON_USEDEP}] + dev-python/twilio[${PYTHON_USEDEP}] + yubikey? ( dev-python/django-otp-yubikey[${PYTHON_USEDEP}] ) + " + +RDEPEND="${CDEPEND}" +DEPEND="test? ( + dev-python/flake8[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + ${CDEPEND} + )" + +python_prepare_all() { + distutils-r1_python_prepare_all + sed -i "/'qrcode/s/^/#/" setup.py || die +} + +python_test() { + emake test || die +} diff --git a/dev-python/django-two-factor-auth/metadata.xml b/dev-python/django-two-factor-auth/metadata.xml new file mode 100644 index 000000000000..3b817271f07c --- /dev/null +++ b/dev-python/django-two-factor-auth/metadata.xml @@ -0,0 +1,11 @@ + + + + + ercpe@gentoo.org + Johann Schmitz (ercpe) + + + Adds support for Yubikeys via django-otp-yubikey + + -- 2.26.2