From 668a46ce6bc859ac294f1714d6f05bf78f8c0293 Mon Sep 17 00:00:00 2001 From: Heather Cynede Date: Sat, 30 Apr 2016 13:24:40 +0400 Subject: app-editors/atom: bump to 1.7.3 Package-Manager: portage-2.2.28 --- app-editors/atom/Manifest | 2 +- app-editors/atom/atom-1.7.2.ebuild | 85 -------------------------------------- app-editors/atom/atom-1.7.3.ebuild | 85 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 86 insertions(+), 86 deletions(-) delete mode 100644 app-editors/atom/atom-1.7.2.ebuild create mode 100644 app-editors/atom/atom-1.7.3.ebuild (limited to 'app-editors/atom') diff --git a/app-editors/atom/Manifest b/app-editors/atom/Manifest index 76dc4d6381d4..4d55d7cced15 100644 --- a/app-editors/atom/Manifest +++ b/app-editors/atom/Manifest @@ -1 +1 @@ -DIST 1.7.2.tar.gz 10352637 SHA256 f6784b4f681706faf1e2a8369c06df4289646b1a547032e6b0b8b0e93e848113 SHA512 fe8d27d25432a64c02f64f5e37c2e3828f3bda564cde264045cb3cae4acb3b6a5dc6b88cc016798209fa2fa5f4f999b945eee174c2e9389fb1f56396cdbc279c WHIRLPOOL 80b1768329d964f4710ee9319cabebe59e72829e8e8d27a46c131d760f0b614d6a45c8e24620881a2c9e2f1e90e8e8f06fcf392197c0a359aa5d8eec2b92ffd6 +DIST 1.7.3.tar.gz 10352768 SHA256 5074b59ddaca5525eb48098dee6fe63013799cbc77749add314b9e1bc894b8f4 SHA512 87d1452086b5434ba204773508a361b02d1f695dd37b8d40540997dbfb53c57c8a7117abe752b6ffd18beccc0f2318afadf6b2c506d54307ea15bb73074647f3 WHIRLPOOL 72398d4432759cd9de13c0c537e5eaea6dc28dbe144b46d972331c0e5cbebeeafc0d747b62d33e3a08959d1b72d8dba271966bce519b2ba7bc7ba7e433630ac2 diff --git a/app-editors/atom/atom-1.7.2.ebuild b/app-editors/atom/atom-1.7.2.ebuild deleted file mode 100644 index 6c0541e20bf3..000000000000 --- a/app-editors/atom/atom-1.7.2.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/atom-1.7.3.ebuild b/app-editors/atom/atom-1.7.3.ebuild new file mode 100644 index 000000000000..6c0541e20bf3 --- /dev/null +++ b/app-editors/atom/atom-1.7.3.ebuild @@ -0,0 +1,85 @@ +# 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 +} -- cgit v1.2.3-65-gdbad