Gentoo Archives: gentoo-commits

From: Piotr Karbowski <slashbeast@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/ssh2-python/
Date: Mon, 03 May 2021 22:29:01
Message-Id: 1620080935.84d9dd1a124b27173f96ebb40c067deba1352da7.slashbeast@gentoo
1 commit: 84d9dd1a124b27173f96ebb40c067deba1352da7
2 Author: Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 3 22:27:53 2021 +0000
4 Commit: Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
5 CommitDate: Mon May 3 22:28:55 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84d9dd1a
7
8 dev-python/ssh2-python: new package.
9
10 Signed-off-by: Piotr Karbowski <slashbeast <AT> gentoo.org>
11
12 dev-python/ssh2-python/Manifest | 1 +
13 dev-python/ssh2-python/metadata.xml | 12 ++++++++++++
14 dev-python/ssh2-python/ssh2-python-0.26.0.ebuild | 24 ++++++++++++++++++++++++
15 3 files changed, 37 insertions(+)
16
17 diff --git a/dev-python/ssh2-python/Manifest b/dev-python/ssh2-python/Manifest
18 new file mode 100644
19 index 00000000000..5a4bbd6fd4d
20 --- /dev/null
21 +++ b/dev-python/ssh2-python/Manifest
22 @@ -0,0 +1 @@
23 +DIST ssh2-python-0.26.0.tar.gz 1147243 BLAKE2B 56ee98fa8694d6c9e0c163ec0200c96d8330172c0ae4612f40805ac26da02c7cf64fd4dd49841733c36ed7112c62baa036c901a9ef74a33a92a3d8dc66dc27cb SHA512 35f1a5486bc54bf2242d5b1d2fa24bd5365ffa864a8ae0f4a9f8d96f155ba0877e7dafdf87ea9988b146d8a36c203e44ca9a36a83a5060568bf798468e4a8116
24
25 diff --git a/dev-python/ssh2-python/metadata.xml b/dev-python/ssh2-python/metadata.xml
26 new file mode 100644
27 index 00000000000..e796b5cdc6d
28 --- /dev/null
29 +++ b/dev-python/ssh2-python/metadata.xml
30 @@ -0,0 +1,12 @@
31 +<?xml version="1.0" encoding="UTF-8"?>
32 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
33 +<pkgmetadata>
34 + <maintainer type="person">
35 + <email>slashbeast@g.o</email>
36 + <name>Piotr Karbowski</name>
37 + </maintainer>
38 + <upstream>
39 + <remote-id type="github">ParallelSSH/ssh2-python</remote-id>
40 + <remote-id type="pypi">ssh2-python</remote-id>
41 + </upstream>
42 +</pkgmetadata>
43
44 diff --git a/dev-python/ssh2-python/ssh2-python-0.26.0.ebuild b/dev-python/ssh2-python/ssh2-python-0.26.0.ebuild
45 new file mode 100644
46 index 00000000000..c23977ec892
47 --- /dev/null
48 +++ b/dev-python/ssh2-python/ssh2-python-0.26.0.ebuild
49 @@ -0,0 +1,24 @@
50 +# Copyright 1999-2021 Gentoo Authors
51 +# Distributed under the terms of the GNU General Public License v2
52 +
53 +EAPI=7
54 +
55 +PYTHON_COMPAT=( python3_{8..9} )
56 +inherit distutils-r1
57 +
58 +DESCRIPTION="Super fast SSH2 protocol library, Python bindings for libssh2"
59 +HOMEPAGE="https://pypi.org/project/ssh2-python/"
60 +SRC_URI="https://github.com/ParallelSSH/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
61 +
62 +LICENSE="LGPL-2.1"
63 +SLOT="0"
64 +KEYWORDS="~amd64 ~x86"
65 +
66 +DEPEND="
67 + net-libs/libssh2
68 + dev-libs/openssl
69 + sys-libs/zlib
70 +"
71 +python_configure_all() {
72 + export SYSTEM_LIBSSH2=1
73 +}