commit:     9ec3df126b29064c9283862565030c4002e98949
Author:     Gokturk Yuksek <gokturk <AT> binghamton <DOT> edu>
AuthorDate: Sun Dec 27 09:03:00 2015 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Sun Dec 27 09:23:42 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ec3df12

app-crypt/yubikey-neo-manager: bump to version 1.4.0

Main changes are:
- Remove dependency on nose. See upstream commit a5aa5b0.
- docutils isn't utilized by the ebuild, drop the dependency.
- Rename resource locations for the manpage and icons
- Patch setup.py to not depend on PySide

Package-Manager: portage-2.2.24

 app-crypt/yubikey-neo-manager/Manifest             |  1 +
 ...ubikey-neo-manager-fix-pyside-requirement.patch | 17 ++++++++
 .../yubikey-neo-manager-1.4.0.ebuild               | 49 ++++++++++++++++++++++
 3 files changed, 67 insertions(+)

diff --git a/app-crypt/yubikey-neo-manager/Manifest 
b/app-crypt/yubikey-neo-manager/Manifest
index c8e21df..79f3af7 100644
--- a/app-crypt/yubikey-neo-manager/Manifest
+++ b/app-crypt/yubikey-neo-manager/Manifest
@@ -1,3 +1,4 @@
 DIST yubikey-neo-manager-1.1.0.tar.gz 119986 SHA256 
eb8cc90bf4818feffe360d6330ebafa47452a1ce9c14900e13fcdd4cb921c837 SHA512 
ee1bff88946be85cd3127a92deceb826b8bd35da76d3356993e1a369cb9119d6267a708a0023afeb185adcb1e4cdbaaa1c8983fd0cac32c51a4ece81840e8553
 WHIRLPOOL 
a7123760c51333af30343b5dcff56398754aa4c214afdba75473d7555983aff9988d1ba0db5c12314170b0a810ed5d609cd3736258101198ab3b417133cd9957
 DIST yubikey-neo-manager-1.2.1.tar.gz 120802 SHA256 
b09e59576dd6cb664966e4848854f728b8162ae74d35f87825d9a8bff07f018a SHA512 
37b4807419803bb303b88b185293b49d5475c51d564614636ca1ead0c06efdb0ec867dac8de8b0030ab1ea85a726676bb63abdcc352428cb5a18068556a3b1b8
 WHIRLPOOL 
e4a4e32d2d94dae0cf02abaff4bc9c2d281bc6bdf21d9dea76c2d6c05052a6a6bffc2955ee912bc5adb6ae070af3b10216691bfd9764b6895df7a3dedadb780b
 DIST yubikey-neo-manager-1.3.0.tar.gz 121242 SHA256 
d8dba9ec6ee885af17b6c6b6b88fdd5df7b994cbee64946253a43713b12075c6 SHA512 
fc5690d73fdc8cd1119c1c693bf31fd0b0f7145fa04af437d84e2f0f513798a88d44e80179d6b02f7641f61a9a1fd27d909518dfa1d881cc9ffb19cd5ad7c398
 WHIRLPOOL 
9c09bf133bb04926453ca05f41ca4d0825874b7320f2990743caa110330775cceb3049f7181788f1bbf2fae996e6c98df50760b9e8a5e7714a6c965bfb0013bd
+DIST yubikey-neo-manager-1.4.0.tar.gz 128002 SHA256 
2fb8fc72982a8158379d2ac46802d26eb288bed09e33fe78df0a4c7844df5dc7 SHA512 
a20d8168e38a1f55c140da9bd4c6c001a70f4f977edf8625475497aedd55d082a8ef0bfedb5c61350ac5658a3d0a086edf42743be9e960b2b5898d6925b416dc
 WHIRLPOOL 
f9caf73499f95f989e20e2b9e1525ca7f18ac28275b27a555e3839e238ace1cc26ee1bcf4d970b00b2ab6e814885ee42399b93bbf840f320578b66be3e7b1a92

diff --git 
a/app-crypt/yubikey-neo-manager/files/yubikey-neo-manager-fix-pyside-requirement.patch
 
b/app-crypt/yubikey-neo-manager/files/yubikey-neo-manager-fix-pyside-requirement.patch
new file mode 100644
index 0000000..d11a3a1
--- /dev/null
+++ 
b/app-crypt/yubikey-neo-manager/files/yubikey-neo-manager-fix-pyside-requirement.patch
@@ -0,0 +1,17 @@
+Description: Remove PySide requirement, since python-pyside does not register 
itself correctly
+Author: Dain Nilsson <d...@yubico.com>
+Forwarded: no
+--- a/setup.py
++++ b/setup.py
+@@ -44,8 +44,9 @@
+     entry_points={
+         'gui_scripts': ['neoman=neoman.__main__:main']
+     },
+-    install_requires=['PySide', 'pycrypto'],
+-    yc_requires=['ctypes', 'qt'],
++    install_requires=['pycrypto'],
++    yc_requires=['ctypes'],
++    packages=['neoman', 'neoman.model', 'neoman.view', 'neoman.yubicommon', 
'neoman.yubicommon.setup', 'neoman.yubicommon.ctypes', 'neoman.yubicommon.qt'],
+     cmdclass={'executable': executable, 'qt_resources': 
qt_resources('neoman')},
+     classifiers=[
+         'License :: OSI Approved :: BSD License',

diff --git a/app-crypt/yubikey-neo-manager/yubikey-neo-manager-1.4.0.ebuild 
b/app-crypt/yubikey-neo-manager/yubikey-neo-manager-1.4.0.ebuild
new file mode 100644
index 0000000..4a871db
--- /dev/null
+++ b/app-crypt/yubikey-neo-manager/yubikey-neo-manager-1.4.0.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1
+
+DESCRIPTION="Cross platform personalization tool for the YubiKey NEO"
+HOMEPAGE="https://developers.yubico.com/yubikey-neo-manager/";
+SRC_URI="
+       mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
+       https://developers.yubico.com/${PN}/Releases/${P}.tar.gz";
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+CDEPEND="
+       dev-python/pyside[webkit,${PYTHON_USEDEP}]
+       dev-python/pycrypto[${PYTHON_USEDEP}]
+       app-crypt/libu2f-host
+       app-crypt/libykneomgr
+       sys-auth/ykpers"
+
+DEPEND="
+       dev-python/setuptools[${PYTHON_USEDEP}]
+       ${CDEPEND}"
+
+RDEPEND="${CDEPEND}"
+
+PATCHES=(
+       # PySide does not distribute egg-info, so remove it from deps
+       "${FILESDIR}"/${PN}-fix-pyside-requirement.patch
+)
+
+DOCS=( NEWS README )
+
+python_install_all() {
+       distutils-r1_python_install_all
+
+       doman man/neoman.1
+       domenu resources/neoman.desktop
+       doicon resources/neoman.xpm
+       newicon -s 128 resources/yubikey-neo-manager.png neoman.png
+}

Reply via email to