summaryrefslogtreecommitdiff
path: root/dev-python/python-report
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/python-report')
-rw-r--r--dev-python/python-report/files/bugs.kogaion.org.ini9
-rw-r--r--dev-python/python-report/files/bugs.rogentos.ro.ini9
-rw-r--r--dev-python/python-report/files/python-report-0.10-disable-rpm.patch20
-rw-r--r--dev-python/python-report/files/python-report-0.10-fix-version-detection.patch22
-rw-r--r--dev-python/python-report/files/python-report-0.10-kogaion-defaults.patch54
-rw-r--r--dev-python/python-report/files/python-report-0.23-disable-Werror.patch9
-rw-r--r--dev-python/python-report/files/python-report-0.23-disable-rpm.patch19
-rw-r--r--dev-python/python-report/files/python-report-0.23-kogaion-config.patch55
-rw-r--r--dev-python/python-report/python-report-0.10-r1.ebuild63
-rw-r--r--dev-python/python-report/python-report-0.23.ebuild48
10 files changed, 0 insertions, 308 deletions
diff --git a/dev-python/python-report/files/bugs.kogaion.org.ini b/dev-python/python-report/files/bugs.kogaion.org.ini
deleted file mode 100644
index 2bb98c9c..00000000
--- a/dev-python/python-report/files/bugs.kogaion.org.ini
+++ /dev/null
@@ -1,9 +0,0 @@
-[bugs.rogentos.ro]
-# template
-template=bugzilla-template
-
-# rhbz url
-bugzilla_host=bugs.rogentos.ro
-
-# rhbz login, a password is always asked.
-# username=user@example.com
diff --git a/dev-python/python-report/files/bugs.rogentos.ro.ini b/dev-python/python-report/files/bugs.rogentos.ro.ini
deleted file mode 100644
index 2bb98c9c..00000000
--- a/dev-python/python-report/files/bugs.rogentos.ro.ini
+++ /dev/null
@@ -1,9 +0,0 @@
-[bugs.rogentos.ro]
-# template
-template=bugzilla-template
-
-# rhbz url
-bugzilla_host=bugs.rogentos.ro
-
-# rhbz login, a password is always asked.
-# username=user@example.com
diff --git a/dev-python/python-report/files/python-report-0.10-disable-rpm.patch b/dev-python/python-report/files/python-report-0.10-disable-rpm.patch
deleted file mode 100644
index 501bb703..00000000
--- a/dev-python/python-report/files/python-report-0.10-disable-rpm.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-diff -Nurp python-report-0.10.orig/python/report/templates/bugzilla-template/__init__.py python-report-0.10/python/report/templates/bugzilla-template/__init__.py
---- python-report-0.10.orig/python/report/templates/bugzilla-template/__init__.py 2010-04-02 19:32:19.729109477 +0200
-+++ python-report-0.10/python/report/templates/bugzilla-template/__init__.py 2010-04-02 19:32:54.640917830 +0200
-@@ -106,7 +106,6 @@ import filer
- def sendToBugzilla(component, signature, io, bzfiler,
- optionsDict, fileName, fileDescription):
-
-- import rpmUtils.arch
-
- class BugzillaCommunicationException (Exception):
- pass
-@@ -204,7 +203,7 @@ def sendToBugzilla(component, signature,
- bug = withBugzillaDo(bzfiler, lambda b: b.createbug(product=bzfiler.getproduct(),
- component=component,
- version=bzfiler.getversion(),
-- platform=rpmUtils.arch.getBaseArch(),
-+ # platform=rpmUtils.arch.getBaseArch(),
- bug_severity="medium",
- priority="medium",
- op_sys="Linux",
diff --git a/dev-python/python-report/files/python-report-0.10-fix-version-detection.patch b/dev-python/python-report/files/python-report-0.10-fix-version-detection.patch
deleted file mode 100644
index d8f9b955..00000000
--- a/dev-python/python-report/files/python-report-0.10-fix-version-detection.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-diff -Nurp python-report-0.10.orig//python/report/templates/bugzilla-template/filer.py python-report-0.10/python/report/templates/bugzilla-template/filer.py
---- python-report-0.10.orig//python/report/templates/bugzilla-template/filer.py 2010-04-13 23:08:08.849090647 +0200
-+++ python-report-0.10/python/report/templates/bugzilla-template/filer.py 2010-04-13 23:09:20.799052132 +0200
-@@ -61,15 +61,11 @@ def getVersion():
- if os.path.exists(SYSTEM_VERSION_PATH):
- file = open(SYSTEM_VERSION_PATH, "r")
- content = file.read()
-- if content.find("Rawhide") > -1:
-- return "rawhide"
--
-- clist = content.split(" ")
-- i = clist.index("release")
-- return clist[i+1]
-+ file.close()
-+ return content.strip().split()[-1]
- else:
- # default to rawhide
-- return "rawhide"
-+ return "unknown"
-
- class LoginError(Exception):
- """An error occurred while logging into the bug reporting system."""
diff --git a/dev-python/python-report/files/python-report-0.10-kogaion-defaults.patch b/dev-python/python-report/files/python-report-0.10-kogaion-defaults.patch
deleted file mode 100644
index cc158652..00000000
--- a/dev-python/python-report/files/python-report-0.10-kogaion-defaults.patch
+++ /dev/null
@@ -1,54 +0,0 @@
-diff -Nurp python-report-0.10.orig/python/report/templates/bugzilla-template/__init__.py python-report-0.10/python/report/templates/bugzilla-template/__init__.py
---- python-report-0.10.orig/python/report/templates/bugzilla-template/__init__.py 2010-04-02 18:46:19.862030189 +0200
-+++ python-report-0.10/python/report/templates/bugzilla-template/__init__.py 2010-04-02 18:56:47.102924468 +0200
-@@ -55,10 +55,10 @@ def displayURL(optionsDict):
- def bugURL(optionsDict):
- if 'bugURL' in optionsDict:
- return optionsDict["bugURL"]
-- host = "bugzilla.redhat.com"
-+ host = "bugs.rogentos.ro"
- if 'bugzilla_host' in optionsDict:
- host = optionsDict["bugzilla_host"]
-- return "https://" + host + "/xmlrpc.cgi"
-+ return "http://" + host + "/xmlrpc.cgi"
-
- def report(signature, io, optionsDict):
- if not io:
-@@ -130,8 +130,8 @@ def sendToBugzilla(component, signature,
-
- try:
- if not bzfiler:
-- bzfiler = filer.BugzillaFiler("https://bugzilla.redhat.com/xmlrpc.cgi",
-- "http://bugzilla.redhat.com",
-+ bzfiler = filer.BugzillaFiler("http://bugs.rogentos.ro/xmlrpc.cgi",
-+ "http://bugs.rogentos.ro",
- filer.getVersion(), filer.getProduct())
-
- if not bzfiler or not bzfiler.supportsFiling() or not bzfiler.bugUrl:
-diff -Nurp python-report-0.10.orig/python/report/templates/RHEL-template/__init__.py python-report-0.10/python/report/templates/RHEL-template/__init__.py
---- python-report-0.10.orig/python/report/templates/RHEL-template/__init__.py 2010-04-02 18:46:19.862030189 +0200
-+++ python-report-0.10/python/report/templates/RHEL-template/__init__.py 2010-04-02 18:56:33.214921519 +0200
-@@ -55,10 +55,10 @@ def displayURL(optionsDict):
- def bugURL(optionsDict):
- if optionsDict.has_key("bugURL"):
- return optionsDict["bugURL"]
-- host = "bugzilla.redhat.com"
-+ host = "bugs.rogentos.ro"
- if optionsDict.has_key("bugzilla_host"):
- host = optionsDict["bugzilla_host"]
-- return "https://" + host + "/xmlrpc.cgi"
-+ return "http://" + host + "/xmlrpc.cgi"
-
- def report(signature, io, optionsDict):
- if not io:
-@@ -131,8 +131,8 @@ def sendToBugzilla( component, hashmarke
-
- try:
- if not bzfiler:
-- bzfiler = filer.BugzillaFiler("https://bugzilla.redhat.com/xmlrpc.cgi",
-- "http://bugzilla.redhat.com",
-+ bzfiler = filer.BugzillaFiler("http://bugs.rogentos.ro/xmlrpc.cgi",
-+ "http://bugs.rogentos.ro",
- filer.getVersion(), filer.getProduct())
-
- if not bzfiler or not bzfiler.supportsFiling() or not bzfiler.bugUrl:
diff --git a/dev-python/python-report/files/python-report-0.23-disable-Werror.patch b/dev-python/python-report/files/python-report-0.23-disable-Werror.patch
deleted file mode 100644
index e4bdc909..00000000
--- a/dev-python/python-report/files/python-report-0.23-disable-Werror.patch
+++ /dev/null
@@ -1,9 +0,0 @@
---- a/configure.ac
-+++ b/configure.ac
-@@ -1,5 +1,5 @@
- AC_INIT([report], [0.23])
--AM_INIT_AUTOMAKE([-Wall -Werror foreign])
-+AM_INIT_AUTOMAKE([-Wall foreign])
- AC_PROG_CC
- AC_PROG_CXX
- AC_PROG_LIBTOOL
diff --git a/dev-python/python-report/files/python-report-0.23-disable-rpm.patch b/dev-python/python-report/files/python-report-0.23-disable-rpm.patch
deleted file mode 100644
index 4a110930..00000000
--- a/dev-python/python-report/files/python-report-0.23-disable-rpm.patch
+++ /dev/null
@@ -1,19 +0,0 @@
---- a/python/report/plugins/bugzilla/__init__.py
-+++ b/python/report/plugins/bugzilla/__init__.py
-@@ -115,8 +115,6 @@ import filer
- def sendToBugzilla(component, signature, io, bzfiler,
- optionsDict, fileName, fileDescription):
-
-- import rpmUtils.arch
--
- class BugzillaCommunicationException (Exception):
- pass
-
-@@ -298,7 +296,6 @@ def sendToBugzilla(component, signature,
- product=bzfiler.getproduct(),
- component=component,
- version=bzfiler.getversion(),
-- platform=rpmUtils.arch.getBaseArch(),
- bug_severity="medium",
- priority="medium",
- op_sys="Linux",
diff --git a/dev-python/python-report/files/python-report-0.23-kogaion-config.patch b/dev-python/python-report/files/python-report-0.23-kogaion-config.patch
deleted file mode 100644
index dcc99773..00000000
--- a/dev-python/python-report/files/python-report-0.23-kogaion-config.patch
+++ /dev/null
@@ -1,55 +0,0 @@
---- a/etc/Makefile.am
-+++ b/etc/Makefile.am
-@@ -1,11 +1,9 @@
- nobase_dist_sysconf_DATA = \
--report.d/bugzilla.redhat.com.conf \
--report.d/RHEL-bugzilla.redhat.com.conf \
-+report.d/bugs.rogentos.ro.conf \
- report.conf \
- report.d/ftp.conf \
- report.d/scp.conf \
- report.d/localsave.conf \
--report.d/strata-test.conf \
--report.d/RHEL.conf
-+report.d/strata-test.conf
-
- dist_man_MANS = report.conf.5
---- a/etc/report.d/bugs.rogentos.ro.conf
-+++ b/etc/report.d/bugs.rogentos.ro.conf
-@@ -0,0 +1,7 @@
-+[bugs.rogentos.ro]
-+# plugin
-+plugin=bugzilla
-+
-+# rhbz url
-+bugzilla_host=bugs.rogentos.ro
-+
---- a/python/report/plugins/bugzilla/__init__.py
-+++ b/python/report/plugins/bugzilla/__init__.py
-@@ -1,5 +1,5 @@
- """
-- A Report plugin to send a report to bugzilla.redhat.com.
-+ A Report plugin to send a report to bugs.rogentos.ro.
- Copyright (C) 2009 Red Hat, Inc
-
- Author(s): Gavin Romig-Koch <gavin@redhat.com>
-@@ -54,7 +54,7 @@ def displayURL(optionsDict):
- def bugURL(optionsDict):
- if 'bugURL' in optionsDict:
- return optionsDict["bugURL"]
-- host = "bugzilla.redhat.com"
-+ host = "bugs.rogentos.ro"
- if 'bugzilla_host' in optionsDict:
- host = optionsDict["bugzilla_host"]
- return "https://" + host + "/xmlrpc.cgi"
-@@ -149,8 +149,8 @@ def sendToBugzilla(component, signature,
- else:
- version = filer.getVersion()
-
-- bzfiler = filer.BugzillaFiler("https://bugzilla.redhat.com/xmlrpc.cgi",
-- "http://bugzilla.redhat.com",
-+ bzfiler = filer.BugzillaFiler("https://bugs.rogentos.ro/xmlrpc.cgi",
-+ "http://bugs.rogentos.ro",
- version, product)
-
- if not bzfiler or not bzfiler.supportsFiling() or not bzfiler.bugUrl:
diff --git a/dev-python/python-report/python-report-0.10-r1.ebuild b/dev-python/python-report/python-report-0.10-r1.ebuild
deleted file mode 100644
index cd4a57b6..00000000
--- a/dev-python/python-report/python-report-0.10-r1.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI="3"
-
-EGIT_REPO_URI="git://git.fedorahosted.org/report.git"
-EGIT_COMMIT="${PV}"
-inherit base git-2 autotools eutils
-
-DESCRIPTION="Provides a single configurable problem/bug/issue reporting API."
-HOMEPAGE="http://git.fedoraproject.org/git/?p=report.git;a=summary"
-SRC_URI=""
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND="app-arch/rpm
- net-misc/curl"
-RDEPEND="dev-libs/openssl
- net-misc/curl
- dev-libs/libxml2"
-
-src_prepare() {
-
- epatch "${FILESDIR}"/${P}-kogaion-defaults.patch
- epatch "${FILESDIR}"/${P}-disable-rpm.patch
- epatch "${FILESDIR}"/${P}-fix-version-detection.patch
-
- eautoreconf || die "cannot run eautoreconf"
- autoreconf -i || die "wtf"
- eautomake || die "cannot run eautomake"
-}
-
-src_configure() {
- econf --prefix=/usr || die "configure failed"
-}
-
-src_compile() {
- # workaround crappy build system
- mkdir -p "${S}/python/report/templates/RHEL-template/bugzillaCopy"
- touch "${S}/python/report/templates/RHEL-template/bugzillaCopy/VERSION"
-
- emake || die "make failed"
-}
-
-src_install() {
- base_src_install
-
- # remove Red Hat stuff
- rm "${D}"/etc/report.d/RHEL.ini
- rm "${D}"/etc/report.d/dropbox.redhat.com.ini
- rm "${D}"/etc/report.d/bugzilla.redhat.com.ini
-
- # XXX: {not yet implemented} install Kogaion configuration
- # cp "${FILESDIR}"/bugs.rogentos.ro.ini "${D}/etc/report.d/"
- find "${D}"/ -name "bugzilla-template" -type d | xargs rm -rf
- find "${D}"/ -name "RHEL-template" -type d | xargs rm -rf
- find "${D}"/ -name "strata-template" -type d | xargs rm -rf
-
-}
diff --git a/dev-python/python-report/python-report-0.23.ebuild b/dev-python/python-report/python-report-0.23.ebuild
deleted file mode 100644
index ae84131b..00000000
--- a/dev-python/python-report/python-report-0.23.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=5
-
-EGIT_REPO_URI="git://git.fedorahosted.org/report.git"
-EGIT_COMMIT="${PV}"
-inherit git-2 autotools eutils
-
-DESCRIPTION="Provides a single configurable problem/bug/issue reporting API."
-HOMEPAGE="http://git.fedoraproject.org/git/?p=report.git;a=summary"
-SRC_URI=""
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND="app-arch/rpm
- net-misc/curl"
-RDEPEND="dev-libs/openssl
- net-misc/curl
- dev-libs/libxml2
- >=app-misc/kogaion-version-1.2"
-
-src_prepare() {
-
- epatch "${FILESDIR}"/${P}-kogaion-config.patch
- epatch "${FILESDIR}"/${P}-disable-rpm.patch
- epatch "${FILESDIR}"/${P}-disable-Werror.patch
-
- eautoreconf || die "cannot run eautoreconf"
-}
-
-src_configure() {
- econf --prefix=/usr || die "configure failed"
-
- # Create some kind of version file to suit the build system
- mkdir -p "${S}"/python/report/plugins/RHEL-bugzilla/bugzillaCopy || die
- touch "${S}"/python/report/plugins/RHEL-bugzilla/bugzillaCopy/VERSION || die
-}
-
-src_install() {
- default
- # remove Red Hat stuff
- rm -rf "${D}"/python/report/plugins/{strata,RHEL-bugzilla} || die
-}