[gentoo-commits] repo/user/ssnb:master commit in: dev-util/rpmlint/

2020-06-12 Thread Samuel Bernardo
commit: 662fdb06edffd96000fa30da57490ea75d9fe8f5
Author: Samuel Bernardo  gmail  com>
AuthorDate: Fri Jun 12 21:46:13 2020 +
Commit: Samuel Bernardo  gmail  com>
CommitDate: Fri Jun 12 21:46:13 2020 +
URL:https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=662fdb06

Update rpmlint now supporting python3

Signed-off-by: Samuel Bernardo  gmail.com>

 dev-util/rpmlint/Manifest | 5 ++---
 dev-util/rpmlint/{rpmlint-1.10.ebuild => rpmlint-1.11.ebuild} | 0
 dev-util/rpmlint/rpmlint-1.5.ebuild   | 1 -
 dev-util/rpmlint/rpmlint-.ebuild  | 9 +
 4 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/dev-util/rpmlint/Manifest b/dev-util/rpmlint/Manifest
index 941d284..f569181 100644
--- a/dev-util/rpmlint/Manifest
+++ b/dev-util/rpmlint/Manifest
@@ -1,4 +1,3 @@
 AUX fedora.config 9778 BLAKE2B 
18ec007c92cea5ee444f18f15e94ac5e8d682cd4d475a97a7f362a16665b85bd5a5a94cdaf0b77b4f309f0dbf36e3d9cc80adae3619bc8aa30b63894facf4c00
 SHA512 
999d646d8df3fc4ebbcd67017673408b1d35ce7807054b0f4f025415d8611ca26a87cb4b41b011f1e6f0ac2916aca69d90f3f754065453d61f23ef1a1e281bfa
-EBUILD rpmlint-1.10.ebuild 1010 BLAKE2B 
4fe53a0e355d1cd0cf96d4e396e0bc8c54ed5fe11124747d4cd759a6d8fe970c42f5fc0fbd6053d499041e67eba9f2696d77aeeb616bc5d583d1fbc84f033e9d
 SHA512 
e4c0c8b2c60abd4aa629043e7b906347d778a0ed7e4e9557e3a854b25397b55ea669245f0cea212eb4808e3bee6841240196b9a35664f50c9edc205ba0440989
-EBUILD rpmlint-1.5.ebuild 1010 BLAKE2B 
4fe53a0e355d1cd0cf96d4e396e0bc8c54ed5fe11124747d4cd759a6d8fe970c42f5fc0fbd6053d499041e67eba9f2696d77aeeb616bc5d583d1fbc84f033e9d
 SHA512 
e4c0c8b2c60abd4aa629043e7b906347d778a0ed7e4e9557e3a854b25397b55ea669245f0cea212eb4808e3bee6841240196b9a35664f50c9edc205ba0440989
-EBUILD rpmlint-.ebuild 1010 BLAKE2B 
4fe53a0e355d1cd0cf96d4e396e0bc8c54ed5fe11124747d4cd759a6d8fe970c42f5fc0fbd6053d499041e67eba9f2696d77aeeb616bc5d583d1fbc84f033e9d
 SHA512 
e4c0c8b2c60abd4aa629043e7b906347d778a0ed7e4e9557e3a854b25397b55ea669245f0cea212eb4808e3bee6841240196b9a35664f50c9edc205ba0440989
+EBUILD rpmlint-1.11.ebuild 1038 BLAKE2B 
08eea34d3b86189b1ae1cbf7c877c56ef23706d353e40173e4b170f5058b164bfcbf6c9eb2317f4b08fc93afbec2176600aec4c150f988878addcd582cd10a11
 SHA512 
98d049d26a58bd58da5148bc73affdec71aaefd6ee51c06387eff3a6cb6f194cf3ef855621e938eba184a1d833a6fdfed2e7ff0339ebeb489dc3c4079360e505
+EBUILD rpmlint-.ebuild 1038 BLAKE2B 
08eea34d3b86189b1ae1cbf7c877c56ef23706d353e40173e4b170f5058b164bfcbf6c9eb2317f4b08fc93afbec2176600aec4c150f988878addcd582cd10a11
 SHA512 
98d049d26a58bd58da5148bc73affdec71aaefd6ee51c06387eff3a6cb6f194cf3ef855621e938eba184a1d833a6fdfed2e7ff0339ebeb489dc3c4079360e505

