Gentoo Archives: gentoo-commits

From: Mikle Kolyada <zlogene@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/factmsieve/, sci-mathematics/factmsieve/files/
Date: Sun, 12 Jan 2020 17:39:09
Message-Id: 1578850735.50ad243e8614932bb1045b97f8060bfa2add8057.zlogene@gentoo
1 commit: 50ad243e8614932bb1045b97f8060bfa2add8057
2 Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 12 17:38:55 2020 +0000
4 Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 12 17:38:55 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50ad243e
7
8 sci-mathematics/factmsieve: remove last-rited pkg
9
10 Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
11
12 sci-mathematics/factmsieve/Manifest | 1 -
13 sci-mathematics/factmsieve/factmsieve-76-r1.ebuild | 31 -------------
14 .../factmsieve/files/factmsieve-76.patch | 52 ----------------------
15 sci-mathematics/factmsieve/metadata.xml | 8 ----
16 4 files changed, 92 deletions(-)
17
18 diff --git a/sci-mathematics/factmsieve/Manifest b/sci-mathematics/factmsieve/Manifest
19 deleted file mode 100644
20 index 4100ac3fa18..00000000000
21 --- a/sci-mathematics/factmsieve/Manifest
22 +++ /dev/null
23 @@ -1 +0,0 @@
24 -DIST factmsieve.76.zip 19563 BLAKE2B 466378c331f47fd302768b0902a1753e512bbebda0582916fb720045dea044873ea36849de11acc6016b6013aaa20634c84d8e987af3c6fa96358b54e47dc681 SHA512 b07b0676a635ff746b1edfaf064d27388df8f9c5c2fe1bd1e80d4c839c6e518e3a0b39a06b76f3d59c9fa3f4cc99df0831ba6309a2a7d2eb779b952a29996431
25
26 diff --git a/sci-mathematics/factmsieve/factmsieve-76-r1.ebuild b/sci-mathematics/factmsieve/factmsieve-76-r1.ebuild
27 deleted file mode 100644
28 index b8e607498d3..00000000000
29 --- a/sci-mathematics/factmsieve/factmsieve-76-r1.ebuild
30 +++ /dev/null
31 @@ -1,31 +0,0 @@
32 -# Copyright 1999-2016 Gentoo Foundation
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=6
36 -
37 -PYTHON_COMPAT=( python2_7 )
38 -
39 -inherit python-single-r1
40 -
41 -DESCRIPTION="Convenient factorization helper script using msieve and ggnfs"
42 -HOMEPAGE="http://gladman.plushost.co.uk/oldsite/computing/factoring.php"
43 -SRC_URI="http://gladman.plushost.co.uk/oldsite/computing/${PN}.${PV}.zip"
44 -
45 -LICENSE="BSD"
46 -SLOT="0"
47 -KEYWORDS="~amd64 ~x86"
48 -IUSE=""
49 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
50 -
51 -RDEPEND="${PYTHON_DEPS}
52 - sci-mathematics/msieve
53 - sci-mathematics/ggnfs"
54 -DEPEND=""
55 -
56 -S="${WORKDIR}"
57 -PATCHES=( "${FILESDIR}/${P}.patch" )
58 -
59 -src_install() {
60 - python_fix_shebang ${PN}.py
61 - dobin ${PN}.py
62 -}
63
64 diff --git a/sci-mathematics/factmsieve/files/factmsieve-76.patch b/sci-mathematics/factmsieve/files/factmsieve-76.patch
65 deleted file mode 100644
66 index eaf50efaecc..00000000000
67 --- a/sci-mathematics/factmsieve/files/factmsieve-76.patch
68 +++ /dev/null
69 @@ -1,52 +0,0 @@
70 ---- a/factmsieve.py
71 -+++ b/factmsieve.py
72 -@@ -1,3 +1,4 @@
73 -+#!/usr/bin/env python
74 - # factmsieve.py - A Python driver for GGNFS and MSIEVE
75 - #
76 - # Copyright (c) 2010, Brian Gladman
77 -@@ -56,9 +57,12 @@
78 - import time, subprocess, gzip, glob, math, tempfile, datetime
79 - import atexit, threading, collections, multiprocessing, platform
80 -
81 -+# need to save pwd
82 -+CUR_DIR=os.path.realpath(os.curdir)
83 -+
84 - # Set binary directory paths
85 --GGNFS_PATH = '../../bin/x64/Release/'
86 --MSIEVE_PATH = '../../../msieve/build.vc10/x64/Release/'
87 -+GGNFS_PATH = '/usr/bin/'
88 -+MSIEVE_PATH = '/usr/bin/'
89 -
90 - # Set the number of CPU cores and threads
91 - NUM_CORES = 4
92 -@@ -69,7 +73,7 @@
93 - # number of linear algebra threads to launch
94 - LA_THREADS = NUM_CORES * THREADS_PER_CORE
95 -
96 --USE_CUDA = True
97 -+USE_CUDA = False
98 - GPU_NUM = 0
99 - MSIEVE_POLY_TIME_LIMIT = 0
100 -
101 -@@ -103,8 +107,8 @@
102 -
103 - # default parameter files
104 -
105 --DEFAULT_PAR_FILE = GGNFS_PATH + 'def-par.txt'
106 --DEFAULT_POLSEL_PAR_FILE = GGNFS_PATH + 'def-nm-params.txt'
107 -+DEFAULT_PAR_FILE = '/usr/share/doc/ggnfs/def-par.txt'
108 -+DEFAULT_POLSEL_PAR_FILE = '/usr/share/doc/ggnfs/def-nm-params.txt'
109 -
110 - # temporary files
111 -
112 -@@ -258,7 +262,8 @@
113 - # write string to log(s):
114 -
115 - def write_string_to_log(s):
116 -- with open(LOGNAME, 'a') as out_f:
117 -+ # XXX hax
118 -+ with open(CUR_DIR+'/'+LOGNAME, 'a') as out_f:
119 - print(date_time_string() + s, file = out_f)
120 -
121 - def output(s, console = True, log = True):
122
123 diff --git a/sci-mathematics/factmsieve/metadata.xml b/sci-mathematics/factmsieve/metadata.xml
124 deleted file mode 100644
125 index 40aa45df2b0..00000000000
126 --- a/sci-mathematics/factmsieve/metadata.xml
127 +++ /dev/null
128 @@ -1,8 +0,0 @@
129 -<?xml version="1.0" encoding="UTF-8"?>
130 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
131 -<pkgmetadata>
132 - <maintainer type="person">
133 - <email>patrick@g.o</email>
134 - <name>Patrick Lauer</name>
135 - </maintainer>
136 -</pkgmetadata>