Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/pwman3/
Date: Thu, 13 Sep 2018 07:55:59
Message-Id: 1536825349.0c00ea7bd29da6482b3867c5ed0c7cfe2d7e9a8e.mgorny@gentoo
1 commit: 0c00ea7bd29da6482b3867c5ed0c7cfe2d7e9a8e
2 Author: Oz N Tiram <oz.tiram <AT> gmail <DOT> com>
3 AuthorDate: Wed Sep 5 12:11:56 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 13 07:55:49 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c00ea7b
7
8 app-admin/pwman3: new package
9
10 Pwman3 is a lightweight password-manager with multiple database
11 backends. Pwman3 is written in Python.
12
13 Package-Manager: Portage-2.3.40, Repoman-2.3.9
14 Closes: https://github.com/gentoo/gentoo/pull/9375
15
16 app-admin/pwman3/Manifest | 1 +
17 app-admin/pwman3/metadata.xml | 27 +++++++++++++++++++++++++
18 app-admin/pwman3/pwman3-0.9.11.ebuild | 38 +++++++++++++++++++++++++++++++++++
19 3 files changed, 66 insertions(+)
20
21 diff --git a/app-admin/pwman3/Manifest b/app-admin/pwman3/Manifest
22 new file mode 100644
23 index 00000000000..66153c9bb7b
24 --- /dev/null
25 +++ b/app-admin/pwman3/Manifest
26 @@ -0,0 +1 @@
27 +DIST pwman3-0.9.11.tar.gz 74364 BLAKE2B 9544b692e8853b7fb8e1b4d51093e72e04f8d82888a9278c94aaa27716026b348bb16f0fa9c52af2144395a4ffb242c8a48fc34252890e68477d2e3a70ea4a88 SHA512 2aa5a7b4d810d1bbc6aea34b728f89190570cbfbedc33f45cc1aa4d737ebbb9e993d2d372b44f956d5cdbc07f911f289fd77d7df167100e820455650f5b3e46a
28
29 diff --git a/app-admin/pwman3/metadata.xml b/app-admin/pwman3/metadata.xml
30 new file mode 100644
31 index 00000000000..9bb7c286611
32 --- /dev/null
33 +++ b/app-admin/pwman3/metadata.xml
34 @@ -0,0 +1,27 @@
35 +<?xml version="1.0" encoding="UTF-8"?>
36 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
37 +<pkgmetadata>
38 +<maintainer type="person">
39 + <name>Oz Tiram</name>
40 + <email>oz.tiram@×××××.com</email>
41 +</maintainer>
42 +<maintainer type="project">
43 + <email>proxy-maint@g.o</email>
44 + <name>Proxy Maintainers</name>
45 +</maintainer>
46 +<use>
47 + <flag name="mongodb">Add support for MongoDB</flag>
48 +</use>
49 +<longdescription lang="en">
50 + A lightweight command line password manager, which can use different
51 + databases to store your passwords (currently, SQLite, MySQL, Postgresql
52 + and MongoDB are supported). Pwman3 can also copy passwords to the
53 + clipboard without exposing them. Besides managing and storing passwords,
54 + Pwman3 can also generate passwords using different algorithms.
55 + Per default pwman3 uses a strong AES encryption algorithm to store the
56 + data.
57 +</longdescription>
58 +<upstream>
59 + <remote-id type="github">pwman3/pwman3</remote-id>
60 +</upstream>
61 +</pkgmetadata>
62
63 diff --git a/app-admin/pwman3/pwman3-0.9.11.ebuild b/app-admin/pwman3/pwman3-0.9.11.ebuild
64 new file mode 100644
65 index 00000000000..6fb41c3843e
66 --- /dev/null
67 +++ b/app-admin/pwman3/pwman3-0.9.11.ebuild
68 @@ -0,0 +1,38 @@
69 +# Copyright 1999-2018 Gentoo Foundation
70 +# Distributed under the terms of the GNU General Public License v2
71 +
72 +EAPI=6
73 +
74 +PYTHON_COMPAT=( python3_5 python3_6 )
75 +PYTHON_REQ_USE="sqlite?"
76 +inherit distutils-r1
77 +
78 +DESCRIPTION="A lightweight password-manager with multiple database backends"
79 +HOMEPAGE="https://pwman3.github.io"
80 +SRC_URI="https://github.com/pwman3/pwman3/archive/v${PV}.tar.gz -> ${P}.tar.gz"
81 +
82 +LICENSE="GPL-2"
83 +SLOT="0"
84 +KEYWORDS="~amd64"
85 +IUSE="mongodb mysql postgres +sqlite test"
86 +
87 +COMMON="
88 + >=dev-python/cryptography-2.3[${PYTHON_USEDEP}]
89 + >=dev-python/colorama-0.3.0[${PYTHON_USEDEP}]
90 + "
91 +
92 +DEPEND="
93 + ${COMMON}
94 + test? ( dev-python/pexpect[${PYTHON_USEDEP}] )
95 + "
96 +
97 +RDEPEND="
98 + ${COMMON}
99 + mongodb? ( dev-python/pymongo[${PYTHON_USEDEP}] )
100 + mysql? ( dev-python/pymysql[${PYTHON_USEDEP}] )
101 + postgres? ( dev-python/psycopg[${PYTHON_USEDEP}] )
102 + "
103 +
104 +python_test() {
105 + esetup.py test
106 +}