From 5d708933a373a01099b0621759960e0ff3533528 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Tue, 15 Nov 2016 21:43:59 -0500 Subject: [PATCH] Remove dev-db/pgmodeler, because it's bit-rotted and I don't use it. --- dev-db/pgmodeler/Manifest | 3 - dev-db/pgmodeler/metadata.xml | 7 -- .../pgmodeler/pgmodeler-0.7.2_alpha1.ebuild | 99 ------------------- 3 files changed, 109 deletions(-) delete mode 100644 dev-db/pgmodeler/Manifest delete mode 100644 dev-db/pgmodeler/metadata.xml delete mode 100644 dev-db/pgmodeler/pgmodeler-0.7.2_alpha1.ebuild diff --git a/dev-db/pgmodeler/Manifest b/dev-db/pgmodeler/Manifest deleted file mode 100644 index 3920bd1..0000000 --- a/dev-db/pgmodeler/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST v0.7.2-alpha1.tar.gz 2202278 SHA256 4659fd9afd223c105642ba05233b8726d14494ab891994010685743145d654d5 SHA512 bc2f359e3473d36a9abd17bce6f94cdfa51ccbde909800ba2ab768aaeb8d38b12d821f4f0a2392e648778ffc81581c8c67945af1c0b60e3a6fedd5334850df05 WHIRLPOOL a5c8a895f741a65963f31dbdc250df74e1889c175e776ce2b6a746348eac6c11d302df9ca630472985ca9006825b5d6e04f2a5334ddce8e7d9cabe8b443adffa -EBUILD pgmodeler-0.7.2_alpha1.ebuild 2567 SHA256 541d8b526e828efea9e1f61c049c717527bd21c4936d3f4cfb91e34add25c7c7 SHA512 72449acdf036bf6f13fcefe91c3931ee5dc45d4cd39f41cd0118e1005860b85f85bb9840ab868d7b3863f21df988baa66f367ce7f4f499d7249aec02c3b56e5d WHIRLPOOL 7955003426df41847d944af6a0331d915ca92dd636340ec62475000757aa155260524e97fd355cb2f1481264da50b7a26e71dd1119eb800cee772e5ba01b0af8 -MISC metadata.xml 204 SHA256 952ab0590546361a53b9508ff73fa79f531e792e091f2ea2925d0c4be30a10c2 SHA512 123731ee05ba6ec77a736c2aa55148c0c329327a340ff9fe7b2c9ec1df5fb2f68d63495ef53710cc6b94fa4a81f831d0d40b83db6f48a2b046ae1f95fdb406af WHIRLPOOL ff9e85f6f972856b1340abffbede50056a6c6b98c36f17f43b58106dc87fefaab23f15f563c18bcd801fd6da69e9c49af92b349aa93f85ab9637f4f5ab5db3c5 diff --git a/dev-db/pgmodeler/metadata.xml b/dev-db/pgmodeler/metadata.xml deleted file mode 100644 index f3b97aa..0000000 --- a/dev-db/pgmodeler/metadata.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - - mjo@gentoo.org - - diff --git a/dev-db/pgmodeler/pgmodeler-0.7.2_alpha1.ebuild b/dev-db/pgmodeler/pgmodeler-0.7.2_alpha1.ebuild deleted file mode 100644 index 66a19e1..0000000 --- a/dev-db/pgmodeler/pgmodeler-0.7.2_alpha1.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=5 - -inherit qmake-utils multilib - -DESCRIPTION="Design, diagram, and deploy PostgreSQL databases" -HOMEPAGE="http://www.pgmodeler.com.br/" -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV/_/-}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="test" - -RDEPEND="dev-db/postgresql - dev-libs/libxml2 - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtnetwork:5 - dev-qt/qtprintsupport:5 - dev-qt/qtwidgets:5" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -DOCS=( CHANGELOG.md README.md ) - -S="${WORKDIR}/${PN}-${PV/_/-}" - -src_prepare() { - # Don't build the plugins, their build system doesn't work with a - # non-default LIBDIR. See, - # - # https://github.com/pgmodeler/pgmodeler/issues/479 - # - sed -i -e '/plugins\/dummy/d' -e '/plugins\/xml2object/d' pgmodeler.pro \ - || die 'failed to disable plugins' - - sed -i -e 's/TARGET = pgmodeler/TARGET = pgmodeler-bin/' main/main.pro \ - || die 'failed to rename binary' -} - -src_configure() { - local bindir="${D}usr/bin" - local libdir="${D}usr/$(get_libdir)" - local resdir="${D}usr/share/${PN}" - mkdir -p "${bindir}" "${libdir}" "${resdir}" || die - - eqmake5 "${PN}.pro" \ - BINDIR+="${bindir}" LIBDIR+="${libdir}" RESDIR+="${resdir}" -} - -src_compile() { - emake -} - -src_install() { - default - - # Install our shell script wrapper. - cat <<-EOF > "${T}/pgmodeler" - #!/bin/bash - - export PGMODELER_ROOT="${ROOT}usr/share/pgmodeler" - - # There is no good way to install pgmodeler globally for more than one - # user, since it requires write access to its own conf files. As a - # workaround, we install the upstream conf files globally, and copy them - # to the user's home directory before launching pgmodeler. - USERDIR="\${HOME}/.pgmodeler" - if [ ! -d "\${USERDIR}/conf" ]; then - mkdir -p "\${USERDIR}" - cp --no-clobber -a "\${PGMODELER_ROOT}/conf" "\${USERDIR}/" - fi - - export PGMODELER_CONF_DIR="\${USERDIR}/conf" - export PGMODELER_SCHEMAS_DIR="\${PGMODELER_ROOT}/schemas" - export PGMODELER_LANG_DIR="\${PGMODELER_ROOT}/lang" - export PGMODELER_TMP_DIR="${ROOT}tmp" - export PGMODELER_PLUGINS_DIR="\${PGMODELER_ROOT}/plugins" # Not installed - export PGMODELER_CHANDLER_PATH="${ROOT}usr/bin/pgmodeler-ch" - - pgmodeler-bin - EOF - - dobin "${T}/pgmodeler" -} - -src_test() { - einfo ">>> Test phase: ${CATEGORY}/${PF}" - cd "${S}/tests" || die - eqmake5 tests.pro - emake - # Before `make install`, all of the binaries and libraries are - # stored in ${S}/build. - PGMODELER_ROOT="${S}/build" ../build/tests || die "tests failed" -} -- 2.44.2