[gentoo-commits] repo/gentoo:master commit in: app-doc/diveintopython/

2023-11-30 Thread Joonas Niilola
commit: 275506a467cef9ec9cf5b4c81f61eabc6f3f76a6
Author: Leonardo Hernández Hernández  proton  me>
AuthorDate: Mon Oct 16 00:57:02 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Dec  1 07:52:17 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=275506a4

app-doc/diveintopython: update EAPI 6 -> 8

Closes: https://bugs.gentoo.org/799275
Signed-off-by: Leonardo Hernández Hernández  proton.me>
Closes: https://github.com/gentoo/gentoo/pull/33504
Signed-off-by: Joonas Niilola  gentoo.org>

 app-doc/diveintopython/diveintopython-3-r1.ebuild | 23 ---
 app-doc/diveintopython/diveintopython-3-r2.ebuild | 23 +++
 2 files changed, 23 insertions(+), 23 deletions(-)

diff --git a/app-doc/diveintopython/diveintopython-3-r1.ebuild 
b/app-doc/diveintopython/diveintopython-3-r1.ebuild
deleted file mode 100644
index d35d122240ca..
--- a/app-doc/diveintopython/diveintopython-3-r1.ebuild
+++ /dev/null
@@ -1,23 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-DESCRIPTION="'Dive Into Python' by Mark Pilgrim - Python 3"
-HOMEPAGE="http://www.diveintopython3.net/;
-
-SRC_URI="https://dev.gentoo.org/~monsieurp/packages/${P}.tar.gz
-   pdf? (
-   https://dev.gentoo.org/~monsieurp/packages/${P}-pdf.tar.gz
-   )"
-
-LICENSE="CC-BY-SA-3.0"
-SLOT="3"
-KEYWORDS="amd64 ppc ppc64 ~riscv x86"
-IUSE="pdf"
-
-src_install() {
-   insinto "/usr/share/doc/${PN}-${SLOT}"
-   use pdf && doins "${P}.pdf"
-   doins -r *
-}

