From fe8be8a7b3638d3ddaa28075649e66d063461450 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 15 Apr 2016 16:27:12 +0100 Subject: atom is now in gentoo tree, so drop it from here --- app-editors/atom/atom-0.168.0.ebuild | 98 ---------------------- app-editors/atom/atom-0.169.0.ebuild | 98 ---------------------- app-editors/atom/atom-0.174.0.ebuild | 98 ---------------------- app-editors/atom/atom-9999.ebuild | 98 ---------------------- .../atom/files/0002-skip-atom-shell-copy.patch | 13 --- app-editors/atom/metadata.xml | 8 -- 6 files changed, 413 deletions(-) delete mode 100644 app-editors/atom/atom-0.168.0.ebuild delete mode 100644 app-editors/atom/atom-0.169.0.ebuild delete mode 100644 app-editors/atom/atom-0.174.0.ebuild delete mode 100644 app-editors/atom/atom-9999.ebuild delete mode 100644 app-editors/atom/files/0002-skip-atom-shell-copy.patch delete mode 100644 app-editors/atom/metadata.xml (limited to 'app-editors') diff --git a/app-editors/atom/atom-0.168.0.ebuild b/app-editors/atom/atom-0.168.0.ebuild deleted file mode 100644 index cc3cd990..00000000 --- a/app-editors/atom/atom-0.168.0.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 ) -inherit git-2 flag-o-matic python-any-r1 eutils - -DESCRIPTION="A hackable text editor for the 21st Century" -HOMEPAGE="https://atom.io" -SRC_URI="" - -EGIT_REPO_URI="git://github.com/atom/atom" - -LICENSE="MIT" -SLOT="0" - -if [[ ${PV} == *9999 ]];then - KEYWORDS="" -else - KEYWORDS="~amd64" - EGIT_COMMIT="v${PV}" -fi - -IUSE="" - -DEPEND=" - ${PYTHON_DEPS} - =dev-util/atom-shell-0.20.5 - >=virtual/nodejs-1 - media-fonts/inconsolata -" -RDEPEND="${DEPEND}" - -QA_PRESTRIPPED=" - /usr/share/atom/node_modules/symbols-view/vendor/ctags-linux -" -pkg_setup() { - python-any-r1_pkg_setup - - npm config set python $PYTHON -} - -src_unpack() { - git-2_src_unpack -} - -src_prepare() { - # Skip atom-shell download - sed -i -e "s/defaultTasks = \['download-atom-shell', /defaultTasks = [/g" \ - ./build/Gruntfile.coffee \ - || die "Failed to fix Gruntfile" - - # Skip atom-shell copy - epatch "${FILESDIR}/0002-skip-atom-shell-copy.patch" - - # 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" -} - -src_compile() { - ./script/build --verbose --build-dir "${T}" || die "Failed to compile" - - "${T}/Atom/resources/app/apm/node_modules/atom-package-manager/bin/apm" rebuild || die "Failed to rebuild native module" -} - -src_install() { - - into /usr - - insinto /usr/share/applications - - insinto /usr/share/${PN}/resources/app - exeinto /usr/bin - - cd "${T}/Atom/resources/app" - doicon resources/atom.png - dodoc LICENSE.md - - # Installs everything in Atom/resources/app - doins -r . - - # Fixes permissions - fperms +x /usr/share/${PN}/resources/app/atom.sh - fperms +x /usr/share/${PN}/resources/app/apm/node_modules/.bin/apm - fperms +x /usr/share/${PN}/resources/app/apm/node_modules/atom-package-manager/bin/node - fperms +x /usr/share/${PN}/resources/app/node_modules/symbols-view/vendor/ctags-linux - fperms +x /usr/share/${PN}/resources/app/apm/node_modules/atom-package-manager/node_modules/npm/bin/node-gyp-bin/node-gyp - - # Symlinking to /usr/bin - dosym ../share/${PN}/resources/app/atom.sh /usr/bin/atom - dosym ../share/${PN}/resources/app/apm/node_modules/atom-package-manager/bin/apm /usr/bin/apm - - make_desktop_entry "/usr/bin/atom %U" "Atom" "atom" "GNOME;GTK;Utility;TextEditor;Development;" "MimeType=text/plain;\nStartupNotify=true\nStartupWMClass=Atom" -} diff --git a/app-editors/atom/atom-0.169.0.ebuild b/app-editors/atom/atom-0.169.0.ebuild deleted file mode 100644 index cc3cd990..00000000 --- a/app-editors/atom/atom-0.169.0.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 ) -inherit git-2 flag-o-matic python-any-r1 eutils - -DESCRIPTION="A hackable text editor for the 21st Century" -HOMEPAGE="https://atom.io" -SRC_URI="" - -EGIT_REPO_URI="git://github.com/atom/atom" - -LICENSE="MIT" -SLOT="0" - -if [[ ${PV} == *9999 ]];then - KEYWORDS="" -else - KEYWORDS="~amd64" - EGIT_COMMIT="v${PV}" -fi - -IUSE="" - -DEPEND=" - ${PYTHON_DEPS} - =dev-util/atom-shell-0.20.5 - >=virtual/nodejs-1 - media-fonts/inconsolata -" -RDEPEND="${DEPEND}" - -QA_PRESTRIPPED=" - /usr/share/atom/node_modules/symbols-view/vendor/ctags-linux -" -pkg_setup() { - python-any-r1_pkg_setup - - npm config set python $PYTHON -} - -src_unpack() { - git-2_src_unpack -} - -src_prepare() { - # Skip atom-shell download - sed -i -e "s/defaultTasks = \['download-atom-shell', /defaultTasks = [/g" \ - ./build/Gruntfile.coffee \ - || die "Failed to fix Gruntfile" - - # Skip atom-shell copy - epatch "${FILESDIR}/0002-skip-atom-shell-copy.patch" - - # 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" -} - -src_compile() { - ./script/build --verbose --build-dir "${T}" || die "Failed to compile" - - "${T}/Atom/resources/app/apm/node_modules/atom-package-manager/bin/apm" rebuild || die "Failed to rebuild native module" -} - -src_install() { - - into /usr - - insinto /usr/share/applications - - insinto /usr/share/${PN}/resources/app - exeinto /usr/bin - - cd "${T}/Atom/resources/app" - doicon resources/atom.png - dodoc LICENSE.md - - # Installs everything in Atom/resources/app - doins -r . - - # Fixes permissions - fperms +x /usr/share/${PN}/resources/app/atom.sh - fperms +x /usr/share/${PN}/resources/app/apm/node_modules/.bin/apm - fperms +x /usr/share/${PN}/resources/app/apm/node_modules/atom-package-manager/bin/node - fperms +x /usr/share/${PN}/resources/app/node_modules/symbols-view/vendor/ctags-linux - fperms +x /usr/share/${PN}/resources/app/apm/node_modules/atom-package-manager/node_modules/npm/bin/node-gyp-bin/node-gyp - - # Symlinking to /usr/bin - dosym ../share/${PN}/resources/app/atom.sh /usr/bin/atom - dosym ../share/${PN}/resources/app/apm/node_modules/atom-package-manager/bin/apm /usr/bin/apm - - make_desktop_entry "/usr/bin/atom %U" "Atom" "atom" "GNOME;GTK;Utility;TextEditor;Development;" "MimeType=text/plain;\nStartupNotify=true\nStartupWMClass=Atom" -} diff --git a/app-editors/atom/atom-0.174.0.ebuild b/app-editors/atom/atom-0.174.0.ebuild deleted file mode 100644 index cc3cd990..00000000 --- a/app-editors/atom/atom-0.174.0.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 ) -inherit git-2 flag-o-matic python-any-r1 eutils - -DESCRIPTION="A hackable text editor for the 21st Century" -HOMEPAGE="https://atom.io" -SRC_URI="" - -EGIT_REPO_URI="git://github.com/atom/atom" - -LICENSE="MIT" -SLOT="0" - -if [[ ${PV} == *9999 ]];then - KEYWORDS="" -else - KEYWORDS="~amd64" - EGIT_COMMIT="v${PV}" -fi - -IUSE="" - -DEPEND=" - ${PYTHON_DEPS} - =dev-util/atom-shell-0.20.5 - >=virtual/nodejs-1 - media-fonts/inconsolata -" -RDEPEND="${DEPEND}" - -QA_PRESTRIPPED=" - /usr/share/atom/node_modules/symbols-view/vendor/ctags-linux -" -pkg_setup() { - python-any-r1_pkg_setup - - npm config set python $PYTHON -} - -src_unpack() { - git-2_src_unpack -} - -src_prepare() { - # Skip atom-shell download - sed -i -e "s/defaultTasks = \['download-atom-shell', /defaultTasks = [/g" \ - ./build/Gruntfile.coffee \ - || die "Failed to fix Gruntfile" - - # Skip atom-shell copy - epatch "${FILESDIR}/0002-skip-atom-shell-copy.patch" - - # 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" -} - -src_compile() { - ./script/build --verbose --build-dir "${T}" || die "Failed to compile" - - "${T}/Atom/resources/app/apm/node_modules/atom-package-manager/bin/apm" rebuild || die "Failed to rebuild native module" -} - -src_install() { - - into /usr - - insinto /usr/share/applications - - insinto /usr/share/${PN}/resources/app - exeinto /usr/bin - - cd "${T}/Atom/resources/app" - doicon resources/atom.png - dodoc LICENSE.md - - # Installs everything in Atom/resources/app - doins -r . - - # Fixes permissions - fperms +x /usr/share/${PN}/resources/app/atom.sh - fperms +x /usr/share/${PN}/resources/app/apm/node_modules/.bin/apm - fperms +x /usr/share/${PN}/resources/app/apm/node_modules/atom-package-manager/bin/node - fperms +x /usr/share/${PN}/resources/app/node_modules/symbols-view/vendor/ctags-linux - fperms +x /usr/share/${PN}/resources/app/apm/node_modules/atom-package-manager/node_modules/npm/bin/node-gyp-bin/node-gyp - - # Symlinking to /usr/bin - dosym ../share/${PN}/resources/app/atom.sh /usr/bin/atom - dosym ../share/${PN}/resources/app/apm/node_modules/atom-package-manager/bin/apm /usr/bin/apm - - make_desktop_entry "/usr/bin/atom %U" "Atom" "atom" "GNOME;GTK;Utility;TextEditor;Development;" "MimeType=text/plain;\nStartupNotify=true\nStartupWMClass=Atom" -} diff --git a/app-editors/atom/atom-9999.ebuild b/app-editors/atom/atom-9999.ebuild deleted file mode 100644 index a0a16889..00000000 --- a/app-editors/atom/atom-9999.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 ) -inherit git-2 flag-o-matic python-any-r1 eutils - -DESCRIPTION="A hackable text editor for the 21st Century" -HOMEPAGE="https://atom.io" -SRC_URI="" - -EGIT_REPO_URI="git://github.com/atom/atom" - -LICENSE="MIT" -SLOT="0" - -if [[ ${PV} == *9999 ]];then - KEYWORDS="" -else - KEYWORDS="~amd64" - EGIT_COMMIT="v${PV}" -fi - -IUSE="" - -DEPEND=" - ${PYTHON_DEPS} - >=dev-util/atom-shell-0.19.2 - >=virtual/nodejs-1 - media-fonts/inconsolata -" -RDEPEND="${DEPEND}" - -QA_PRESTRIPPED=" - /usr/share/atom/node_modules/symbols-view/vendor/ctags-linux -" -pkg_setup() { - python-any-r1_pkg_setup - - npm config set python $PYTHON -} - -src_unpack() { - git-2_src_unpack -} - -src_prepare() { - # Skip atom-shell download - sed -i -e "s/defaultTasks = \['download-atom-shell', /defaultTasks = [/g" \ - ./build/Gruntfile.coffee \ - || die "Failed to fix Gruntfile" - - # Skip atom-shell copy - epatch "${FILESDIR}/0002-skip-atom-shell-copy.patch" - - # 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" -} - -src_compile() { - ./script/build --verbose --build-dir "${T}" || die "Failed to compile" - - "${T}/Atom/resources/app/apm/node_modules/atom-package-manager/bin/apm" rebuild || die "Failed to rebuild native module" -} - -src_install() { - - into /usr - - insinto /usr/share/applications - - insinto /usr/share/${PN}/resources/app - exeinto /usr/bin - - cd "${T}/Atom/resources/app" - doicon resources/atom.png - dodoc LICENSE.md - - # Installs everything in Atom/resources/app - doins -r . - - # Fixes permissions - fperms +x /usr/share/${PN}/resources/app/atom.sh - fperms +x /usr/share/${PN}/resources/app/apm/node_modules/.bin/apm - fperms +x /usr/share/${PN}/resources/app/apm/node_modules/atom-package-manager/bin/node - fperms +x /usr/share/${PN}/resources/app/node_modules/symbols-view/vendor/ctags-linux - fperms +x /usr/share/${PN}/resources/app/apm/node_modules/atom-package-manager/node_modules/npm/bin/node-gyp-bin/node-gyp - - # Symlinking to /usr/bin - dosym ../share/${PN}/resources/app/atom.sh /usr/bin/atom - dosym ../share/${PN}/resources/app/apm/node_modules/atom-package-manager/bin/apm /usr/bin/apm - - make_desktop_entry "/usr/bin/atom %U" "Atom" "atom" "GNOME;GTK;Utility;TextEditor;Development;" "MimeType=text/plain;\nStartupNotify=true\nStartupWMClass=Atom" -} diff --git a/app-editors/atom/files/0002-skip-atom-shell-copy.patch b/app-editors/atom/files/0002-skip-atom-shell-copy.patch deleted file mode 100644 index 6c1aceec..00000000 --- a/app-editors/atom/files/0002-skip-atom-shell-copy.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/build/tasks/build-task.coffee b/build/tasks/build-task.coffee -index c9964b4..74d8881 100644 ---- a/build/tasks/build-task.coffee -+++ b/build/tasks/build-task.coffee -@@ -15,8 +15,6 @@ module.exports = (grunt) -> - - if process.platform is 'darwin' - cp 'atom-shell/Atom.app', shellAppDir, filter: /default_app/ -- else -- cp 'atom-shell', shellAppDir, filter: /default_app/ - - mkdir appDir - diff --git a/app-editors/atom/metadata.xml b/app-editors/atom/metadata.xml deleted file mode 100644 index 94d89458..00000000 --- a/app-editors/atom/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - mplichta@gmail.com - Michal Plichta - - -- cgit v1.2.3