Gentoo Archives: gentoo-commits

From: Rick Farina <zerochaos@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pynput/
Date: Fri, 22 May 2020 17:23:21
Message-Id: 1590168130.e21822563d82f3b0e2d284e9ce7e29a1c71ac96c.zerochaos@gentoo
1 commit: e21822563d82f3b0e2d284e9ce7e29a1c71ac96c
2 Author: Rick Farina <zerochaos <AT> gentoo <DOT> org>
3 AuthorDate: Fri May 22 16:40:12 2020 +0000
4 Commit: Rick Farina <zerochaos <AT> gentoo <DOT> org>
5 CommitDate: Fri May 22 17:22:10 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2182256
7
8 dev-python/pynput: initial ebuild
9
10 imported from multiple sources and edited a lot
11
12 Package-Manager: Portage-2.3.99, Repoman-2.3.22
13 Signed-off-by: Rick Farina <zerochaos <AT> gentoo.org>
14
15 dev-python/pynput/Manifest | 1 +
16 dev-python/pynput/metadata.xml | 8 ++++++++
17 dev-python/pynput/pynput-1.6.8.ebuild | 34 ++++++++++++++++++++++++++++++++++
18 dev-python/pynput/pynput-9999.ebuild | 34 ++++++++++++++++++++++++++++++++++
19 4 files changed, 77 insertions(+)
20
21 diff --git a/dev-python/pynput/Manifest b/dev-python/pynput/Manifest
22 new file mode 100644
23 index 00000000000..62ccc8a9e58
24 --- /dev/null
25 +++ b/dev-python/pynput/Manifest
26 @@ -0,0 +1 @@
27 +DIST pynput-1.6.8.tar.gz 94483 BLAKE2B c04714fb9cdda9527ed6d3c0e7c25214a7678ee908f1a638023b95c2f63242fa7dc28f193b2055338a9cce10c26399eb4f4af0ec69a6ffaa1be0b7e85481ecc4 SHA512 23cf2e47e0a284aeb2e294529a1f47a01a42bccae146500eee2ff74704cb5ef7ff33327cca5d6ebec338369b1341c489431891d9f034801cc6be9aac2af90442
28
29 diff --git a/dev-python/pynput/metadata.xml b/dev-python/pynput/metadata.xml
30 new file mode 100644
31 index 00000000000..2b9b4266ca5
32 --- /dev/null
33 +++ b/dev-python/pynput/metadata.xml
34 @@ -0,0 +1,8 @@
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 + <email>zerochaos@g.o</email>
40 + <name>Rick Farina</name>
41 + </maintainer>
42 +</pkgmetadata>
43
44 diff --git a/dev-python/pynput/pynput-1.6.8.ebuild b/dev-python/pynput/pynput-1.6.8.ebuild
45 new file mode 100644
46 index 00000000000..a9c4160cc50
47 --- /dev/null
48 +++ b/dev-python/pynput/pynput-1.6.8.ebuild
49 @@ -0,0 +1,34 @@
50 +# Copyright 1999-2020 Gentoo Authors
51 +# Distributed under the terms of the GNU General Public License v2
52 +
53 +EAPI=7
54 +PYTHON_COMPAT=( python3_{6,7,8} pypy )
55 +
56 +inherit distutils-r1
57 +
58 +DESCRIPTION="Sends virtual input commands"
59 +HOMEPAGE="https://github.com/moses-palmer/pynput"
60 +LICENSE="GPL-3"
61 +SLOT="0"
62 +if [ "${PV}" = "9999" ]; then
63 + inherit git-r3
64 + EGIT_REPO_URI="https://github.com/moses-palmer/pynput.git"
65 +else
66 + SRC_URI="https://github.com/moses-palmer/pynput/archive/v${PV}.tar.gz -> ${P}.tar.gz"
67 + KEYWORDS="~amd64 ~x86"
68 +fi
69 +IUSE=""
70 +
71 +RDEPEND="
72 + dev-python/six[${PYTHON_USEDEP}]
73 + dev-python/python-xlib[${PYTHON_USEDEP}]
74 +"
75 +
76 +DEPEND="
77 + dev-python/setuptools[${PYTHON_USEDEP}]
78 +"
79 +
80 +src_prepare(){
81 + sed -i "s/ + SETUP_PACKAGES,/,/g" setup.py
82 + distutils-r1_src_prepare
83 +}
84
85 diff --git a/dev-python/pynput/pynput-9999.ebuild b/dev-python/pynput/pynput-9999.ebuild
86 new file mode 100644
87 index 00000000000..a9c4160cc50
88 --- /dev/null
89 +++ b/dev-python/pynput/pynput-9999.ebuild
90 @@ -0,0 +1,34 @@
91 +# Copyright 1999-2020 Gentoo Authors
92 +# Distributed under the terms of the GNU General Public License v2
93 +
94 +EAPI=7
95 +PYTHON_COMPAT=( python3_{6,7,8} pypy )
96 +
97 +inherit distutils-r1
98 +
99 +DESCRIPTION="Sends virtual input commands"
100 +HOMEPAGE="https://github.com/moses-palmer/pynput"
101 +LICENSE="GPL-3"
102 +SLOT="0"
103 +if [ "${PV}" = "9999" ]; then
104 + inherit git-r3
105 + EGIT_REPO_URI="https://github.com/moses-palmer/pynput.git"
106 +else
107 + SRC_URI="https://github.com/moses-palmer/pynput/archive/v${PV}.tar.gz -> ${P}.tar.gz"
108 + KEYWORDS="~amd64 ~x86"
109 +fi
110 +IUSE=""
111 +
112 +RDEPEND="
113 + dev-python/six[${PYTHON_USEDEP}]
114 + dev-python/python-xlib[${PYTHON_USEDEP}]
115 +"
116 +
117 +DEPEND="
118 + dev-python/setuptools[${PYTHON_USEDEP}]
119 +"
120 +
121 +src_prepare(){
122 + sed -i "s/ + SETUP_PACKAGES,/,/g" setup.py
123 + distutils-r1_src_prepare
124 +}