diff --git a/app-doc/diveintopython/diveintopython-3-r2.ebuild 
b/app-doc/diveintopython/diveintopython-3-r2.ebuild
new file mode 100644
index ..ad40d614daa6
--- /dev/null
+++ b/app-doc/diveintopython/diveintopython-3-r2.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="'Dive Into Python' by Mark Pilgrim - Python 3"
+HOMEPAGE="https://www.diveintopython3.net/;
+
+SRC_URI="
+   https://dev.gentoo.org/~monsieurp/packages/${P}.tar.gz
+   https://dev.gentoo.org/~monsieurp/packages/${P}-pdf.tar.gz
+"
+
+LICENSE="CC-BY-SA-3.0"
+SLOT="3"
+KEYWORDS="amd64 ppc ppc64 ~riscv x86"
+
+src_install() {
+   dodoc ${P}.pdf
+   rm ${P}.pdf || die
+   docinto html
+   dodoc -r ./*
+}



[gentoo-commits] repo/gentoo:master commit in: app-doc/diveintopython/

2021-12-12 Thread Yixun Lan
commit: 28d6ad4b81ebe19059d73416f27aa52977e55010
Author: Yongxiang Liang  gmail  com>
AuthorDate: Thu Dec  9 16:49:54 2021 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Sun Dec 12 14:21:29 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28d6ad4b

app-doc/diveintopython: keyword ~riscv

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Yongxiang Liang  gmail.com>
Signed-off-by: Yixun Lan  gentoo.org>

 app-doc/diveintopython/diveintopython-3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-doc/diveintopython/diveintopython-3-r1.ebuild 
b/app-doc/diveintopython/diveintopython-3-r1.ebuild
index 2fce9fa8d377..d35d122240ca 100644
--- a/app-doc/diveintopython/diveintopython-3-r1.ebuild
+++ b/app-doc/diveintopython/diveintopython-3-r1.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://dev.gentoo.org/~monsieurp/packages/${P}.tar.gz
 
 LICENSE="CC-BY-SA-3.0"
 SLOT="3"
-KEYWORDS="amd64 ppc ppc64 x86"
+KEYWORDS="amd64 ppc ppc64 ~riscv x86"
 IUSE="pdf"
 
 src_install() {



[gentoo-commits] repo/gentoo:master commit in: app-doc/diveintopython/

2021-06-16 Thread Michał Górny
commit: dfb11fdf300fd52659e2530df51c20a36ba0e993
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Jun 16 10:58:50 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jun 16 11:14:17 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfb11fdf

app-doc/diveintopython: Remove python@

Signed-off-by: Michał Górny  gentoo.org>

 app-doc/diveintopython/metadata.xml | 4 
 1 file changed, 4 deletions(-)

diff --git a/app-doc/diveintopython/metadata.xml 
b/app-doc/diveintopython/metadata.xml
index 7f7ace7f43b..0a53029ac2d 100644
--- a/app-doc/diveintopython/metadata.xml
+++ b/app-doc/diveintopython/metadata.xml
@@ -1,10 +1,6 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-  
-pyt...@gentoo.org
-Python
-  
   
 monsie...@gentoo.org
 Patrice Clement



[gentoo-commits] repo/gentoo:master commit in: app-doc/diveintopython/

2021-04-11 Thread Sam James
commit: b8419f7297a3ea019eefeb2a35bdba4a3d9df751
Author: Sam James  gentoo  org>
AuthorDate: Mon Apr 12 02:03:28 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Apr 12 02:30:55 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8419f72

app-doc/diveintopython: fix dodoc->doins

Signed-off-by: Sam James  gentoo.org>

 .../{diveintopython-3.ebuild => diveintopython-3-r1.ebuild}   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-doc/diveintopython/diveintopython-3.ebuild 
b/app-doc/diveintopython/diveintopython-3-r1.ebuild
similarity index 87%
rename from app-doc/diveintopython/diveintopython-3.ebuild
rename to app-doc/diveintopython/diveintopython-3-r1.ebuild
index bc2f6bfcc2c..2fce9fa8d37 100644
--- a/app-doc/diveintopython/diveintopython-3.ebuild
+++ b/app-doc/diveintopython/diveintopython-3-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -18,6 +18,6 @@ IUSE="pdf"
 
 src_install() {
insinto "/usr/share/doc/${PN}-${SLOT}"
-   use pdf && dodoc "${P}.pdf"
+   use pdf && doins "${P}.pdf"
doins -r *
 }



[gentoo-commits] repo/gentoo:master commit in: app-doc/diveintopython/

2021-01-19 Thread Patrice Clement
commit: efc99ca10e1a3db2f17df66888a932a3783025bb
Author: Patrice Clement  gentoo  org>
AuthorDate: Tue Jan 19 22:38:28 2021 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Tue Jan 19 23:09:21 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efc99ca1

app-doc/diveintopython: retire diveintopython-2.

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Patrice Clement  gentoo.org>

 app-doc/diveintopython/Manifest|  2 --
 app-doc/diveintopython/diveintopython-2.ebuild | 31 --
 2 files changed, 33 deletions(-)

diff --git a/app-doc/diveintopython/Manifest b/app-doc/diveintopython/Manifest
index 9067c87f841..eb03085a45e 100644
--- a/app-doc/diveintopython/Manifest
+++ b/app-doc/diveintopython/Manifest
@@ -1,4 +1,2 @@
-DIST diveintopython-2-pdf.zip 782047 BLAKE2B 
aecb0dab23fc9737a22e032628e23eecdec1c56b330d7ba884acc97e63bc4f4b9ff5dc53ad89f588ef7e1d15991f1aa11cf70c479864a6b8e3b959287c299dbc
 SHA512 
24857e22b587878e22b8347bb53ca60697b3940ea2d2f9ea7fe5eabc5d8d2b3d580b278379436f4282f515a25a285f3f558f461daa9edaae6f565c246154978c
-DIST diveintopython-2.zip 86 BLAKE2B 
55c541c3c77f3b0c4942212f4a15925571d1eb5974af4330f9edd610ba0037a9042442d2c1283d05e893888b2e2bb3da8cfe17c62a699fe8cb6e2682cbe0cd35
 SHA512 
9c57a9e228d30186b1e6fc10a47d4fa69704fd83ea68bba030d7909ad8df2b9cfeee942caf359b1dd1fd8f9459fee58ea8ddb3813759b17f06b93b3ccf4ca296
 DIST diveintopython-3-pdf.tar.gz 2235256 BLAKE2B 
2617ae5fc8e7a61402a56aa43c094412bdf9b3350901980d4d0e33179f7e1ae9100e4d3ca8201e18a473c17205a7ee6a8efab55cfd230249f1eb07b671f90c96
 SHA512 
ecca7ba1540a48eb41b5bfd7ca878962939b9ec47eac6100f13d75eb24c6cae20177110877d34e6d1de47bed6883f9a25b379ced5c03b8c220103774a00a54b4
 DIST diveintopython-3.tar.gz 9958889 BLAKE2B 
5c0b9764b6bb5f51af05142446750e9831fa6edb53336c47b398bf604c349e6c5c002c8f19f390d4929c94e2c19c5f0bb18a71ddb4b8b85d3701ee5feb35a4a4
 SHA512 
19a8498e4d91fc2ea2c899400336696732dae73da48faf55de43507e41e72a68c6ac25cea0acfdf3ca783344cd12c41326190ac9bbaf7ebdc113833e8bfea3a4

diff --git a/app-doc/diveintopython/diveintopython-2.ebuild 
b/app-doc/diveintopython/diveintopython-2.ebuild
deleted file mode 100644
index 194048ff03a..000
--- a/app-doc/diveintopython/diveintopython-2.ebuild
+++ /dev/null
@@ -1,31 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-MY_PV="5.4"
-MY_P="${PN}-${MY_PV}"
-
-DESCRIPTION="'Dive Into Python' by Mark Pilgrim - Python 2"
-HOMEPAGE="http://www.diveintopython.net/;
-SRC_URI="
-http://www.diveintopython.net/download/${PN}-html-${MY_PV}.zip -> ${P}.zip
-pdf? ( http://www.diveintopython.net/download/${PN}-pdf-${MY_PV}.zip -> 
${P}-pdf.zip )
-"
-
-LICENSE="FDL-1.1"
-SLOT="2"
-KEYWORDS="amd64 ppc ppc64 x86"
-IUSE="pdf"
-
-DEPEND="app-arch/unzip"
-
-S="${WORKDIR}/${MY_P}"
-
-src_install() {
-   insinto "/usr/share/doc/${PN}-${SLOT}"
-   use pdf && dodoc "${PN}.pdf"
-   doins -r html/*
-   insinto "/usr/share/doc/${PN}-${SLOT}"/examples
-   doins -r py
-}



[gentoo-commits] repo/gentoo:master commit in: app-doc/diveintopython/

2020-12-28 Thread Sam James
commit: c71d9b6baae0030644bafbb1cc0f1df665ae0153
Author: Sam James  gentoo  org>
AuthorDate: Mon Dec 28 08:56:25 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Dec 28 09:03:33 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c71d9b6b

app-doc/diveintopython: mark ALLARCHES

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

 app-doc/diveintopython/metadata.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/app-doc/diveintopython/metadata.xml 
b/app-doc/diveintopython/metadata.xml
index 226979bb2ad..7f7ace7f43b 100644
--- a/app-doc/diveintopython/metadata.xml
+++ b/app-doc/diveintopython/metadata.xml
@@ -9,4 +9,5 @@
 monsie...@gentoo.org
 Patrice Clement
   
+  
 



[gentoo-commits] repo/gentoo:master commit in: app-doc/diveintopython/

2019-08-28 Thread David Seifert
commit: 19c7a659919fd6cbd59830168db6c8fe5d25eb05
Author: David Seifert  gentoo  org>
AuthorDate: Wed Aug 28 10:09:57 2019 +
Commit: David Seifert  gentoo  org>
CommitDate: Wed Aug 28 10:09:57 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19c7a659

app-doc/diveintopython: [QA] Add missing DEPEND="app-arch/unzip"

Package-Manager: Portage-2.3.72, Repoman-2.3.17
Signed-off-by: David Seifert  gentoo.org>

 app-doc/diveintopython/diveintopython-2.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/app-doc/diveintopython/diveintopython-2.ebuild 
b/app-doc/diveintopython/diveintopython-2.ebuild
index 391c52aba09..194048ff03a 100644
--- a/app-doc/diveintopython/diveintopython-2.ebuild
+++ b/app-doc/diveintopython/diveintopython-2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -15,10 +15,11 @@ pdf? ( 
http://www.diveintopython.net/download/${PN}-pdf-${MY_PV}.zip -> ${P}-pdf
 
 LICENSE="FDL-1.1"
 SLOT="2"
-
 KEYWORDS="amd64 ppc ppc64 x86"
 IUSE="pdf"
 
+DEPEND="app-arch/unzip"
+
 S="${WORKDIR}/${MY_P}"
 
 src_install() {



[gentoo-commits] repo/gentoo:master commit in: app-doc/diveintopython/

2018-01-30 Thread Patrice Clement
commit: 6f3c4284283ac6aa93999c286ccb350faad248c8
Author: tharvik  users  noreply  github  com>
AuthorDate: Sun Jan 28 18:45:13 2018 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Tue Jan 30 22:20:40 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f3c4284

app-doc/diveintopython: remove invalid KEYWORDS.

Package-Manager: Portage-2.3.13, Repoman-2.3.3
Closes: https://github.com/gentoo/gentoo/pull/6990

 app-doc/diveintopython/diveintopython-2.ebuild | 8 ++--
 app-doc/diveintopython/diveintopython-3.ebuild | 8 ++--
 2 files changed, 4 insertions(+), 12 deletions(-)

diff --git a/app-doc/diveintopython/diveintopython-2.ebuild 
b/app-doc/diveintopython/diveintopython-2.ebuild
index 42e749bb499..391c52aba09 100644
--- a/app-doc/diveintopython/diveintopython-2.ebuild
+++ b/app-doc/diveintopython/diveintopython-2.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
@@ -16,15 +16,11 @@ pdf? ( 
http://www.diveintopython.net/download/${PN}-pdf-${MY_PV}.zip -> ${P}-pdf
 LICENSE="FDL-1.1"
 SLOT="2"
 
-KEYWORDS="*"
+KEYWORDS="amd64 ppc ppc64 x86"
 IUSE="pdf"
 
 S="${WORKDIR}/${MY_P}"
 
-src_prepare() {
-   default
-}
-
 src_install() {
insinto "/usr/share/doc/${PN}-${SLOT}"
use pdf && dodoc "${PN}.pdf"

diff --git a/app-doc/diveintopython/diveintopython-3.ebuild 
b/app-doc/diveintopython/diveintopython-3.ebuild
index c2ed7f31156..bc2f6bfcc2c 100644
--- a/app-doc/diveintopython/diveintopython-3.ebuild
+++ b/app-doc/diveintopython/diveintopython-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
@@ -13,13 +13,9 @@ 
SRC_URI="https://dev.gentoo.org/~monsieurp/packages/${P}.tar.gz
 
 LICENSE="CC-BY-SA-3.0"
 SLOT="3"
-KEYWORDS="*"
+KEYWORDS="amd64 ppc ppc64 x86"
 IUSE="pdf"
 
-src_prepare() {
-   default
-}
-
 src_install() {
insinto "/usr/share/doc/${PN}-${SLOT}"
use pdf && dodoc "${P}.pdf"



[gentoo-commits] repo/gentoo:master commit in: app-doc/diveintopython/

2017-12-28 Thread Patrice Clement
commit: f1eae109927ab73618dc8dd85c63fbe8b2ccdb12
Author: Patrice Clement  gentoo  org>
AuthorDate: Thu Dec 28 11:04:54 2017 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Thu Dec 28 11:04:54 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1eae109

app-doc/diveintopython: allow usage across all architectures.

Package-Manager: Portage-2.3.13, Repoman-2.3.3

 app-doc/diveintopython/diveintopython-2.ebuild | 2 +-
 app-doc/diveintopython/diveintopython-3.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-doc/diveintopython/diveintopython-2.ebuild 
b/app-doc/diveintopython/diveintopython-2.ebuild
index a304c56ca41..42e749bb499 100644
--- a/app-doc/diveintopython/diveintopython-2.ebuild
+++ b/app-doc/diveintopython/diveintopython-2.ebuild
@@ -16,7 +16,7 @@ pdf? ( 
http://www.diveintopython.net/download/${PN}-pdf-${MY_PV}.zip -> ${P}-pdf
 LICENSE="FDL-1.1"
 SLOT="2"
 
-KEYWORDS="amd64 ppc64 ppc x86"
+KEYWORDS="*"
 IUSE="pdf"
 
 S="${WORKDIR}/${MY_P}"

diff --git a/app-doc/diveintopython/diveintopython-3.ebuild 
b/app-doc/diveintopython/diveintopython-3.ebuild
index b50c7bf34b3..c2ed7f31156 100644
--- a/app-doc/diveintopython/diveintopython-3.ebuild
+++ b/app-doc/diveintopython/diveintopython-3.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://dev.gentoo.org/~monsieurp/packages/${P}.tar.gz
 
 LICENSE="CC-BY-SA-3.0"
 SLOT="3"
-KEYWORDS="amd64 ppc64 ppc x86"
+KEYWORDS="*"
 IUSE="pdf"
 
 src_prepare() {



[gentoo-commits] repo/gentoo:master commit in: app-doc/diveintopython/

2017-09-04 Thread Patrice Clement
commit: 4dfe60043926cdc1b1d6409f4edadf2d8a91c023
Author: Francesco Turco  fastmail  fm>
AuthorDate: Sat Sep  2 19:06:28 2017 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Mon Sep  4 21:56:36 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4dfe6004

app-doc/diveintopython: avoid mixing tabs/spaces in metadata.xml.

Closes: https://github.com/gentoo/gentoo/pull/5598

 app-doc/diveintopython/metadata.xml | 10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/app-doc/diveintopython/metadata.xml 
b/app-doc/diveintopython/metadata.xml
index 282f5169122..6ca7cf07c08 100644
--- a/app-doc/diveintopython/metadata.xml
+++ b/app-doc/diveintopython/metadata.xml
@@ -2,14 +2,14 @@
 http://www.gentoo.org/dtd/metadata.dtd;>
 
   
- pyt...@gentoo.org
- Python
+pyt...@gentoo.org
+Python
   
   
- monsie...@gentoo.org
- Patrice Clement
+monsie...@gentoo.org
+Patrice Clement
   
   
- Dive Into Python is a free Python book for experienced programmers.
+Dive Into Python is a free Python book for experienced programmers.
   
 



[gentoo-commits] repo/gentoo:master commit in: app-doc/diveintopython/

2017-09-04 Thread Patrice Clement
commit: 79e5086f9879465a6f7b74cf042633dc10835714
Author: Francesco Turco  fastmail  fm>
AuthorDate: Sat Sep  2 19:04:41 2017 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Mon Sep  4 21:56:34 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79e5086f

app-doc/diveintopython: use HTTPS for links to dev.gentoo.org.

Closes: https://github.com/gentoo/gentoo/pull/5598

 app-doc/diveintopython/diveintopython-3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-doc/diveintopython/diveintopython-3.ebuild 
b/app-doc/diveintopython/diveintopython-3.ebuild
index 51eb711cdac..b50c7bf34b3 100644
--- a/app-doc/diveintopython/diveintopython-3.ebuild
+++ b/app-doc/diveintopython/diveintopython-3.ebuild
@@ -6,9 +6,9 @@ EAPI=6
 DESCRIPTION="'Dive Into Python' by Mark Pilgrim - Python 3"
 HOMEPAGE="http://www.diveintopython3.net/;
 
-SRC_URI="http://dev.gentoo.org/~monsieurp/packages/${P}.tar.gz
+SRC_URI="https://dev.gentoo.org/~monsieurp/packages/${P}.tar.gz
pdf? (
-   http://dev.gentoo.org/~monsieurp/packages/${P}-pdf.tar.gz
+   https://dev.gentoo.org/~monsieurp/packages/${P}-pdf.tar.gz
)"
 
 LICENSE="CC-BY-SA-3.0"



[gentoo-commits] repo/gentoo:master commit in: app-doc/diveintopython/

2017-08-30 Thread Patrice Clement
commit: ae4de70c0b715e5beef5c78ed72c3adae064b232
Author: Patrice Clement  gentoo  org>
AuthorDate: Wed Aug 30 09:21:47 2017 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Wed Aug 30 19:14:06 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae4de70c

app-doc/diveintopython: indent.

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 app-doc/diveintopython/diveintopython-2.ebuild | 8 
 app-doc/diveintopython/metadata.xml| 4 ++--
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/app-doc/diveintopython/diveintopython-2.ebuild 
b/app-doc/diveintopython/diveintopython-2.ebuild
index 79762178715..a304c56ca41 100644
--- a/app-doc/diveintopython/diveintopython-2.ebuild
+++ b/app-doc/diveintopython/diveintopython-2.ebuild
@@ -8,10 +8,10 @@ MY_P="${PN}-${MY_PV}"
 
 DESCRIPTION="'Dive Into Python' by Mark Pilgrim - Python 2"
 HOMEPAGE="http://www.diveintopython.net/;
-SRC_URI="http://www.diveintopython.net/download/${PN}-html-${MY_PV}.zip -> 
${P}.zip
-   pdf? (
-   http://www.diveintopython.net/download/${PN}-pdf-${MY_PV}.zip 
-> ${P}-pdf.zip
-   )"
+SRC_URI="
+http://www.diveintopython.net/download/${PN}-html-${MY_PV}.zip -> ${P}.zip
+pdf? ( http://www.diveintopython.net/download/${PN}-pdf-${MY_PV}.zip -> 
${P}-pdf.zip )
+"
 
 LICENSE="FDL-1.1"
 SLOT="2"

diff --git a/app-doc/diveintopython/metadata.xml 
b/app-doc/diveintopython/metadata.xml
index 150f83f5c91..282f5169122 100644
--- a/app-doc/diveintopython/metadata.xml
+++ b/app-doc/diveintopython/metadata.xml
@@ -2,8 +2,8 @@
 http://www.gentoo.org/dtd/metadata.dtd;>
 
   
-pyt...@gentoo.org
-Python
+ pyt...@gentoo.org
+ Python
   
   
  monsie...@gentoo.org



[gentoo-commits] repo/gentoo:master commit in: app-doc/diveintopython/

2017-02-18 Thread Patrice Clement
commit: b664d56d6a6c92257f2181c3ea528c472000e8ed
Author: Patrice Clement  gentoo  org>
AuthorDate: Sat Feb 18 09:15:14 2017 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Sat Feb 18 09:23:29 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b664d56d

app-doc/diveintopython: tidy up ebuild.

Package-Manager: portage-2.3.3

 app-doc/diveintopython/diveintopython-2.ebuild | 9 +
 app-doc/diveintopython/diveintopython-3.ebuild | 9 +
 2 files changed, 2 insertions(+), 16 deletions(-)

diff --git a/app-doc/diveintopython/diveintopython-2.ebuild 
b/app-doc/diveintopython/diveintopython-2.ebuild
index 49abe894c6..f8a8b476f1 100644
--- a/app-doc/diveintopython/diveintopython-2.ebuild
+++ b/app-doc/diveintopython/diveintopython-2.ebuild
@@ -1,17 +1,14 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=6
 
-inherit eutils
-
 MY_PV="5.4"
 MY_P="${PN}-${MY_PV}"
 
 DESCRIPTION="'Dive Into Python' by Mark Pilgrim - Python 2"
 HOMEPAGE="http://www.diveintopython.net/;
-
 SRC_URI="http://www.diveintopython.net/download/${PN}-html-${MY_PV}.zip -> 
${P}.zip
pdf? (
http://www.diveintopython.net/download/${PN}-pdf-${MY_PV}.zip 
-> ${P}-pdf.zip
@@ -21,12 +18,8 @@ LICENSE="FDL-1.1"
 SLOT="2"
 
 KEYWORDS="amd64 ppc64 ppc x86"
-
 IUSE="pdf"
 
-DEPEND=""
-RDEPEND="${DEPEND}"
-
 S="${WORKDIR}/${MY_P}"
 
 src_prepare() {

diff --git a/app-doc/diveintopython/diveintopython-3.ebuild 
b/app-doc/diveintopython/diveintopython-3.ebuild
index 9940cc1ffe..b5bffd0d0a 100644
--- a/app-doc/diveintopython/diveintopython-3.ebuild
+++ b/app-doc/diveintopython/diveintopython-3.ebuild
@@ -1,11 +1,9 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=6
 
-inherit eutils
-
 DESCRIPTION="'Dive Into Python' by Mark Pilgrim - Python 3"
 HOMEPAGE="http://www.diveintopython3.net/;
 
@@ -16,14 +14,9 @@ 
SRC_URI="http://dev.gentoo.org/~monsieurp/packages/${P}.tar.gz
 
 LICENSE="CC-BY-SA-3.0"
 SLOT="3"
-
 KEYWORDS="amd64 ppc64 ppc x86"
-
 IUSE="pdf"
 
-DEPEND=""
-RDEPEND="${DEPEND}"
-
 src_prepare() {
default
 }



[gentoo-commits] repo/gentoo:master commit in: app-doc/diveintopython/

2016-04-18 Thread Patrice Clement
commit: fb02bcc3049159a4ee8fbf8e66b7d0a5051284a8
Author: Patrice Clement  gentoo  org>
AuthorDate: Mon Apr 18 20:48:58 2016 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Mon Apr 18 21:08:14 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb02bcc3

app-doc/diveintopython: Stable for amd64. Retroactively mark stable for the 
remaining arches using the ALLARCHES policy.

Package-Manager: portage-2.2.26

 app-doc/diveintopython/diveintopython-2.ebuild | 6 +++---
 app-doc/diveintopython/diveintopython-3.ebuild | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/app-doc/diveintopython/diveintopython-2.ebuild 
b/app-doc/diveintopython/diveintopython-2.ebuild
index f7ff354..49abe89 100644
--- a/app-doc/diveintopython/diveintopython-2.ebuild
+++ b/app-doc/diveintopython/diveintopython-2.ebuild
@@ -9,8 +9,6 @@ inherit eutils
 MY_PV="5.4"
 MY_P="${PN}-${MY_PV}"
 
-IUSE="pdf"
-
 DESCRIPTION="'Dive Into Python' by Mark Pilgrim - Python 2"
 HOMEPAGE="http://www.diveintopython.net/;
 
@@ -22,7 +20,9 @@ 
SRC_URI="http://www.diveintopython.net/download/${PN}-html-${MY_PV}.zip -> ${P}.
 LICENSE="FDL-1.1"
 SLOT="2"
 
-KEYWORDS="~amd64 ~ppc64 ~ppc ~x86"
+KEYWORDS="amd64 ppc64 ppc x86"
+
+IUSE="pdf"
 
 DEPEND=""
 RDEPEND="${DEPEND}"

diff --git a/app-doc/diveintopython/diveintopython-3.ebuild 
b/app-doc/diveintopython/diveintopython-3.ebuild
index b39e1ba..9940cc1 100644
--- a/app-doc/diveintopython/diveintopython-3.ebuild
+++ b/app-doc/diveintopython/diveintopython-3.ebuild
@@ -17,7 +17,7 @@ SRC_URI="http://dev.gentoo.org/~monsieurp/packages/${P}.tar.gz
 LICENSE="CC-BY-SA-3.0"
 SLOT="3"
 
-KEYWORDS="~amd64 ~ppc64 ~ppc ~x86"
+KEYWORDS="amd64 ppc64 ppc x86"
 
 IUSE="pdf"
 
@@ -29,7 +29,7 @@ src_prepare() {
 }
 
 src_install() {
-   insinto /usr/share/doc/${PN}-${SLOT}
+   insinto "/usr/share/doc/${PN}-${SLOT}"
use pdf && dodoc "${P}.pdf"
doins -r *
 }



[gentoo-commits] repo/gentoo:master commit in: app-doc/diveintopython/

2016-03-12 Thread Patrice Clement
commit: c78f373d203af14988d0c3f0a247b9de48ba9083
Author: Patrice Clement  gentoo  org>
AuthorDate: Sat Mar 12 11:28:44 2016 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Sat Mar 12 11:29:10 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c78f373d

app-doc/diveintopython: Installs ebook as a pdf file.

Turning on USE=pdf now installs the diveintopython ebook as a pdf file.

Package-Manager: portage-2.2.26

 app-doc/diveintopython/Manifest|  4 +++-
 app-doc/diveintopython/diveintopython-2.ebuild | 18 --
 app-doc/diveintopython/diveintopython-3.ebuild | 14 +-
 3 files changed, 24 insertions(+), 12 deletions(-)

diff --git a/app-doc/diveintopython/Manifest b/app-doc/diveintopython/Manifest
index 3f32670..675d993 100644
--- a/app-doc/diveintopython/Manifest
+++ b/app-doc/diveintopython/Manifest
@@ -1,2 +1,4 @@
+DIST diveintopython-2-pdf.zip 782047 SHA256 
fc7249731166362a91267e5ff74f63f11ec44bafe9af86cb0b8f99105789e9c4 SHA512 
24857e22b587878e22b8347bb53ca60697b3940ea2d2f9ea7fe5eabc5d8d2b3d580b278379436f4282f515a25a285f3f558f461daa9edaae6f565c246154978c
 WHIRLPOOL 
bcd4f0c268318219f80a9d427373fd0038a25e0f94f21823f9b5f46b9cf918387c50ea0c513223f3836ed065838af55602bd0de22e91b5201c5264b86133
 DIST diveintopython-2.zip 86 SHA256 
cf5100b77c51f6a35c59eaf049b23c8729ef3bef31fc445b6aea45d150a6 SHA512 
9c57a9e228d30186b1e6fc10a47d4fa69704fd83ea68bba030d7909ad8df2b9cfeee942caf359b1dd1fd8f9459fee58ea8ddb3813759b17f06b93b3ccf4ca296
 WHIRLPOOL 
6af00e6d36c8240867b8753478ad749737adffafee2d7641759a1e269981292288b27360f936663716a7cdca5fd1bb27bbdae94b70b497837a6bdda1261cba20
-DIST diveintopython-3.zip 7796744 SHA256 
b8708fc035c8272caf3d25e9cfcdb824d2c21ecf1b3c34aba900e0c99dd96a9f SHA512 
0d62e85184138f67a21020064bb59805c21ac41b3044e4af3d7de0e92e4c0068a3ec389430dfd5c3bd3e234af6a1079aaa3d2794aabaa3b5ef8d0a26c7c88323
 WHIRLPOOL 
16484ab0211ec5181acefb2e687436990c71efea94e042bd31a8c75e4eb71e5f64877b7cb02f8ad7d0e57188dc6d25e483c91c84610888030940fd4cf4a9ce6d
+DIST diveintopython-3-pdf.tar.gz 2235256 SHA256 
2bd23e41f0621a386699066d2a8e25b7bf22aca3be7c2c9dd7c39ac44b6263cc SHA512 
ecca7ba1540a48eb41b5bfd7ca878962939b9ec47eac6100f13d75eb24c6cae20177110877d34e6d1de47bed6883f9a25b379ced5c03b8c220103774a00a54b4
 WHIRLPOOL 
697b6b446f35fae0259ec3aea34c1336238f01648c8515a883ed848d1fff5d89437eba93c0bde581cf4821f0e0730869c38a7ff01dfdfaeec3774f2a08a68bb3
+DIST diveintopython-3.tar.gz 9958889 SHA256 
01d0d1f0b53252e0eb8bdf5ff7857d8f5e871574751eadfcfe13d011fb114c3f SHA512 
19a8498e4d91fc2ea2c899400336696732dae73da48faf55de43507e41e72a68c6ac25cea0acfdf3ca783344cd12c41326190ac9bbaf7ebdc113833e8bfea3a4
 WHIRLPOOL 
719607af0abcf4d1ca74c7450cb6402c8263d542d5940f9b33d9323005f1f05ba4dc537423f5d83f87be9f0bb4714ffb4806babae6cbcd5065067375d8e8066e

diff --git a/app-doc/diveintopython/diveintopython-2.ebuild 
b/app-doc/diveintopython/diveintopython-2.ebuild
index ead1ca4..f7ff354 100644
--- a/app-doc/diveintopython/diveintopython-2.ebuild
+++ b/app-doc/diveintopython/diveintopython-2.ebuild
@@ -9,16 +9,21 @@ inherit eutils
 MY_PV="5.4"
 MY_P="${PN}-${MY_PV}"
 
-DESCRIPTION="'Dive Into Python' by Mark Pilgrim - Python 2.x book"
+IUSE="pdf"
+
+DESCRIPTION="'Dive Into Python' by Mark Pilgrim - Python 2"
 HOMEPAGE="http://www.diveintopython.net/;
-SRC_URI="http://www.diveintopython.net/download/${PN}-html-${MY_PV}.zip -> 
${P}.zip"
+
+SRC_URI="http://www.diveintopython.net/download/${PN}-html-${MY_PV}.zip -> 
${P}.zip
+   pdf? (
+   http://www.diveintopython.net/download/${PN}-pdf-${MY_PV}.zip 
-> ${P}-pdf.zip
+   )"
+
 LICENSE="FDL-1.1"
 SLOT="2"
 
 KEYWORDS="~amd64 ~ppc64 ~ppc ~x86"
 
-IUSE=""
-
 DEPEND=""
 RDEPEND="${DEPEND}"
 
@@ -29,8 +34,9 @@ src_prepare() {
 }
 
 src_install() {
-   insinto /usr/share/doc/${PN}-${SLOT}
+   insinto "/usr/share/doc/${PN}-${SLOT}"
+   use pdf && dodoc "${PN}.pdf"
doins -r html/*
-   insinto /usr/share/doc/${PN}-${SLOT}/examples
+   insinto "/usr/share/doc/${PN}-${SLOT}"/examples
doins -r py
 }

diff --git a/app-doc/diveintopython/diveintopython-3.ebuild 
b/app-doc/diveintopython/diveintopython-3.ebuild
index b98d97d..b39e1ba 100644
--- a/app-doc/diveintopython/diveintopython-3.ebuild
+++ b/app-doc/diveintopython/diveintopython-3.ebuild
@@ -6,26 +6,30 @@ EAPI=6
 
 inherit eutils
 
-DESCRIPTION="'Dive Into Python' by Mark Pilgrim - Python 3.x book"
+DESCRIPTION="'Dive Into Python' by Mark Pilgrim - Python 3"
 HOMEPAGE="http://www.diveintopython3.net/;
-SRC_URI="http://dev.gentoo.org/~monsieurp/packages/${P}.zip;
+
+SRC_URI="http://dev.gentoo.org/~monsieurp/packages/${P}.tar.gz
+   pdf? (
+   http://dev.gentoo.org/~monsieurp/packages/${P}-pdf.tar.gz
+   )"
+
 LICENSE="CC-BY-SA-3.0"
 SLOT="3"
 
 KEYWORDS="~amd64 ~ppc64 ~ppc ~x86"
 
-IUSE=""
+IUSE="pdf"
 
 DEPEND=""
 RDEPEND="${DEPEND}"
 
-S="${WORKDIR}/${PN}${PV}-master"
-
 src_prepare() {

[gentoo-commits] repo/gentoo:master commit in: app-doc/diveintopython/

2016-03-11 Thread Patrice Clement
commit: 5a4601d2da2365cfefe2e67f870a9daa6df63cc7
Author: Patrice Clement  gentoo  org>
AuthorDate: Fri Mar 11 23:56:41 2016 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Fri Mar 11 23:57:12 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a4601d2

app-doc/diveintopython: DIP 3 is released under CC-BY-SA-3.0 and not FDL.

Package-Manager: portage-2.2.26

 app-doc/diveintopython/diveintopython-3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-doc/diveintopython/diveintopython-3.ebuild 
b/app-doc/diveintopython/diveintopython-3.ebuild
index 6b44e59..b98d97d 100644
--- a/app-doc/diveintopython/diveintopython-3.ebuild
+++ b/app-doc/diveintopython/diveintopython-3.ebuild
@@ -9,7 +9,7 @@ inherit eutils
 DESCRIPTION="'Dive Into Python' by Mark Pilgrim - Python 3.x book"
 HOMEPAGE="http://www.diveintopython3.net/;
 SRC_URI="http://dev.gentoo.org/~monsieurp/packages/${P}.zip;
-LICENSE="FDL-1.1"
+LICENSE="CC-BY-SA-3.0"
 SLOT="3"
 
 KEYWORDS="~amd64 ~ppc64 ~ppc ~x86"



[gentoo-commits] repo/gentoo:master commit in: app-doc/diveintopython/

2016-03-11 Thread Patrice Clement
commit: 987736474487824feeb7cafea18a783fad668e7b
Author: Patrice Clement  gentoo  org>
AuthorDate: Fri Mar 11 22:25:27 2016 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Fri Mar 11 22:29:19 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98773647

app-doc/diveintopython: Add ebuilds to install the famous "Dive Into Python" 
ebook.

Package-Manager: portage-2.2.26
Gentoo-Bug: https://bugs.gentoo.org/284506
Signed-off-by: Patrice Clement  gentoo.org>

 app-doc/diveintopython/Manifest|  2 ++
 app-doc/diveintopython/diveintopython-2.ebuild | 36 ++
 app-doc/diveintopython/diveintopython-3.ebuild | 31 ++
 app-doc/diveintopython/metadata.xml| 15 +++
 4 files changed, 84 insertions(+)

diff --git a/app-doc/diveintopython/Manifest b/app-doc/diveintopython/Manifest
new file mode 100644
index 000..3f32670
--- /dev/null
+++ b/app-doc/diveintopython/Manifest
@@ -0,0 +1,2 @@
+DIST diveintopython-2.zip 86 SHA256 
cf5100b77c51f6a35c59eaf049b23c8729ef3bef31fc445b6aea45d150a6 SHA512 
9c57a9e228d30186b1e6fc10a47d4fa69704fd83ea68bba030d7909ad8df2b9cfeee942caf359b1dd1fd8f9459fee58ea8ddb3813759b17f06b93b3ccf4ca296
 WHIRLPOOL 
6af00e6d36c8240867b8753478ad749737adffafee2d7641759a1e269981292288b27360f936663716a7cdca5fd1bb27bbdae94b70b497837a6bdda1261cba20
+DIST diveintopython-3.zip 7796744 SHA256 
b8708fc035c8272caf3d25e9cfcdb824d2c21ecf1b3c34aba900e0c99dd96a9f SHA512 
0d62e85184138f67a21020064bb59805c21ac41b3044e4af3d7de0e92e4c0068a3ec389430dfd5c3bd3e234af6a1079aaa3d2794aabaa3b5ef8d0a26c7c88323
 WHIRLPOOL 
16484ab0211ec5181acefb2e687436990c71efea94e042bd31a8c75e4eb71e5f64877b7cb02f8ad7d0e57188dc6d25e483c91c84610888030940fd4cf4a9ce6d

diff --git a/app-doc/diveintopython/diveintopython-2.ebuild 
b/app-doc/diveintopython/diveintopython-2.ebuild
new file mode 100644
index 000..ead1ca4
--- /dev/null
+++ b/app-doc/diveintopython/diveintopython-2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit eutils
+
+MY_PV="5.4"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="'Dive Into Python' by Mark Pilgrim - Python 2.x book"
+HOMEPAGE="http://www.diveintopython.net/;
+SRC_URI="http://www.diveintopython.net/download/${PN}-html-${MY_PV}.zip -> 
${P}.zip"
+LICENSE="FDL-1.1"
+SLOT="2"
+
+KEYWORDS="~amd64 ~ppc64 ~ppc ~x86"
+
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+   default
+}
+
+src_install() {
+   insinto /usr/share/doc/${PN}-${SLOT}
+   doins -r html/*
+   insinto /usr/share/doc/${PN}-${SLOT}/examples
+   doins -r py
+}

diff --git a/app-doc/diveintopython/diveintopython-3.ebuild 
b/app-doc/diveintopython/diveintopython-3.ebuild
new file mode 100644
index 000..6b44e59
--- /dev/null
+++ b/app-doc/diveintopython/diveintopython-3.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit eutils
+
+DESCRIPTION="'Dive Into Python' by Mark Pilgrim - Python 3.x book"
+HOMEPAGE="http://www.diveintopython3.net/;
+SRC_URI="http://dev.gentoo.org/~monsieurp/packages/${P}.zip;
+LICENSE="FDL-1.1"
+SLOT="3"
+
+KEYWORDS="~amd64 ~ppc64 ~ppc ~x86"
+
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${PN}${PV}-master"
+
+src_prepare() {
+   default
+}
+
+src_install() {
+   insinto /usr/share/doc/${PN}-${SLOT}
+   doins -r *
+}

diff --git a/app-doc/diveintopython/metadata.xml 
b/app-doc/diveintopython/metadata.xml
new file mode 100644
index 000..150f83f
--- /dev/null
+++ b/app-doc/diveintopython/metadata.xml
@@ -0,0 +1,15 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+  
+pyt...@gentoo.org
+Python
+  
+  
+ monsie...@gentoo.org
+ Patrice Clement
+  
+  
+ Dive Into Python is a free Python book for experienced programmers.
+  
+