public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: x11-misc/magick-rotation/
@ 2015-09-12 10:23 Justin Lecher
  0 siblings, 0 replies; 5+ messages in thread
From: Justin Lecher @ 2015-09-12 10:23 UTC (permalink / raw
  To: gentoo-commits

commit:     5bcddae13e34a43b058a294054c04d1bd39ad670
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 12 10:15:34 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat Sep 12 10:23:53 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bcddae1

x11-misc/magick-rotation: Use optfeature from eutils.eclass

Add missing PYTHON_REQUIRED_USE

Package-Manager: portage-2.2.20
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 .../magick-rotation/magick-rotation-1.6.2-r1.ebuild  | 20 +++++++++-----------
 1 file changed, 9 insertions(+), 11 deletions(-)

diff --git a/x11-misc/magick-rotation/magick-rotation-1.6.2-r1.ebuild b/x11-misc/magick-rotation/magick-rotation-1.6.2-r1.ebuild
index 5b85aa5..055e1d2 100644
--- a/x11-misc/magick-rotation/magick-rotation-1.6.2-r1.ebuild
+++ b/x11-misc/magick-rotation/magick-rotation-1.6.2-r1.ebuild
@@ -18,6 +18,8 @@ LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="-* ~amd64 ~x86"
 
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
 DEPEND="${PYTHON_DEPS}
 	x11-libs/libX11
 	x11-libs/libXrandr"
@@ -68,14 +70,14 @@ src_install() {
 	udev_dorules 62-magick.rules
 
 	insinto	/usr/share/${PN}
-	doins	*.py
+	doins *.py
 
 	insinto	/usr/share/${PN}/MagickIcons
-	doins	MagickIcons/*.png
+	doins MagickIcons/*.png
 
 	exeinto /usr/share/${PN}
-	doexe	magick-rotation
-	doexe	xrotate.py
+	doexe magick-rotation
+	doexe xrotate.py
 
 	dodoc *.txt ChangeLog
 
@@ -83,16 +85,12 @@ src_install() {
 }
 
 pkg_postinst() {
-	optfeature() {
-		elog "  [\e[1m$(has_version ${1} && echo I || echo ' ')\e[0m] ${1} (${2})"
-	}
-
-	elog
+	echo
 	elog "In order to use Magick Rotation with an on-screen keyboard and handwriting,"
 	elog "the following additional package may also be installed for use at run-time:"
 	elog
-	optfeature 'media-gfx/cellwriter' "Magick Rotation's default onscreen keyboard"
-	elog
+	optfeature "Magick Rotation's default onscreen keyboard" media-gfx/cellwriter
+	echo
 
 	ewarn "in order to use Magick Rotation you have to be in the 'magick' group."
 	ewarn "Just run 'gpasswd -a <USER> magick', then have <USER> re-login."


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: x11-misc/magick-rotation/
@ 2015-09-12 10:29 Justin Lecher
  0 siblings, 0 replies; 5+ messages in thread
From: Justin Lecher @ 2015-09-12 10:29 UTC (permalink / raw
  To: gentoo-commits

commit:     c3c197fb74f6d9b8add782498435f0f1541777e9
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 12 10:29:29 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat Sep 12 10:29:46 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3c197fb

x11-misc/magick-rotation: Properly use python eclasses

Package-Manager: portage-2.2.20.1
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 ...tion-1.6.2-r1.ebuild => magick-rotation-1.6.2-r2.ebuild} | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/x11-misc/magick-rotation/magick-rotation-1.6.2-r1.ebuild b/x11-misc/magick-rotation/magick-rotation-1.6.2-r2.ebuild
similarity index 91%
rename from x11-misc/magick-rotation/magick-rotation-1.6.2-r1.ebuild
rename to x11-misc/magick-rotation/magick-rotation-1.6.2-r2.ebuild
index 055e1d2..b49a3fd 100644
--- a/x11-misc/magick-rotation/magick-rotation-1.6.2-r1.ebuild
+++ b/x11-misc/magick-rotation/magick-rotation-1.6.2-r2.ebuild
@@ -65,19 +65,18 @@ src_compile() {
 
 src_install() {
 	#TODO: add installation of GNOME Shell 3.2 extension
-	dobin	checkmagick*
+	dobin checkmagick*
 
 	udev_dorules 62-magick.rules
 
-	insinto	/usr/share/${PN}
-	doins *.py
+	python_moduleinto /usr/share/${PN}
+	python_domodule *.py
 
-	insinto	/usr/share/${PN}/MagickIcons
+	insinto /usr/share/${PN}/MagickIcons
 	doins MagickIcons/*.png
 
-	exeinto /usr/share/${PN}
-	doexe magick-rotation
-	doexe xrotate.py
+	python_scriptinto /usr/share/${PN}
+	python_doscript magick-rotation xrotate.py
 
 	dodoc *.txt ChangeLog
 


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: x11-misc/magick-rotation/
@ 2018-02-11 11:36 Michał Górny
  0 siblings, 0 replies; 5+ messages in thread
From: Michał Górny @ 2018-02-11 11:36 UTC (permalink / raw
  To: gentoo-commits

commit:     62a1dc5fc2323eb9c801b37a83ea71ce6465a936
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 11 11:21:27 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Feb 11 11:36:36 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62a1dc5f

x11-misc/magick-rotation: Remove useless maintainer <description/>

Remove useless/redundant maintainer <description/>. It does not benefit
bug wrangling, and only wastes developer's time on reading it. Few tips:

- assignee/CC is implied by ordering, there is no reason to repeat it,
- we know that maintainer is maintainer (la la la la la),
- most of adjectives for maintainer are of no value and/or are obvious.

 x11-misc/magick-rotation/metadata.xml | 2 --
 1 file changed, 2 deletions(-)

diff --git a/x11-misc/magick-rotation/metadata.xml b/x11-misc/magick-rotation/metadata.xml
index 48d91f8744d..1229d82cefa 100644
--- a/x11-misc/magick-rotation/metadata.xml
+++ b/x11-misc/magick-rotation/metadata.xml
@@ -4,12 +4,10 @@
 	<maintainer type="person">
 		<email>evadim@evadim.ru</email>
 		<name>Vadim Efimov</name>
-		<description>Maintainer. Assign bugs to him</description>
 	</maintainer>
 	<maintainer type="person">
 		<email>pinkbyte@gentoo.org</email>
 		<name>Sergey Popov</name>
-		<description>Proxy maintainer. CC him on bugs</description>
 	</maintainer>
 	<maintainer type="project">
 		<email>proxy-maint@gentoo.org</email>


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: x11-misc/magick-rotation/
@ 2018-04-06  4:52 Sergey Popov
  0 siblings, 0 replies; 5+ messages in thread
From: Sergey Popov @ 2018-04-06  4:52 UTC (permalink / raw
  To: gentoo-commits

commit:     96a9ddf276fae65a0605e419392f375959f97b4a
Author:     Sergey Popov <pinkbyte <AT> gentoo <DOT> org>
AuthorDate: Fri Apr  6 04:51:14 2018 +0000
Commit:     Sergey Popov <pinkbyte <AT> gentoo <DOT> org>
CommitDate: Fri Apr  6 04:51:14 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96a9ddf2

x11-misc/magick-rotation: remove myself from maintainers

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 x11-misc/magick-rotation/metadata.xml | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/x11-misc/magick-rotation/metadata.xml b/x11-misc/magick-rotation/metadata.xml
index 1229d82cefa..081d53a12fb 100644
--- a/x11-misc/magick-rotation/metadata.xml
+++ b/x11-misc/magick-rotation/metadata.xml
@@ -5,10 +5,6 @@
 		<email>evadim@evadim.ru</email>
 		<name>Vadim Efimov</name>
 	</maintainer>
-	<maintainer type="person">
-		<email>pinkbyte@gentoo.org</email>
-		<name>Sergey Popov</name>
-	</maintainer>
 	<maintainer type="project">
 		<email>proxy-maint@gentoo.org</email>
 		<name>Proxy Maintainers</name>


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: x11-misc/magick-rotation/
@ 2020-01-04  8:52 Mikle Kolyada
  0 siblings, 0 replies; 5+ messages in thread
From: Mikle Kolyada @ 2020-01-04  8:52 UTC (permalink / raw
  To: gentoo-commits

commit:     ea9c6b0710e844c4d3f69878bb9962a0095b17f7
Author:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Sat Jan  4 08:52:16 2020 +0000
Commit:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Sat Jan  4 08:52:16 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea9c6b07

x11-misc/magick-rotation: remove last-rited pkg

Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>

 x11-misc/magick-rotation/Manifest                  |  1 -
 .../magick-rotation-1.6.2-r2.ebuild                | 95 ----------------------
 x11-misc/magick-rotation/metadata.xml              | 15 ----
 3 files changed, 111 deletions(-)

diff --git a/x11-misc/magick-rotation/Manifest b/x11-misc/magick-rotation/Manifest
deleted file mode 100644
index 929b0b899b8..00000000000
--- a/x11-misc/magick-rotation/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST magick-rotation-1.6.2.tar.bz2 103389 BLAKE2B 9ff85d53d33b381b79fdcb725a663001e583fce46ba36efab561d16f6dcdd50fec7c9d54c1ad9284eae590c2c589622259a5814ffd295a02e6458994ff588c96 SHA512 40252c4b57d304244f8f7a8b08448cb498efd9044406235f2d728a89c8b4888009c4e7a9f50cbb61b5620336eedf1abb1591e68e94a57b051f4d823acbcdff5f

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
deleted file mode 100644
index 43a71929ba5..00000000000
--- a/x11-misc/magick-rotation/magick-rotation-1.6.2-r2.ebuild
+++ /dev/null
@@ -1,95 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-PYTHON_REQ_USE="xml"
-inherit eutils python-single-r1 toolchain-funcs udev user versionator
-
-MY_PV=$(get_version_component_range 1-2)
-
-DESCRIPTION="Application that rotates tablet pc's screen automatically, based on orientation"
-HOMEPAGE="https://launchpad.net/magick-rotation"
-SRC_URI="https://launchpad.net/magick-rotation/trunk/${MY_PV}/+download/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="-* ~amd64 ~x86"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-DEPEND="${PYTHON_DEPS}
-	x11-libs/libX11
-	x11-libs/libXrandr"
-
-RDEPEND="${DEPEND}
-	dev-python/pygobject:2[${PYTHON_USEDEP}]
-	dev-python/pygtk:2[${PYTHON_USEDEP}]
-	dev-python/py-notify[${PYTHON_USEDEP}]
-	x11-apps/xinput"
-
-# there are no tests in package, default 'make check' does wrong things, bug #453672
-RESTRICT="test"
-
-pkg_setup() {
-	python-single-r1_pkg_setup
-	enewgroup magick
-}
-
-src_prepare() {
-	# Remove unneeded files
-	rm -r apt_* installer_gtk.py MAGICK-INSTALL gset_addkeyval.py MagickIcons/MagickSplash.png MagickUninstall || die 'removing unneeded files failed'
-
-	# Fix Python shebangs
-	python_fix_shebang "${S}"
-
-	epatch_user
-}
-
-src_compile() {
-	my_compile() {
-		echo $(tc-getCC) $*
-		$(tc-getCC) $* || die 'compilation failed'
-	}
-
-	local suffix=
-	if use amd64; then
-		suffix=64
-	else
-		suffix=32
-	fi
-	my_compile "${CFLAGS} ${LDFLAGS} check.c -lX11 -lXrandr -o checkmagick${suffix}"
-}
-
-src_install() {
-	#TODO: add installation of GNOME Shell 3.2 extension
-	dobin checkmagick*
-
-	udev_dorules 62-magick.rules
-
-	python_moduleinto /usr/share/${PN}
-	python_domodule *.py
-
-	insinto /usr/share/${PN}/MagickIcons
-	doins MagickIcons/*.png
-
-	python_scriptinto /usr/share/${PN}
-	python_doscript magick-rotation xrotate.py
-
-	dodoc *.txt ChangeLog
-
-	make_desktop_entry /usr/share/${PN}/${PN} "Magick Rotation" /usr/share/${PN}/MagickIcons/magick-rotation-enabled.png "System;Utility;"
-}
-
-pkg_postinst() {
-	echo
-	elog "In order to use Magick Rotation with an on-screen keyboard and handwriting,"
-	elog "the following additional package may also be installed for use at run-time:"
-	elog
-	optfeature "Magick Rotation's default onscreen keyboard" media-gfx/cellwriter
-	echo
-
-	ewarn "in order to use Magick Rotation you have to be in the 'magick' group."
-	ewarn "Just run 'gpasswd -a <USER> magick', then have <USER> re-login."
-}

diff --git a/x11-misc/magick-rotation/metadata.xml b/x11-misc/magick-rotation/metadata.xml
deleted file mode 100644
index 081d53a12fb..00000000000
--- a/x11-misc/magick-rotation/metadata.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-	<maintainer type="person">
-		<email>evadim@evadim.ru</email>
-		<name>Vadim Efimov</name>
-	</maintainer>
-	<maintainer type="project">
-		<email>proxy-maint@gentoo.org</email>
-		<name>Proxy Maintainers</name>
-	</maintainer>
-	<upstream>
-		<remote-id type="launchpad">magick-rotation</remote-id>
-	</upstream>
-</pkgmetadata>


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-01-04  8:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-04  8:52 [gentoo-commits] repo/gentoo:master commit in: x11-misc/magick-rotation/ Mikle Kolyada
  -- strict thread matches above, loose matches on Subject: below --
2018-04-06  4:52 Sergey Popov
2018-02-11 11:36 Michał Górny
2015-09-12 10:29 Justin Lecher
2015-09-12 10:23 Justin Lecher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox