mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 23:27:12 -08:00
Merge updates from master
This commit is contained in:
@@ -1,3 +1 @@
|
||||
DIST Leo-4.11-final.zip 7282503 SHA256 eb1fd0e07533db4886fd7962a7d7431244b75239fd161395859e20a7e0f6ba62 SHA512 01bd8e433d25d16d3a824fb917da1f974a3a06fa19f25c0686031e03af62bad281fc10a62ac95ef463b0cc0acdb8c566f25b434a28dd12469cc489f4fc60e526 WHIRLPOOL 64c2d229c2a2ad6887739ee94de98c89f09d5fb1f2246fc446b4bb52496d52e412bcdf258fbbe12b85ed17372c2bd4272c246da65234114087fee02d27c7ac2b
|
||||
DIST Leo-5.0-final.zip 8628999 SHA256 5635ac753b011a43a3096e5dc18e2d5c6e9f628a40c0ba628c789bccb10928d1 SHA512 771b00857143ea6de48bc0f1ace5c4518265462c8720a5b52868cf0490f4de7f4d987fd939141e00bf0c7abaddf1cb4b18a6186151739f6ec2024fd50d564c6e WHIRLPOOL b9cc3c22dcc4da204a00cdd2eec48f3e001cd5e4ba20e730f4bef0aadbc4e6c6f03521e1e04bc313b8f29479f1e839dbaac322af8b32a99bb46304677f135db1
|
||||
DIST Leo-5.1-final.zip 9028778 SHA256 2d742f9825959ba5c7624d1179b9f3065e14e055c90272fbce199f91770de826 SHA512 a8e1d42c0b7c8f6aa4465295515ef19965a03142997a1b65304fd72a2c541248b7dba66d7be295465fd6dbdd7fcd5c6e6542d222edb71ddcab093c0c360340b1 WHIRLPOOL b1a5bb5ba2a2a6c8afe3339a0097d0dadd01e7c18b3270784f69eb608691808bc99cf887be1079340f797b9659cd00ba2d372d3e37bf62b28774ed571a743301
|
||||
|
||||
@@ -1,35 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="3"
|
||||
PYTHON_DEPEND="2:2.6"
|
||||
PYTHON_USE_WITH="tk"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="2.4 2.5 3.* *-pypy-* *-jython"
|
||||
|
||||
inherit distutils eutils
|
||||
|
||||
MY_P="Leo-${PV}-final"
|
||||
|
||||
DESCRIPTION="Leo: Literate Editor with Outlines"
|
||||
HOMEPAGE="http://leo.sourceforge.net/ https://pypi.python.org/pypi/leo"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.zip"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="app-text/silvercity
|
||||
dev-python/PyQt4[X]"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/unzip"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
dohtml -r leo/doc/html/* || die "dohtml failed"
|
||||
}
|
||||
@@ -1,36 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
# Not py3 prepared
|
||||
# https://bugs.launchpad.net/leo-editor/+bug/1399895
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_REQUIRED_USE="tk"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_P="Leo-${PV}-final"
|
||||
MY_PN="Leo${PV}-final"
|
||||
|
||||
DESCRIPTION="Leo: Literate Editor with Outlines"
|
||||
HOMEPAGE="https://github.com/leo-editor/leo-editor/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.zip"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND="app-text/silvercity[${PYTHON_USEDEP}]
|
||||
dev-python/PyQt4[X,${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/unzip"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}"
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( leo/doc/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>keri@gentoo.org</email>
|
||||
<name>Keri Harris</name>
|
||||
</maintainer>
|
||||
<maintainer>
|
||||
<email>keri@gentoo.org</email>
|
||||
<name>Keri Harris</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
||||
@@ -1,131 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit elisp-common eutils
|
||||
|
||||
PATCHSET_VER="5"
|
||||
MY_P="mozart-${PV}.20080704"
|
||||
|
||||
DESCRIPTION="Advanced development platform for intelligent, distributed applications"
|
||||
HOMEPAGE="http://www.mozart-oz.org/"
|
||||
SRC_URI="
|
||||
http://www.mozart-oz.org/download/mozart-ftp/store/1.4.0-2008-07-02-tar/mozart-1.4.0.20080704-src.tar.gz
|
||||
mirror://gentoo/${P}-gentoo-patchset-${PATCHSET_VER}.tar.gz
|
||||
doc? ( http://www.mozart-oz.org/download/mozart-ftp/store/1.4.0-2008-07-02-tar/mozart-1.4.0.20080704-doc.tar.gz )"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="Mozart"
|
||||
KEYWORDS="-amd64 ppc -ppc64 x86"
|
||||
IUSE="doc emacs examples gdbm static tcl threads tk"
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/perl
|
||||
dev-libs/gmp
|
||||
sys-libs/zlib
|
||||
emacs? ( virtual/emacs )
|
||||
gdbm? ( sys-libs/gdbm )
|
||||
tcl? (
|
||||
tk? (
|
||||
dev-lang/tk:0
|
||||
dev-lang/tcl:0
|
||||
)
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/bison
|
||||
sys-devel/flex"
|
||||
|
||||
SITEFILE=50${PN}-gentoo.el
|
||||
|
||||
S="${WORKDIR}"/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_FORCE=yes
|
||||
EPATCH_SUFFIX=patch
|
||||
epatch "${WORKDIR}"/${PV}
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf="\
|
||||
--without-global-oz \
|
||||
--enable-opt=none"
|
||||
|
||||
if use tcl && use tk ; then
|
||||
myconf="${myconf} --enable-wish"
|
||||
else
|
||||
myconf="${myconf} --disable-wish"
|
||||
fi
|
||||
|
||||
econf \
|
||||
${myconf} \
|
||||
--disable-doc \
|
||||
--enable-contrib \
|
||||
--disable-contrib-micq \
|
||||
$(use_enable doc contrib-doc) \
|
||||
$(use_enable gdbm contrib-gdbm) \
|
||||
$(use_enable tk contrib-tk) \
|
||||
$(use_enable emacs compile-elisp) \
|
||||
$(use_enable static link-static) \
|
||||
$(use_enable threads threaded)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake bootstrap || die "emake bootstrap failed"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Mozart tests must be run single-threaded
|
||||
cd "${S}"/share/test
|
||||
emake -j1 boot-oztest || die "emake boot-oztest failed"
|
||||
emake -j1 boot-check || die "emake boot-check failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake \
|
||||
PREFIX="${D}"/usr/lib/mozart \
|
||||
ELISPDIR="${D}${SITELISP}/${PN}" \
|
||||
install || die "emake install failed"
|
||||
|
||||
dosym /usr/lib/mozart/bin/convertTextPickle /usr/bin/convertTextPickle || die
|
||||
dosym /usr/lib/mozart/bin/oldpickle2text /usr/bin/oldpickle2text || die
|
||||
dosym /usr/lib/mozart/bin/ozc /usr/bin/ozc || die
|
||||
dosym /usr/lib/mozart/bin/ozd /usr/bin/ozd || die
|
||||
dosym /usr/lib/mozart/bin/ozengine /usr/bin/ozengine || die
|
||||
dosym /usr/lib/mozart/bin/ozl /usr/bin/ozl || die
|
||||
dosym /usr/lib/mozart/bin/ozplatform /usr/bin/ozplatform || die
|
||||
dosym /usr/lib/mozart/bin/oztool /usr/bin/oztool || die
|
||||
dosym /usr/lib/mozart/bin/pickle2text /usr/bin/pickle2text || die
|
||||
dosym /usr/lib/mozart/bin/text2pickle /usr/bin/text2pickle || die
|
||||
|
||||
if use emacs; then
|
||||
dosym /usr/lib/mozart/bin/oz /usr/bin/oz || die
|
||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}" \
|
||||
|| die "elisp-site-file-install failed"
|
||||
fi
|
||||
|
||||
if use doc ; then
|
||||
dohtml -r "${WORKDIR}"/mozart/doc/* || die
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
cd "${S}"/share
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins -r examples/* || die
|
||||
doins -r demo/* || die
|
||||
rm -rf $(find "${D}"/usr/share/doc/${PF}/examples \
|
||||
-name Makefile -o -name Makefile.in)
|
||||
fi
|
||||
|
||||
cd "${S}"
|
||||
dodoc README || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
||||
@@ -23,7 +23,7 @@ IUSE="doc emacs examples gdbm static tcl threads tk"
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/perl
|
||||
dev-libs/gmp
|
||||
dev-libs/gmp:0=
|
||||
sys-libs/zlib
|
||||
emacs? ( virtual/emacs )
|
||||
gdbm? ( sys-libs/gdbm )
|
||||
|
||||
@@ -15,7 +15,7 @@ SRC_URI="http://www.swi-prolog.org/download/stable/src/swipl-${PV}.tar.gz
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
KEYWORDS="amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE="archive debug doc +gmp hardened java libressl minimal odbc +readline ssl static-libs test uuid zlib X"
|
||||
|
||||
RDEPEND="sys-libs/ncurses:=
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
DIST Wcalc-2.2.1.tar.bz2 214551 SHA256 82d3ed064c934a7791e8866f7ac25f2a600c2b435b5551101a2897b78d47a9af SHA512 42dd89f12a6c355e7ad0fc739877ef5920ae608b78ae2f18a1d9ac9fc7b8bec7527618ede85472dfbce6528d094de81ad8b4e660559401a3117d12a3190e0253 WHIRLPOOL 6d1e0f308a4661d1de9e0ddb55d7c85575159e121c5f8215ce1de8c8b4bdadc91cf325426762cb8e1e7846e88b5d93c0eeda4f6de27684fa47510dae89a58866
|
||||
DIST wcalc-2.4.tar.bz2 361865 SHA256 aa2342078b9e75f821b0cc5d30f3434aa9cdf9af170e8a3e9af82286682be226 SHA512 167556b8fad4dca504505ff4172fd7f322b005e74e92d9e4aec7ae1cdc17cfa86501f9c5835b1dea6eb2adcd317beda523dfa61f882db895178aaf51c877171d WHIRLPOOL 0360aabcde7dcc5f5f89101aaf77a81b64de6f9ea6a33be553efaf77dedb167a58f7ce38fe1d18fb932c4140d2591a91c6708e3420c42753a18e107c0efaeecf
|
||||
|
||||
@@ -1,36 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="A flexible command-line scientific calculator"
|
||||
HOMEPAGE="http://w-calc.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/w-calc/Wcalc-${PV}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ppc ~ppc64 x86"
|
||||
IUSE="readline"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/gmp
|
||||
dev-libs/mpfr
|
||||
readline? ( sys-libs/readline )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S=${WORKDIR}/Wcalc-${PV}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_with readline)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# Wcalc icons
|
||||
newicon w.png wcalc.png
|
||||
newicon Wred.png wcalc-red.png
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
DIST pymol-1.7.0.0.png.xz 5392 SHA256 4c554a5c4f47946b6f7bae00209d5116305162534292735d30ae0794c56a8a0b SHA512 24bb1584b28688f5d5824e938f8500ca9887838adf490b4284c52f8c0da4c5ec4a56051ee80f48e4f34541ab53f9a4e00c849c382f1fd37c232fbea12d700105 WHIRLPOOL 395f978eb9ea3a8f8f39bf0694f71986ac9f8ebb307b90283c53fed85c4412d84e54af472f8646fcbd99c650039cb395a8f02b281168802c73ddb9bad175512b
|
||||
DIST pymol-1.7.0.1.tar.xz 6550492 SHA256 e8c6f6a465aec78171daf5cd981ebd1614dfa5e014e13c85a044cfbb591841c8 SHA512 a09277cd827f832c4f4e307f6117613d2ee8250643d129a5c34a30ceab2bfe8cea195c71a138fff09b6c69e9427153b917d7d3a7262d154ada5f323ec9635087 WHIRLPOOL 1803b55ade1b04de5963fd4a3bbe1354cda8759e15254c644952e25d7dcc904bc7b9fd91da75fdb8c6a96fd118a5a21bec9c8bba368744b44436747faca5cd9c
|
||||
DIST pymol-1.7.4.0.tar.xz 6528964 SHA256 5a732aeb8a02797a185f54c3bd8bb477a1a11976eb9f982f6cf79ce887ce3a4a SHA512 fa53e90413cb1e02797a30b21b4254901504edc029104567fd2d4c5ef630eb8c2eb9f5065b2b9e65f657aaa30ca8ac85c3314c6c7fbb89148d89a9a0964de3cf WHIRLPOOL 1467a9746abe60e371162e6065253fbb23453f80a4757a18936f5b6509f63657b7073ee5e118c7e4faf333371cd38c78917e1f4b0a3a684b4807972546180d69
|
||||
DIST pymol-1.7.6.0.tar.xz 6510380 SHA256 31d4924378b38b65fae5b294e0755ee15916f9e845ef2efe5e2421f463bf3b91 SHA512 ff8c37de07e0ed8dc1176224eea439109f2bd5e42b5c08316f5737a2fdcf5a1f267b625c166fa740296c20ef089873ae1ad6cb89b11111e9d3aeda0b6035d55d WHIRLPOOL 3582cc846695ca580a4bcd31db8079f32d3cb0d84b8fa1afeb0b210d7004642bf58eab42cafd552f360a5e20b546e554cf5420b7dd2e8cefa5b956a9453215e2
|
||||
DIST pymol-1.7.7.2.tar.xz 6527780 SHA256 fc15fc8fbf23b422c5d19babd20e19b7d7ab8ee9532012c7b3a27b87af44fdae SHA512 faf3715cd6b9e7115f6501fc4480a6f71fe53d3b02b2eeefdd07a57d7c15b3621c05fd3894bb92ac4042edaa224d99c2be7488a762254d069c581974a0146179 WHIRLPOOL b52683ce1dc265fe302c974ccc1bfa9e55365e8502f944cf6527c0071f207fcb54e8b3ad38fd684b66c66f85fa6a03f2f1178b90fd406b9f7561d956c704fb9a
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>sci-chemistry</herd>
|
||||
|
||||
+22
-10
@@ -7,7 +7,7 @@ EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_REQ_USE="tk"
|
||||
|
||||
inherit distutils-r1 fdo-mime versionator
|
||||
inherit distutils-r1 fdo-mime flag-o-matic versionator
|
||||
|
||||
DESCRIPTION="A Python-extensible molecular graphics system"
|
||||
HOMEPAGE="http://www.pymol.org/"
|
||||
@@ -16,10 +16,11 @@ SRC_URI="
|
||||
https://dev.gentoo.org/~jlec/distfiles/${P}.tar.xz
|
||||
"
|
||||
# mirror://sourceforge/project/${PN}/${PN}/$(get_version_component_range 1-2)/${PN}-v${PV}.tar.bz2
|
||||
# git archive -v --prefix=${P}/ master -o ${P}.tar.xz
|
||||
|
||||
LICENSE="PSF-2.2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
|
||||
IUSE="apbs web"
|
||||
|
||||
DEPEND="
|
||||
@@ -33,9 +34,9 @@ DEPEND="
|
||||
sys-libs/zlib
|
||||
virtual/python-pmw[${PYTHON_USEDEP}]
|
||||
apbs? (
|
||||
sci-chemistry/apbs
|
||||
sci-chemistry/pdb2pqr
|
||||
sci-chemistry/pymol-apbs-plugin[${PYTHON_USEDEP}]
|
||||
sci-chemistry/apbs[${PYTHON_USEDEP}]
|
||||
sci-chemistry/pdb2pqr[${PYTHON_USEDEP}]
|
||||
!sci-chemistry/pymol-apbs-plugin[${PYTHON_USEDEP}]
|
||||
)
|
||||
web? ( !dev-python/webpy[${PYTHON_USEDEP}] )"
|
||||
RDEPEND="${DEPEND}"
|
||||
@@ -45,33 +46,44 @@ S="${WORKDIR}"/${P}/${PN}
|
||||
python_prepare_all() {
|
||||
sed \
|
||||
-e "s:\"/usr:\"${EPREFIX}/usr:g" \
|
||||
-e "/ext_comp_args/s:=\[.*\]$:= \[\]:g" \
|
||||
-e "/ext_comp_args.*+=/s:\[.*\]$:\[\]:g" \
|
||||
-e "/import/s:argparse:argparseX:g" \
|
||||
-i setup.py || die
|
||||
|
||||
rm ./modules/pmg_tk/startup/apbs_tools.py || die
|
||||
|
||||
sed \
|
||||
-e "s:/opt/local:${EPREFIX}/usr:g" \
|
||||
-e '/ext_comp_args/s:\[.*\]:[]:g' \
|
||||
-i setup.py || die
|
||||
|
||||
append-cxxflags -std=c++0x
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_install() {
|
||||
distutils-r1_python_install --pymol-path="${EPREFIX}/usr/share/pymol"
|
||||
|
||||
sed \
|
||||
-e '1d' \
|
||||
-e "/APBS_BINARY_LOCATION/s:None:\"${EPREFIX}/usr/bin/apbs\":g" \
|
||||
-e "/APBS_PSIZE_LOCATION/s:None:\"$(python_get_sitedir)/pdb2pqr/src/\":g" \
|
||||
-e "/APBS_PDB2PQR_LOCATION/s:None:\"$(python_get_sitedir)/pdb2pqr/\":g" \
|
||||
-i "${D}/$(python_get_sitedir)"/pmg_tk/startup/apbs_tools.py || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
python_export python2_7 EPYTHON
|
||||
sed \
|
||||
-e '1i#!/usr/bin/env python' \
|
||||
"${D}/$(python_get_sitedir)"/pymol/__init__.py > "${T}"/${PN} || die
|
||||
|
||||
python_foreach_impl python_doscript "${T}"/${PN}
|
||||
|
||||
# These environment variables should not go in the wrapper script, or else
|
||||
# it will be impossible to use the PyMOL libraries from Python.
|
||||
cat >> "${T}"/20pymol <<- EOF
|
||||
PYMOL_PATH="$(python_get_sitedir)/${PN}"
|
||||
PYMOL_PATH="${EPREFIX}/usr/share/pymol"
|
||||
PYMOL_DATA="${EPREFIX}/usr/share/pymol/data"
|
||||
PYMOL_SCRIPTS="${EPREFIX}/usr/share/pymol/scripts"
|
||||
EOF
|
||||
Reference in New Issue
Block a user