Gentoo Archives: gentoo-commits

From: Mikle Kolyada <zlogene@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/magick-rotation/
Date: Sat, 04 Jan 2020 08:52:40
Message-Id: 1578127936.ea9c6b0710e844c4d3f69878bb9962a0095b17f7.zlogene@gentoo
1 commit: ea9c6b0710e844c4d3f69878bb9962a0095b17f7
2 Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 4 08:52:16 2020 +0000
4 Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 4 08:52:16 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea9c6b07
7
8 x11-misc/magick-rotation: remove last-rited pkg
9
10 Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
11
12 x11-misc/magick-rotation/Manifest | 1 -
13 .../magick-rotation-1.6.2-r2.ebuild | 95 ----------------------
14 x11-misc/magick-rotation/metadata.xml | 15 ----
15 3 files changed, 111 deletions(-)
16
17 diff --git a/x11-misc/magick-rotation/Manifest b/x11-misc/magick-rotation/Manifest
18 deleted file mode 100644
19 index 929b0b899b8..00000000000
20 --- a/x11-misc/magick-rotation/Manifest
21 +++ /dev/null
22 @@ -1 +0,0 @@
23 -DIST magick-rotation-1.6.2.tar.bz2 103389 BLAKE2B 9ff85d53d33b381b79fdcb725a663001e583fce46ba36efab561d16f6dcdd50fec7c9d54c1ad9284eae590c2c589622259a5814ffd295a02e6458994ff588c96 SHA512 40252c4b57d304244f8f7a8b08448cb498efd9044406235f2d728a89c8b4888009c4e7a9f50cbb61b5620336eedf1abb1591e68e94a57b051f4d823acbcdff5f
24
25 diff --git a/x11-misc/magick-rotation/magick-rotation-1.6.2-r2.ebuild b/x11-misc/magick-rotation/magick-rotation-1.6.2-r2.ebuild
26 deleted file mode 100644
27 index 43a71929ba5..00000000000
28 --- a/x11-misc/magick-rotation/magick-rotation-1.6.2-r2.ebuild
29 +++ /dev/null
30 @@ -1,95 +0,0 @@
31 -# Copyright 1999-2017 Gentoo Foundation
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=5
35 -
36 -PYTHON_COMPAT=( python2_7 )
37 -PYTHON_REQ_USE="xml"
38 -inherit eutils python-single-r1 toolchain-funcs udev user versionator
39 -
40 -MY_PV=$(get_version_component_range 1-2)
41 -
42 -DESCRIPTION="Application that rotates tablet pc's screen automatically, based on orientation"
43 -HOMEPAGE="https://launchpad.net/magick-rotation"
44 -SRC_URI="https://launchpad.net/magick-rotation/trunk/${MY_PV}/+download/${P}.tar.bz2"
45 -
46 -LICENSE="GPL-2"
47 -SLOT="0"
48 -KEYWORDS="-* ~amd64 ~x86"
49 -
50 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
51 -
52 -DEPEND="${PYTHON_DEPS}
53 - x11-libs/libX11
54 - x11-libs/libXrandr"
55 -
56 -RDEPEND="${DEPEND}
57 - dev-python/pygobject:2[${PYTHON_USEDEP}]
58 - dev-python/pygtk:2[${PYTHON_USEDEP}]
59 - dev-python/py-notify[${PYTHON_USEDEP}]
60 - x11-apps/xinput"
61 -
62 -# there are no tests in package, default 'make check' does wrong things, bug #453672
63 -RESTRICT="test"
64 -
65 -pkg_setup() {
66 - python-single-r1_pkg_setup
67 - enewgroup magick
68 -}
69 -
70 -src_prepare() {
71 - # Remove unneeded files
72 - rm -r apt_* installer_gtk.py MAGICK-INSTALL gset_addkeyval.py MagickIcons/MagickSplash.png MagickUninstall || die 'removing unneeded files failed'
73 -
74 - # Fix Python shebangs
75 - python_fix_shebang "${S}"
76 -
77 - epatch_user
78 -}
79 -
80 -src_compile() {
81 - my_compile() {
82 - echo $(tc-getCC) $*
83 - $(tc-getCC) $* || die 'compilation failed'
84 - }
85 -
86 - local suffix=
87 - if use amd64; then
88 - suffix=64
89 - else
90 - suffix=32
91 - fi
92 - my_compile "${CFLAGS} ${LDFLAGS} check.c -lX11 -lXrandr -o checkmagick${suffix}"
93 -}
94 -
95 -src_install() {
96 - #TODO: add installation of GNOME Shell 3.2 extension
97 - dobin checkmagick*
98 -
99 - udev_dorules 62-magick.rules
100 -
101 - python_moduleinto /usr/share/${PN}
102 - python_domodule *.py
103 -
104 - insinto /usr/share/${PN}/MagickIcons
105 - doins MagickIcons/*.png
106 -
107 - python_scriptinto /usr/share/${PN}
108 - python_doscript magick-rotation xrotate.py
109 -
110 - dodoc *.txt ChangeLog
111 -
112 - make_desktop_entry /usr/share/${PN}/${PN} "Magick Rotation" /usr/share/${PN}/MagickIcons/magick-rotation-enabled.png "System;Utility;"
113 -}
114 -
115 -pkg_postinst() {
116 - echo
117 - elog "In order to use Magick Rotation with an on-screen keyboard and handwriting,"
118 - elog "the following additional package may also be installed for use at run-time:"
119 - elog
120 - optfeature "Magick Rotation's default onscreen keyboard" media-gfx/cellwriter
121 - echo
122 -
123 - ewarn "in order to use Magick Rotation you have to be in the 'magick' group."
124 - ewarn "Just run 'gpasswd -a <USER> magick', then have <USER> re-login."
125 -}
126
127 diff --git a/x11-misc/magick-rotation/metadata.xml b/x11-misc/magick-rotation/metadata.xml
128 deleted file mode 100644
129 index 081d53a12fb..00000000000
130 --- a/x11-misc/magick-rotation/metadata.xml
131 +++ /dev/null
132 @@ -1,15 +0,0 @@
133 -<?xml version="1.0" encoding="UTF-8"?>
134 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
135 -<pkgmetadata>
136 - <maintainer type="person">
137 - <email>evadim@××××××.ru</email>
138 - <name>Vadim Efimov</name>
139 - </maintainer>
140 - <maintainer type="project">
141 - <email>proxy-maint@g.o</email>
142 - <name>Proxy Maintainers</name>
143 - </maintainer>
144 - <upstream>
145 - <remote-id type="launchpad">magick-rotation</remote-id>
146 - </upstream>
147 -</pkgmetadata>