diff --git a/dev-util/rpmlint/rpmlint-1.10.ebuild 
b/dev-util/rpmlint/rpmlint-1.11.ebuild
similarity index 100%
rename from dev-util/rpmlint/rpmlint-1.10.ebuild
rename to dev-util/rpmlint/rpmlint-1.11.ebuild

diff --git a/dev-util/rpmlint/rpmlint-1.5.ebuild 
b/dev-util/rpmlint/rpmlint-1.5.ebuild
deleted file mode 12
index dc1570b..000
--- a/dev-util/rpmlint/rpmlint-1.5.ebuild
+++ /dev/null
@@ -1 +0,0 @@
-rpmlint-.ebuild
\ No newline at end of file

diff --git a/dev-util/rpmlint/rpmlint-.ebuild 
b/dev-util/rpmlint/rpmlint-.ebuild
index cad98b1..e82bc9c 100644
--- a/dev-util/rpmlint/rpmlint-.ebuild
+++ b/dev-util/rpmlint/rpmlint-.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2019 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
-PYTHON_COMPAT=( python2_7 )
+EAPI=7
+PYTHON_COMPAT=( python3_6 )
 
-inherit python-single-r1 git-r3
+inherit python-r1 git-r3
 #inherit python-single-r1
 #[ "${PV}" =  ] && inherit git-r3
 
@@ -21,6 +21,7 @@ fi
 LICENSE="GPL-2"
 SLOT="0"
 [ "${PV}" =  ] || KEYWORDS="~amd64 ~x86"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 COMMON_DEPEND="
${PYTHON_DEPS}



[gentoo-commits] repo/user/ssnb:master commit in: dev-util/rpmlint/, dev-util/rpmlint/files/

2019-01-03 Thread Samuel Bernardo
commit: 91c074a40b6a538d3ea8bc9986eda7c82d943046
Author: Samuel Bernardo  tecnico  ulisboa  pt>
AuthorDate: Thu Jan  3 16:49:47 2019 +
Commit: Samuel Bernardo  gmail  com>
CommitDate: Thu Jan  3 22:10:26 2019 +
URL:https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=91c074a4

add rpmlint ebuild

Signed-off-by: Samuel Bernardo  gmail.com>

 dev-util/rpmlint/Manifest|   4 +
 dev-util/rpmlint/files/fedora.config | 419 +++
 dev-util/rpmlint/rpmlint-1.10.ebuild |   1 +
 dev-util/rpmlint/rpmlint-1.5.ebuild  |   1 +
 dev-util/rpmlint/rpmlint-.ebuild |  43 
 5 files changed, 468 insertions(+)

diff --git a/dev-util/rpmlint/Manifest b/dev-util/rpmlint/Manifest
new file mode 100644
index 000..941d284
--- /dev/null
+++ b/dev-util/rpmlint/Manifest
@@ -0,0 +1,4 @@
+AUX fedora.config 9778 BLAKE2B 
18ec007c92cea5ee444f18f15e94ac5e8d682cd4d475a97a7f362a16665b85bd5a5a94cdaf0b77b4f309f0dbf36e3d9cc80adae3619bc8aa30b63894facf4c00
 SHA512 
999d646d8df3fc4ebbcd67017673408b1d35ce7807054b0f4f025415d8611ca26a87cb4b41b011f1e6f0ac2916aca69d90f3f754065453d61f23ef1a1e281bfa
+EBUILD rpmlint-1.10.ebuild 1010 BLAKE2B 
4fe53a0e355d1cd0cf96d4e396e0bc8c54ed5fe11124747d4cd759a6d8fe970c42f5fc0fbd6053d499041e67eba9f2696d77aeeb616bc5d583d1fbc84f033e9d
 SHA512 
e4c0c8b2c60abd4aa629043e7b906347d778a0ed7e4e9557e3a854b25397b55ea669245f0cea212eb4808e3bee6841240196b9a35664f50c9edc205ba0440989
+EBUILD rpmlint-1.5.ebuild 1010 BLAKE2B 
4fe53a0e355d1cd0cf96d4e396e0bc8c54ed5fe11124747d4cd759a6d8fe970c42f5fc0fbd6053d499041e67eba9f2696d77aeeb616bc5d583d1fbc84f033e9d
 SHA512 
