proj/gentoo: Initial commit

This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.

This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.

Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
This commit is contained in:
Robin H. Johnson
2015-08-08 17:38:18 -07:00
commit 56bd759df1
97532 changed files with 3536859 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
DIST sympy-0.7.4.1-system-mpmath.patch.gz 7350 SHA256 d7f2acd0ccfb06eb8c102dd7fae2325b35a5105a5853e01dcb863c0841dedc75 SHA512 761cdc6259101d6023d83cfea311a5547762c192b3c661ab3bc0ded20911ce464d0326a9b16d899ad35280a65046e621670e7de64ec40df740bfeb8bf667fb3d WHIRLPOOL 24693863da03dab6ed67131f46c4e18dfdc8110d0a23f49825dcb835909fa157781791680cfe46092c41c526fe281370aa7ce341f7fbccae02351d34c29bffd3
DIST sympy-0.7.4.1.tar.gz 6824862 SHA256 51a8c2377c240a2cdb418bc59dac9ab106258196d04ce131d06806dbea2af456 SHA512 8d4d87428c202407ff364ef503634529500c1656cf5ddbb4de19b838499593c58d227f0b619541ce86cdc15157e3a5b48a95c906a5d05d4606ef95f1aa8fa2dc WHIRLPOOL 620d255e0cf289ac392328ad64e93d93489d8664df13498bac8933221c8edb80a45a8ea26da6cb8e1139ec2ca159c8f83ad196d96ee6afceb4fc8bb2a0eccfd7
DIST sympy-0.7.6-system-mpmath.patch.gz 5030 SHA256 d5ff8ff4f79ed66714486954633d18f865820197081230b82ff8e2093751e073 SHA512 b8475f2a0c1320c7e5e1403476e011fae0997f07afba3fd892ad5e95e89b5cdfa5f92b778eb406b27f2c0edb2a119ee636c57ff32585360c26d38202ea09b075 WHIRLPOOL d03273573237b04c403438a75e4a4c21cf89a6b93e642a71126a136c6e4e9e07db3e5ebc8e5a4724b792e0d4885f38a7d30759e26fa61146f929a1447e16e64c
DIST sympy-0.7.6.tar.gz 6430549 SHA256 dfa3927e9befdfa7da7a18783ccbc2fe489ce4c46aa335a879e49e48fc03d7a7 SHA512 ce0f1a17ac01eb48aec31fc0ad431d9d7ed9907f0e8584a6d79d0ffe6864fe62e203fe3f2a3c3e4e3d485809750ce07507a6488e776a388a7a9a713110882fcf WHIRLPOOL 850c27ae73f92f224826e5c00e41a0d4644fcb290767963744a947b03b704557423c00ed9a14ad696630c4611c3ed684926d58d7873127de76530325aae08ae2
@@ -0,0 +1,10 @@
diff -r -U2 sympy-0.7.6.orig/doc/Makefile sympy-0.7.6/doc/Makefile
--- sympy-0.7.6.orig/doc/Makefile 2014-11-21 02:00:41.000000000 +0600
+++ sympy-0.7.6/doc/Makefile 2014-12-07 20:49:01.091613474 +0600
@@ -118,5 +118,5 @@
pdflatex -output-directory=_build/cheatsheet cheatsheet/cheatsheet.tex
-_build/cheatsheet/cheatsheet.pdf: cheatsheet/combinatoric_cheatsheet.tex
+_build/cheatsheet/combinatoric_cheatsheet.pdf: cheatsheet/combinatoric_cheatsheet.tex
mkdir -p _build/cheatsheet
pdflatex -output-directory=_build/cheatsheet cheatsheet/combinatoric_cheatsheet.tex
+30
View File
@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>sci-mathematics</herd>
<maintainer>
<email>grozin@gentoo.org</email>
<name>Andrey Grozin</name>
</maintainer>
<longdescription>
SymPy is a Python library for symbolic mathematics (manipulation). It
aims to become a full-featured computer algebra system (CAS) while keeping
the code as simple as possible in order to be comprehensible and easily
extensible. SymPy is written entirely in Python and does not require
any external libraries, except optionally for plotting support.
</longdescription>
<use>
<flag name="ipython">Add support for <pkg>dev-python/ipython</pkg></flag>
<flag name="imaging">Add support for <pkg>dev-python/imaging</pkg></flag>
<flag name="mathml">Add support for mathml</flag>
<flag name="pyglet">Use <pkg>dev-python/pyglet</pkg> for plots and print preview</flag>
<flag name="texmacs">Add <pkg>app-office/texmacs</pkg>
interface</flag>
<flag name="theano">Add support for <pkg>dev-python/theano</pkg></flag>
<flag name="system-mpmath">Use mpmath from portage instead of the bundled one</flag>
</use>
<upstream>
<remote-id type="pypi">sympy</remote-id>
<remote-id type="github">sympy/sympy</remote-id>
</upstream>
</pkgmetadata>
+90
View File
@@ -0,0 +1,90 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
PYTHON_COMPAT=( python{2_7,3_3} )
inherit distutils-r1 eutils virtualx
DESCRIPTION="Computer Algebra System in pure Python"
HOMEPAGE="http://sympy.org"
SRC_URI="https://github.com/${PN}/${PN}/releases/download/${P}/${P}.tar.gz
http://dev.gentoo.org/~bicatali/distfiles/${P}-system-mpmath.patch.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-macos"
IUSE="doc examples gtk imaging ipython latex mathml opengl pdf png pyglet +system-mpmath test texmacs theano"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="
$(python_gen_cond_dep '>=dev-python/pexpect-2.0[${PYTHON_USEDEP}]' python2_7)
imaging? ( virtual/python-imaging[${PYTHON_USEDEP}] )
ipython? ( dev-python/ipython[${PYTHON_USEDEP}] )
latex? (
virtual/latex-base
dev-texlive/texlive-fontsextra
png? ( app-text/dvipng )
pdf? ( app-text/ghostscript-gpl )
)
mathml? (
dev-libs/libxml2:2[${PYTHON_USEDEP}]
$(python_gen_cond_dep 'dev-libs/libxslt[${PYTHON_USEDEP}]' python2_7)
gtk? ( x11-libs/gtkmathview[gtk] )
)
opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] )
pyglet? ( $(python_gen_cond_dep 'dev-python/pyglet[${PYTHON_USEDEP}]' python2_7) )
system-mpmath? ( >=dev-python/mpmath-0.18[${PYTHON_USEDEP}] )
texmacs? ( app-office/texmacs )
theano? ( $(python_gen_cond_dep 'dev-python/theano[${PYTHON_USEDEP}]' python2_7) )
"
DEPEND="${RDEPEND}
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
test? ( ${RDEPEND} dev-python/pytest[${PYTHON_USEDEP}] )"
python_prepare_all() {
if use system-mpmath; then
rm -r sympy/mpmath doc/src/modules/mpmath || die
epatch "${WORKDIR}"/${P}-system-mpmath.patch
fi
distutils-r1_python_prepare_all
}
python_compile() {
PYTHONPATH="." distutils-r1_python_compile
}
python_compile_all() {
if use doc; then
export XDG_CONFIG_HOME="${T}/config-dir"
mkdir "${XDG_CONFIG_HOME}" || die
chmod 0700 "${XDG_CONFIG_HOME}" || die
emake -C doc html cheatsheet
fi
}
python_test() {
VIRTUALX_COMMAND="./setup.py" virtualmake test
}
python_install() {
PYTHONPATH="." distutils-r1_python_install
}
python_install_all() {
use doc && local HTML_DOCS=( doc/_build/. ) && \
dodoc doc/_build/cheatsheet/cheatsheet.pdf
use examples && local EXAMPLES=( examples/. )
distutils-r1_python_install_all
if use texmacs; then
exeinto /usr/libexec/TeXmacs/bin/
doexe data/TeXmacs/bin/tm_sympy
insinto /usr/share/TeXmacs/plugins/sympy/
doins -r data/TeXmacs/progs
fi
}
+95
View File
@@ -0,0 +1,95 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
inherit distutils-r1 eutils virtualx
DESCRIPTION="Computer Algebra System in pure Python"
HOMEPAGE="http://sympy.org"
SRC_URI="https://github.com/${PN}/${PN}/releases/download/${P}/${P}.tar.gz
http://dev.gentoo.org/~grozin/${P}-system-mpmath.patch.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-macos"
IUSE="doc examples gtk imaging ipython latex mathml opengl pdf png pyglet +system-mpmath test texmacs theano"
REQUIRED_USE="${PYTHON_REQUIRED_USE}
doc? ( python_targets_python2_7 )"
RDEPEND="
$(python_gen_cond_dep '>=dev-python/pexpect-2.0[${PYTHON_USEDEP}]' python2_7)
imaging? ( virtual/python-imaging[${PYTHON_USEDEP}] )
ipython? ( dev-python/ipython[${PYTHON_USEDEP}] )
latex? (
virtual/latex-base
dev-texlive/texlive-fontsextra
png? ( app-text/dvipng )
pdf? ( app-text/ghostscript-gpl )
)
mathml? (
dev-libs/libxml2:2[${PYTHON_USEDEP}]
$(python_gen_cond_dep 'dev-libs/libxslt[${PYTHON_USEDEP}]' python2_7)
gtk? ( x11-libs/gtkmathview[gtk] )
)
opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] )
pyglet? ( $(python_gen_cond_dep 'dev-python/pyglet[${PYTHON_USEDEP}]' python2_7) )
system-mpmath? ( >=dev-python/mpmath-0.18[${PYTHON_USEDEP}] )
texmacs? ( app-office/texmacs )
theano? ( $(python_gen_cond_dep 'dev-python/theano[${PYTHON_USEDEP}]' python2_7) )
"
DEPEND="${RDEPEND}
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
test? ( ${RDEPEND} dev-python/pytest[${PYTHON_USEDEP}] )"
python_prepare_all() {
epatch "${FILESDIR}"/${P}-doc-makefile.patch
if use system-mpmath; then
rm -r sympy/mpmath doc/src/modules/mpmath || die
epatch "${WORKDIR}"/${P}-system-mpmath.patch
fi
distutils-r1_python_prepare_all
}
python_compile() {
PYTHONPATH="." distutils-r1_python_compile
}
python_compile_all() {
if use doc; then
export XDG_CONFIG_HOME="${T}/config-dir"
mkdir "${XDG_CONFIG_HOME}" || die
chmod 0700 "${XDG_CONFIG_HOME}" || die
emake -j1 -C doc html info cheatsheet
fi
}
python_test() {
VIRTUALX_COMMAND="./setup.py" virtualmake test
}
python_install() {
PYTHONPATH="." distutils-r1_python_install
}
python_install_all() {
local DOCS=( AUTHORS README.rst )
use doc &&\
DOCS=( ${DOCS[*]} doc/_build/cheatsheet/cheatsheet.pdf doc/_build/cheatsheet/combinatoric_cheatsheet.pdf ) &&\
local HTML_DOCS=( doc/_build/html/. ) &&\
doinfo doc/_build/texinfo/${PN}.info
use examples && local EXAMPLES=( examples/. )
distutils-r1_python_install_all
if use texmacs; then
exeinto /usr/libexec/TeXmacs/bin/
doexe data/TeXmacs/bin/tm_sympy
insinto /usr/share/TeXmacs/plugins/sympy/
doins -r data/TeXmacs/progs
fi
}