public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Maxim Koltsov" <maksbotan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/socketpool/
Date: Mon, 26 Mar 2018 10:09:55 +0000 (UTC)	[thread overview]
Message-ID: <1522058951.85db31f0291b8a329e26a9535e8e4733eab3de85.maksbotan@gentoo> (raw)

commit:     85db31f0291b8a329e26a9535e8e4733eab3de85
Author:     Maxim Koltsov <maksbotan <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 26 10:09:11 2018 +0000
Commit:     Maxim Koltsov <maksbotan <AT> gentoo <DOT> org>
CommitDate: Mon Mar 26 10:09:11 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85db31f0

dev-python/socketpool: fix EXAMPLES in EAPI 6

Also don't install unneeded files in /usr/socketpool

Closes: https://bugs.gentoo.org/651064
Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-python/socketpool/socketpool-0.5.3.ebuild | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/dev-python/socketpool/socketpool-0.5.3.ebuild b/dev-python/socketpool/socketpool-0.5.3.ebuild
index 60c307504a9..e73308b6f45 100644
--- a/dev-python/socketpool/socketpool-0.5.3.ebuild
+++ b/dev-python/socketpool/socketpool-0.5.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -26,6 +26,12 @@ python_test() {
 }
 
 python_install_all() {
-	use examples && local EXAMPLES=( examples/. )
+	if use examples; then
+		insinto /usr/share/doc/${PF}
+		doins -r examples
+	fi
 	distutils-r1_python_install_all
+
+	# package installs unneeded LICENSE files here
+	rm -rf "${ED}"/usr/socketpool || die
 }


             reply	other threads:[~2018-03-26 10:10 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-26 10:09 Maxim Koltsov [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-05-30 19:45 [gentoo-commits] repo/gentoo:master commit in: dev-python/socketpool/ Michał Górny
2020-08-24 15:11 Michał Górny
2020-07-25  8:31 Michał Górny
2020-07-11 22:28 Sam James
2020-07-11 22:08 Sam James
2020-07-11  8:57 Michał Górny
2020-07-11  8:57 Michał Górny
2020-07-09  8:27 Agostino Sarubbo
2020-07-09  8:16 Agostino Sarubbo
2020-06-04 14:06 Michał Górny
2020-05-30 12:48 Michał Górny
2020-05-30  7:40 Michał Górny
2020-05-29  8:46 Michał Górny
2020-05-26 18:32 Michał Górny
2020-05-26 18:09 Michał Górny
2020-05-16 19:47 Sergei Trofimovich
2020-05-03 21:55 Sergei Trofimovich
2020-05-03  7:08 Michał Górny
2020-05-03  6:36 Michał Górny
2020-04-13  7:07 Michał Górny
2020-03-16 20:09 Matt Turner
2020-03-07 15:03 Michał Górny
2020-03-07 11:06 Agostino Sarubbo
2020-03-07 11:03 Agostino Sarubbo
2020-03-07 10:54 Agostino Sarubbo
2020-03-07 10:50 Agostino Sarubbo
2020-03-07  9:44 Agostino Sarubbo
2020-03-07  8:25 Agostino Sarubbo
2019-11-27 18:58 Patrick McLean
2019-03-13 19:33 Sergei Trofimovich
2019-03-03 10:54 Mikle Kolyada
2018-11-09 14:20 Alexey Shvetsov
2017-06-25 14:42 Alexis Ballier
2017-05-16 12:06 Manuel Rüger
2016-05-29 14:19 Pacho Ramos
2016-03-26  2:07 Matt Thode
2015-11-18 15:40 Justin Lecher
2015-10-14 15:43 Justin Lecher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1522058951.85db31f0291b8a329e26a9535e8e4733eab3de85.maksbotan@gentoo \
    --to=maksbotan@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox