From 18fe291b21960a3206d8779fec1f7ee7fa1f686e Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 23 Dec 2016 23:51:43 +0000 Subject: fuck it, drop old atom, seems we are unable to compile it anymore --- app-editors/atom/Manifest | 1 - app-editors/atom/atom-1.7.3.ebuild | 85 -------------------------------- app-editors/atom/files/atom-python.patch | 10 ---- 3 files changed, 96 deletions(-) delete mode 100644 app-editors/atom/Manifest delete mode 100644 app-editors/atom/atom-1.7.3.ebuild delete mode 100644 app-editors/atom/files/atom-python.patch diff --git a/app-editors/atom/Manifest b/app-editors/atom/Manifest deleted file mode 100644 index 4d55d7cc..00000000 --- a/app-editors/atom/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST 1.7.3.tar.gz 10352768 SHA256 5074b59ddaca5525eb48098dee6fe63013799cbc77749add314b9e1bc894b8f4 SHA512 87d1452086b5434ba204773508a361b02d1f695dd37b8d40540997dbfb53c57c8a7117abe752b6ffd18beccc0f2318afadf6b2c506d54307ea15bb73074647f3 WHIRLPOOL 72398d4432759cd9de13c0c537e5eaea6dc28dbe144b46d972331c0e5cbebeeafc0d747b62d33e3a08959d1b72d8dba271966bce519b2ba7bc7ba7e433630ac2 diff --git a/app-editors/atom/atom-1.7.3.ebuild b/app-editors/atom/atom-1.7.3.ebuild deleted file mode 100644 index 6c0541e2..00000000 --- a/app-editors/atom/atom-1.7.3.ebuild +++ /dev/null @@ -1,85 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=6 - -PYTHON_COMPAT=( python2_7 ) -inherit flag-o-matic python-any-r1 eutils - -DESCRIPTION="A hackable text editor for the 21st Century" -HOMEPAGE="https://atom.io" -SRC_URI="https://github.com/atom/atom/archive/v${PV}.tar.gz -> ${PV}.tar.gz" -RESTRICT="mirror" -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND=" - ${PYTHON_DEPS} - net-libs/nodejs[npm] - media-fonts/inconsolata - gnome-base/gconf - x11-libs/gtk+:2 - gnome-base/libgnome-keyring - x11-libs/libnotify - x11-libs/libXtst - dev-libs/nss - media-libs/alsa-lib -" -RDEPEND="${DEPEND}" - -pkg_setup() { - python-any-r1_pkg_setup - npm config set python $PYTHON -} - -src_prepare(){ - epatch "${FILESDIR}/${PN}-python.patch" - sed -i -e "/exception-reporting/d" \ - -e "/metrics/d" package.json - sed -e "s/<%= description %>/$pkgdesc/" \ - -e "s|<%= installDir %>/share/<%= appFileName %>/atom|/usr/bin/atom|"\ - -e "s|<%= iconPath %>|atom|"\ - -e "s|<%= appName %>|Atom|" \ - resources/linux/atom.desktop.in > resources/linux/Atom.desktop - - # Fix atom location guessing - sed -i -e 's/ATOM_PATH="$USR_DIRECTORY\/share\/atom/ATOM_PATH="$USR_DIRECTORY\/../g' \ - ./atom.sh \ - || die "Fail fixing atom-shell directory" - - # Make bootstrap process more verbose - sed -i -e 's@node script/bootstrap@node script/bootstrap --no-quiet@g' \ - ./script/build \ - || die "Fail fixing verbosity of script/build" - default -} - -src_compile(){ - ./script/build --verbose --build-dir "${T}" || die "Failed to compile" - "${T}/Atom/resources/app/apm/bin/apm" rebuild || die "Failed to rebuild native module" - echo "python = $PYTHON" >> "${T}/Atom/resources/app/apm/.apmrc" -} - -src_install(){ - insinto "/usr/share/${PN}" - doins -r "${T}"/Atom/* - insinto "/usr/share/applications" - newins resources/linux/Atom.desktop atom.desktop - insinto "/usr/share/pixmaps" - newins resources/app-icons/stable/png/128.png atom.png - insinto "/usr/share/licenses/${PN}" - doins LICENSE.md - # Fixes permissions - fperms +x "/usr/share/${PN}/${PN}" - fperms +x "/usr/share/${PN}/libgcrypt.so.11" - fperms +x "/usr/share/${PN}/resources/app/atom.sh" - fperms +x "/usr/share/${PN}/resources/app/apm/bin/apm" - fperms +x "/usr/share/${PN}/resources/app/apm/bin/node" - fperms +x "/usr/share/${PN}/resources/app/apm/node_modules/npm/bin/node-gyp-bin/node-gyp" - # Symlinking to /usr/bin - dosym "/usr/share/${PN}/resources/app/atom.sh" /usr/bin/atom - dosym "/usr/share/${PN}/resources/app/apm/bin/apm" /usr/bin/apm -} diff --git a/app-editors/atom/files/atom-python.patch b/app-editors/atom/files/atom-python.patch deleted file mode 100644 index 57a475ec..00000000 --- a/app-editors/atom/files/atom-python.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- a/atom.sh -+++ b/atom.sh -@@ -92,6 +92,7 @@ - fi - - ATOM_HOME="${ATOM_HOME:-$HOME/.atom}" -+ export PYTHON=python2 - mkdir -p "$ATOM_HOME" - - : ${TMPDIR:=/tmp} -- cgit v1.2.3