[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/p9m4/files/, sci-mathematics/p9m4/

2020-01-12 Thread Mikle Kolyada
commit: 10a3c68f62370378259762b94fb9689231358ece
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun Jan 12 17:47:04 2020 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun Jan 12 17:47:12 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10a3c68f

sci-mathematics/p9m4: remove last-rited pkg

Signed-off-by: Mikle Kolyada  gentoo.org>

 sci-mathematics/p9m4/Manifest  |  2 -
 sci-mathematics/p9m4/files/p9m4-v05-package.patch  | 67 
 .../p9m4/files/p9m4-v05-python2.6.patch| 44 ---
 .../p9m4/files/p9m4-v05-use-inst-paths.patch   | 42 --
 sci-mathematics/p9m4/metadata.xml  | 17 
 sci-mathematics/p9m4/p9m4-05-r1.ebuild | 92 --
 6 files changed, 264 deletions(-)

diff --git a/sci-mathematics/p9m4/Manifest b/sci-mathematics/p9m4/Manifest
deleted file mode 100644
index ec27d132fe6..000
--- a/sci-mathematics/p9m4/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST p9m4-v05-64bit.patch.bz2 5095 BLAKE2B 
b49ee327ee9f05403d68d61eb162d6a9dd4b5786adb625eebbe7e6d2f47c36e54ec05e0594bc82a4152f7d92f88b8f2ac044732dc3df72c710c0ef3fbde560d7
 SHA512 
b80ea7ae9b652b55eee2542ba8d45712871e56dfda2e97bae2011a521e732d221a5c6a36ba33269a80f02ddc98a8f3c2470c7e832fc2b79331e7cca551aa7a36
-DIST p9m4-v05.tar.gz 889707 BLAKE2B 
09407ba998e72b2b90b96a90e668114c16bd4c15d853354f8e86cc5b1ea0533f99548a35f048f504e40f61702b95de197309f22abd7b3e38fabef6dbfcc06280
 SHA512 
6ed8f3a5ab6e6b876eee388ab0f1bc535e60432317131657ba518781912f0f851aeab361d0169f96e29538130d691cf2d3798135e2386a7793799f0c4931120e

diff --git a/sci-mathematics/p9m4/files/p9m4-v05-package.patch 
b/sci-mathematics/p9m4/files/p9m4-v05-package.patch
deleted file mode 100644
index 9ca737ce2ff..000
--- a/sci-mathematics/p9m4/files/p9m4-v05-package.patch
+++ /dev/null
@@ -1,67 +0,0 @@
 p9m4-v05-orig/setup.py 2007-11-17 09:31:26.0 +1100
-+++ p9m4-v05/setup.py  2012-07-02 23:48:21.753760992 +1000
-@@ -26,23 +26,24 @@
- 
- from setuptools import setup
- 
--APP = ['prover9-mace4.py']
--DATA_FILES = ['platforms.py',
-- 'utilities.py',
-- 'wx_utilities.py',
-- 'files.py',
-- 'options.py',
-- 'partition_input.py',
-- 'my_setup.py',
-- 'control.py',
-- 'Images',
-- 'Samples',
-- 'bin-mac']
--OPTIONS = {'argv_emulation': True, 'iconfile': '/Users/mccune/gui/v4/p9.icns'}
-+OPTIONS = {'argv_emulation': True, 'iconfile': 
'/usr/share/p9m4/Images/p9.ico'}
- 
- setup(
--app=APP,
--data_files=DATA_FILES,
--options={'py2app': OPTIONS},
--setup_requires=['py2app'],
-+name='p9m4',
-+version='05',
-+scripts=['prover9-mace4.py'],
-+package_dir = {'p9m4': 'p9m4'},
-+py_modules=['p9m4.platforms',
-+ 'p9m4.utilities',
-+ 'p9m4.wx_utilities',
-+ 'p9m4.files',
-+ 'p9m4.options',
-+ 'p9m4.partition_input',
-+ 'p9m4.my_setup',
-+ 'p9m4.control'],
-+# remove py2app
-+# https://bugs.gentoo.org/show_bug.cgi?id=423555
-+# sci-mathematics/p9m4-05: tries to use network during install
-+# options={'py2app': OPTIONS},
-+# setup_requires=['py2app'],
- )
 p9m4-v05-orig/prover9-mace4.py 2007-12-08 03:27:13.0 +1100
-+++ p9m4-v05/prover9-mace4.py  2012-01-08 18:12:09.970620044 +1100
-@@ -27,13 +27,13 @@
- 
- # local imports
- 
--import partition_input
--import utilities
--from files import *
--from platforms import *
--from wx_utilities import *
--from my_setup import *
--from control import *
-+import p9m4.partition_input
-+import p9m4.utilities
-+from p9m4.files import *
-+from p9m4.platforms import *
-+from p9m4.wx_utilities import *
-+from p9m4.my_setup import *
-+from p9m4.control import *
- 
- Program_name = 'Prover9-Mace4'
- Program_version = '0.5'

diff --git a/sci-mathematics/p9m4/files/p9m4-v05-python2.6.patch 
b/sci-mathematics/p9m4/files/p9m4-v05-python2.6.patch
deleted file mode 100644
index 70cb006d268..000
--- a/sci-mathematics/p9m4/files/p9m4-v05-python2.6.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-diff -Nur p9m4-0.5/my_setup.py p9m4-0.5.new/my_setup.py
 p9m4-0.5/my_setup.py   2008-01-14 23:30:55.0 +
-+++ p9m4-0.5.new/my_setup.py   2008-01-14 23:35:45.0 +
-@@ -158,7 +158,9 @@
- self.ed.SetStyle(start, end,
-  wx.TextAttr('RED',
-  wx.Colour(200,200,255)))
--error_dialog('%s\n%s' % (message,error if error else ''))
-+error_dialog('%s\n%s' % (message,error))
-+else:
-+error_dialog(message)
- else:
- frame = Text_frame(self, to_top(self).box_font,
-'Error Output',
-diff -Nur p9m4-0.5/partition_input.py p9m4-0.5.new/partition_input.py
 p9m4-0.5/partition_input.py2008-01-14 23:30:55.0 +
-+++ 

[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/p9m4/

2019-05-02 Thread Aaron Bauman
commit: 0215de3511026ab38633419f287acb87dc9b79e5
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Mon Apr 29 10:48:01 2019 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Fri May  3 01:03:51 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0215de35

sci-mathematics/p9m4: use HTTPS

Signed-off-by: Michael Mair-Keimberger  gmail.com>
Signed-off-by: Aaron Bauman  gentoo.org>

 sci-mathematics/p9m4/p9m4-05-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-mathematics/p9m4/p9m4-05-r1.ebuild 
b/sci-mathematics/p9m4/p9m4-05-r1.ebuild
index 16bb1c83dee..29cb679eeb2 100644
--- a/sci-mathematics/p9m4/p9m4-05-r1.ebuild
+++ b/sci-mathematics/p9m4/p9m4-05-r1.ebuild
@@ -11,9 +11,9 @@ MY_PN="p9m4-v"
 MY_P="${MY_PN}${PV}"
 
 DESCRIPTION="This is a Graphical User Interface for Prover9 and Mace4"
-HOMEPAGE="http://www.cs.unm.edu/~mccune/mace4/;
+HOMEPAGE="https://www.cs.unm.edu/~mccune/mace4/;
 SRC_URI="
-   http://www.cs.unm.edu/~mccune/prover9/gui/${MY_P}.tar.gz
+   https://www.cs.unm.edu/~mccune/prover9/gui/${MY_P}.tar.gz

https://dev.gentoo.org/~gienah/2big4tree/sci-mathematics/p9m4/p9m4-v05-64bit.patch.bz2;
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/p9m4/

2019-04-21 Thread David Seifert
commit: 011956bb5a1162099ba62439d00f65bfdb28f957
Author: David Seifert  gentoo  org>
AuthorDate: Sun Apr 21 14:01:16 2019 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Apr 21 14:01:16 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=011956bb

sci-mathematics/p9m4: [QA] Call distutils-r1_python_install_all

* EAPI 7

Closes: https://bugs.gentoo.org/683180
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: David Seifert  gentoo.org>

 sci-mathematics/p9m4/p9m4-05-r1.ebuild | 84 ++
 1 file changed, 34 insertions(+), 50 deletions(-)

diff --git a/sci-mathematics/p9m4/p9m4-05-r1.ebuild 
b/sci-mathematics/p9m4/p9m4-05-r1.ebuild
index a97703003be..16bb1c83dee 100644
--- a/sci-mathematics/p9m4/p9m4-05-r1.ebuild
+++ b/sci-mathematics/p9m4/p9m4-05-r1.ebuild
@@ -1,10 +1,9 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="5"
+EAPI=7
 
 PYTHON_COMPAT=( python2_7 )
-DISTUTILS_SINGLE_IMPL=1
 
 inherit distutils-r1
 
@@ -13,42 +12,42 @@ MY_P="${MY_PN}${PV}"
 
 DESCRIPTION="This is a Graphical User Interface for Prover9 and Mace4"
 HOMEPAGE="http://www.cs.unm.edu/~mccune/mace4/;
-SRC_URI="http://www.cs.unm.edu/~mccune/prover9/gui/${MY_P}.tar.gz
-   
https://dev.gentoo.org/~gienah/2big4tree/sci-mathematics/p9m4/p9m4-v05-64bit.patch.bz2;
+SRC_URI="
+   http://www.cs.unm.edu/~mccune/prover9/gui/${MY_P}.tar.gz
+   
https://dev.gentoo.org/~gienah/2big4tree/sci-mathematics/p9m4/p9m4-v05-64bit.patch.bz2;
 
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="examples"
 
-RDEPEND="dev-python/wxpython:*
-   sci-mathematics/prover9"
-DEPEND="${RDEPEND}
-   dev-python/setuptools"
+RDEPEND="
+   dev-python/wxpython[${PYTHON_USEDEP}]
+   sci-mathematics/prover9"
+DEPEND="
+   ${RDEPEND}
+   dev-python/setuptools[${PYTHON_USEDEP}]"
 
-PATCHES=( "${DISTDIR}/${MY_PN}05-64bit.patch.bz2"
-   "${FILESDIR}/${MY_PN}05-use-inst-paths.patch"
-   "${FILESDIR}/${MY_PN}05-package.patch"
-   "${FILESDIR}/${MY_PN}05-python2.6.patch" )
+PATCHES=(
+   "${WORKDIR}"/${MY_PN}05-64bit.patch
+   "${FILESDIR}"/${MY_PN}05-use-inst-paths.patch
+   "${FILESDIR}"/${MY_PN}05-package.patch
+   "${FILESDIR}"/${MY_PN}05-python2.6.patch
+)
 
-S="${WORKDIR}/${MY_P}/"
-
-python_check_deps() {
-   has_version "dev-python/foo[${PYTHON_USEDEP}]"
-}
-
-pkg_setup() {
-   python-single-r1_pkg_setup
-}
+S="${WORKDIR}/${MY_P}"
 
 python_prepare_all() {
-   rm -f p9m4-v05/bin/prover9 \
+   distutils-r1_python_prepare_all
+
+   rm -f \
+   p9m4-v05/bin/prover9 \
p9m4-v05/bin/mace4 \
p9m4-v05/bin/interpformat \
p9m4-v05/bin/prooftrans \
p9m4-v05/bin/isofilter \
p9m4-v05/bin/isofilter2 || die "Could not rm old executables"
-   distutils-r1_python_prepare_all
+
mkdir p9m4 || die "Could not create directory p9m4"
mv Mac-setup.py \
Win32-setup.py \
@@ -67,42 +66,27 @@ python_prepare_all() {
 }
 
 python_install_all() {
-   dosym /usr/bin/prover9-mace4.py /usr/bin/prover9-mace4
-   insinto /usr/share
-   dodir /usr/share/${PN}/Images
+   distutils-r1_python_install_all
+
+   dosym prover9-mace4.py /usr/bin/prover9-mace4
+
insinto /usr/share/${PN}/Images
-   cd "${S}/Images" \
-   || die "Could not cd to Images"
-   doins *.gif *.ico
+   doins Images/*.{gif,ico}
+
if use examples; then
-   dodir /usr/share/${PN}/Samples
insinto /usr/share/${PN}/Samples
-   cd "${S}/Samples" \
-   || die "Could not cd to Samples"
-   doins *.in
+   doins Samples/*.in
 
-   dodir /usr/share/${PN}/Samples/Equality/Mace4
insinto /usr/share/${PN}/Samples/Equality/Mace4
-   cd "${S}/Samples/Equality/Mace4" \
-   || die "Could not cd to Samples/Equality/Mace4"
-   doins *.in
+   doins Samples/Equality/Mace4/*.in
 
-   dodir /usr/share/${PN}/Samples/Equality/Prover9
insinto /usr/share/${PN}/Samples/Equality/Prover9
-   cd "${S}/Samples/Equality/Prover9" \
-   || die "Could not cd to Samples/Equality/Prover9"
-   doins *.in
+   doins Samples/Equality/Prover9/*.in
 
-   dodir /usr/share/${PN}/Samples/Non-Equality/Mace4
insinto /usr/share/${PN}/Samples/Non-Equality/Mace4
-   cd "${S}/Samples/Non-Equality/Mace4" \
-   || die "Could cd to Samples/Non-Equality/Mace4"
-   doins *.in
+   doins Samples/Non-Equality/Mace4/*.in
 
-   dodir