e4c0c8b2c60abd4aa629043e7b906347d778a0ed7e4e9557e3a854b25397b55ea669245f0cea212eb4808e3bee6841240196b9a35664f50c9edc205ba0440989
+EBUILD rpmlint-.ebuild 1010 BLAKE2B 
4fe53a0e355d1cd0cf96d4e396e0bc8c54ed5fe11124747d4cd759a6d8fe970c42f5fc0fbd6053d499041e67eba9f2696d77aeeb616bc5d583d1fbc84f033e9d
 SHA512 
e4c0c8b2c60abd4aa629043e7b906347d778a0ed7e4e9557e3a854b25397b55ea669245f0cea212eb4808e3bee6841240196b9a35664f50c9edc205ba0440989

diff --git a/dev-util/rpmlint/files/fedora.config 
b/dev-util/rpmlint/files/fedora.config
new file mode 100644
index 000..cf6c52b
--- /dev/null
+++ b/dev-util/rpmlint/files/fedora.config
@@ -0,0 +1,419 @@
+# -*- python -*-
+
+# System wide rpmlint default configuration.  Do not modify, override/add
+# options in /etc/rpmlint/config and/or ~/.rpmlintrc as needed.
+
+import os.path
+import re
+import sys
+
+from Config import *
+import Pkg
+
+
+setOption("CompressExtension", "gz")
+setOption("DefaultPythonVersion", sys.version[:3])
+setOption("KernelModuleRPMsOK", False)
+setOption("MaxLineLength", 80)
+setOption("NetworkEnabled", True)
+setOption("ReleaseExtension", '\.(fc|rhe?l|el)\d+(?=\.|$)')
+setOption("UseDefaultRunlevels", False)
+setOption("UseEpoch", False)
+setOption("UseUTF8", True)
+setOption("UseVersionInChangeLog", True)
+setOption("ValidSrcPerms", (int("664",8), int("644",8), ))
+
+setOption("ValidShells", (
+"",
+"/bin/sh",
+"/bin/bash",
+"/sbin/ldconfig",
+"/usr/bin/perl",
+"/usr/bin/python",
+))
+
+setOption("DanglingSymlinkExceptions", (
+['consolehelper$', 'usermode'],
+['consolehelper-gtk$', 'usermode-gtk'],
+))
+
+setOption("ValidLicenses", (
+# These are the short names for all of the Fedora approved licenses.
+# The master list is kept here: http://fedoraproject.org/wiki/Licensing
+# Last synced with revision "2.20, 9 February 2014" of that page.
+'AAL',
+'Abstyles',
+'Adobe',
+'ADSL',
+'AFL',
+'Afmparse',
+'AGPLv1',
+'AGPLv3',
+'AGPLv3+',
+'AGPLv3 with exceptions',
+'AMDPLPA',
+'AML',
+'AMPAS BSD',
+'APAFML',
+'APSL 2.0',
+'APSL 2.0+',
+'ARL',
+'Artistic 2.0',
+'Artistic clarified',
+'ASL 1.0',
+'ASL 1.0+',
+'ASL 1.1',
+'ASL 1.1+',
+'ASL 2.0',
+'ASL 2.0+',
+'Bahyph',
+'Barr',
+'Beerware',
+'BeOpen',
+'Bibtex',
+'BitTorrent',
+'Boost',
+'Borceux',
+'BSD',
+'BSD Protection',
+'BSD with advertising',
+'BSD with attribution',
+'CATOSL',
+'CC0',
+'CeCILL',
+'CeCILL-B',
+'CeCILL-C',
+'CDDL',
+'CNRI',
+'Condor',
+'Copyright only',
+'CPAL',
+'CPL',
+'Crossword',
+'Crystal Stacker',
+'Cube',
+'diffmark',
+'DMIT',
+'DOC',
+'Dotseqn',
+'DSDP',
+'dvipdfm',
+'ECL 1.0',
+'ECL 2.0',
+'eCos',
+'EFL 2.0',
+'EFL 2.0+',
+'eGenix',
+'Entessa',
+'EPL',
+'ERPL',
+'EU Datagrid',
+'EUPL 1.1',
+'Eurosym',
+'Fair',
+'FSFUL',
+'FSFULLR',
+'FTL',
+'Giftware',
+'GL2PS',
+'Glide',
+'Glulxe',
+'gnuplot',
+'GPL+',
+'GPL+ or Artistic',
+'GPL+ with exceptions',
+'GPLv1',
+'GPLv2 or Artistic',
+'GPLv2+ or Artistic',
+'GPLv2',
+'GPLv2 with exceptions',
+'GPLv2+',
+'GPLv2+ with exceptions',