1
0
Fork 0

Merge branch 'master' of github.com:TheChymera/overlay

This commit is contained in:
Horea Christian 2017-02-19 23:17:32 +01:00
commit a78324ad15
14 changed files with 85 additions and 317 deletions

View File

@ -4,7 +4,7 @@
EAPI=6
PYTHON_COMPAT=( python2_7 )
PYTHON_COMPAT=( python{2_7,3_4,3_5} )
inherit distutils-r1 git-r3 multilib

View File

@ -0,0 +1 @@
DIST graph-tool-2.19.tar.bz2 15147961 SHA256 eba1090f94b0434890beedaf0c100dd0fc77e41ebfe29b4725d76cadb82099af SHA512 dc0bd93ccf21bb6616035dbfe33b0d9406eb894791e615795d486dc8f9d9991a6b93cf835cf4e59197005c14faedf105f3384cccd42db544104840cf857b2a84 WHIRLPOOL 3a398c98487a1e29952fea4c3ff8671e5aaf3d4f9e8df26aae9f6a856e61c290954f4c662e48ae424cbe0b916833a8f3bc7a6eefe6c6c3a08540de58ed6b9de0

View File

@ -0,0 +1,83 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
PYTHON_COMPAT=( python2_7 python3_{4,5} )
inherit check-reqs toolchain-funcs python-r1
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="https://github.com/count0/graph-tool.git"
inherit autotools git-r3
else
SRC_URI="http://downloads.skewed.de/${PN}/${P}.tar.bz2"
KEYWORDS="~amd64 ~x86"
fi
DESCRIPTION="An efficient python module for manipulation and statistical analysis of graphs"
HOMEPAGE="http://graph-tool.skewed.de/"
LICENSE="GPL-3"
SLOT="0"
IUSE="+cairo openmp"
RDEPEND="${PYTHON_DEPS}
dev-libs/boost:=[python,${PYTHON_USEDEP}]
dev-libs/expat
dev-python/numpy[${PYTHON_USEDEP}]
sci-libs/scipy[${PYTHON_USEDEP}]
sci-mathematics/cgal
cairo? (
dev-cpp/cairomm
dev-python/pycairo[${PYTHON_USEDEP}]
)
dev-python/matplotlib[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
dev-cpp/sparsehash
virtual/pkgconfig"
# bug 453544
CHECKREQS_DISK_BUILD="6G"
pkg_pretend() {
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp \
|| die "Please switch to an openmp compatible compiler"
check-reqs_pkg_pretend
}
pkg_setup() {
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp \
|| die "Please switch to an openmp compatible compiler"
}
src_prepare() {
default
[[ ${PV} == "9999" ]] && eautoreconf
python_copy_sources
}
src_configure() {
local threads
has_version "dev-libs/boost[threads]" && threads="-mt"
configure() {
econf \
--disable-static \
--disable-optimization \
$(use_enable openmp) \
$(use_enable cairo) \
--with-boost-python="${EPYTHON: -3}${threads}"
}
python_foreach_impl run_in_build_dir configure
}
src_compile() {
python_foreach_impl run_in_build_dir emake -j1 || die "emake failed"
}
src_install() {
python_foreach_impl run_in_build_dir default
find "${D}" -name '*.la' -delete || die
}

View File

@ -1,19 +0,0 @@
21 Jan 2016; <chymera@gentoo.org> bittorrent-sync-9999.ebuild:
net-p2p/bittorrent-sync: updated ebuild
*bittorrent-sync-9999 (21 Jan 2016)
21 Jan 2016; <chymera@gentoo.org> +bittorrent-sync-9999.ebuild:
net-p2p/bittorrent-sync: trying out live version (currently 2.2.7)
13 Jan 2016; <chymera@gentoo.org> +files/btsync.conf, +files/init.d/btsync,
+files/systemd/btsync.service, -files/btsync.confd, -files/btsync.initd:
net-p2p/bittorrent-sync: added service/config files from pigfoot to correct
ebuild
*bittorrent-sync-1.4.110 (13 Jan 2016)
13 Jan 2016; <chymera@gentoo.org> +bittorrent-sync-1.4.110.ebuild,
-bittorrent-sync-1.1.82.ebuild, -bittorrent-sync-1.3.105.ebuild,
-bittorrent-sync-1.3.94-r1.ebuild:
net-p2p/bittorrent-sync: added new ebuild by pigfoot

View File

@ -1,5 +0,0 @@
DIST BitTorrent-Sync_arm.tar.gz 5413181 SHA256 80c018ba8672325deb537f77d48b383722ffa28d6ee10434d81915a79b066404 SHA512 ab6a368325ed7f53fdd66c421651d794f24a9f91614b0091d72933c35e044b4d5bb9adcb2bab86b53bd1177db7beed61416f0e284840c6d132838f1fd0f6e99f WHIRLPOOL acbf57a566e670c10e29f541a3425ab6360f90ba9f2688d20fccf9be7ad27350c76cee8ca80e0c60293a9010eea8ad51e55e230fd5b40386b4088b540b61eb9c
DIST BitTorrent-Sync_i386.tar.gz 5199007 SHA256 2cc4079f9492be044bd6dc40052349cfabac38a14d9655d0396f701d478813ba SHA512 3227d0d4c96265e6b903d1692e0b5e1ea4c4de8bd539d9850470327329e614f973f19d00fb8956071660e313a41098b269f8639bb0dc7a22868a8284580083ad WHIRLPOOL 0015e301ea7ec29e321589a98ea7773ad538543d3dd9629c7c9e31d96e25943b4431ed6ae6f9f6ce4ae8e0e999e9289701b880e52dc4eebd298b6b450286bcd7
DIST BitTorrent-Sync_x64.tar.gz 5535248 SHA256 eb09aacca9b28125b67a8f48f734d6c5453ed2fe8395a940bbabf5db3c88b0d1 SHA512 ca344bee25f66809d3bd887554525bffed220e887958c1b61cccf344e4171f6df93f4d22af16a0cac7ef4fdf5118bc1201bf57e69ff6fc33a31549cf27c4fe07 WHIRLPOOL e84878b8a2796e04c3370677e89cc43b23e6308217a6422f5c215b3edb939aee70a91513853938ec4d60e78a5440b6a27db558488da9dbaa9d3b82e51e2dd696
DIST btsync_i386-1.4.110.tar.gz 3986220 SHA256 5d307dd9a39e2f6688976eb9e2ba8a67dad98ae7f3df59c6550c45d3bae25831 SHA512 c08990d0707376f7eb117170ea72c0de162eb0c7aacf98b752fc915c92b8f7774ee3d5a51e3857ad1ddcc18427b20c7fdb1720de057705c2812c7b030162ae09 WHIRLPOOL 95c9bcc3a8b4b23c1fc86d6512ab32a86ca13c4a561891894a6186cd766a364f449df8bcb7d419c5e1750086e9d6b41180ab76ee3055cd42416c2d0f607d1ecc
DIST btsync_x64-1.4.110.tar.gz 4138116 SHA256 edba53cf27a2e64646d5216938fc3a2292e7b1201c864387703ffb7d3b362ead SHA512 c3893f6ee70ebdb0ce61559c17ef6af269ca15cd3ccb79768cfbd0b5cd42bfbc5b41cf4506ddd36ff7bbb62c1307b04b621987c4cbfc7c6ab91b8ca465327129 WHIRLPOOL f40628d97248fd692bfced71f08c687a90ef03018697aa4acbd23a5e1cca7d8cafebb475c0edd62ced89325084e380d241321d0e538008bc411028c2b9f018f0

View File

@ -1,57 +0,0 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit user systemd
NAME="btsync"
DESCRIPTION="Fast, unlimited and secure file-syncing. Free from the cloud."
HOMEPAGE="http://www.getsync.com/"
SRC_URI="
amd64? ( http://syncapp.bittorrent.com/${PV}/btsync_x64-${PV}.tar.gz )
x86? ( http://syncapp.bittorrent.com/${PV}/btsync_i386-${PV}.tar.gz )"
RESTRICT="mirror strip"
LICENSE="BitTorrent"
SLOT="0"
KEYWORDS="~amd64 ~x86"
S="${WORKDIR}"
pkg_setup() {
local btsyncuser="btsync"
enewgroup ${btsyncuser}
enewuser btsync -1 -1 /var/lib/${NAME} ${btsyncuser}
}
src_install() {
# Install the executable
exeinto "/opt/${NAME}"
doexe "${S}/${NAME}"
# Install a default configuration file
insinto "/etc/${NAME}"
newins "${FILESDIR}/btsync.conf" "${NAME}.conf"
# Install the OpenRC init file
doinitd "${FILESDIR}/init.d/${NAME}"
# Install the systemd unit file
systemd_dounit "${FILESDIR}/systemd/${NAME}.service"
for x in {/var/lib,/run}/${NAME}; do
keepdir "${x}"
fowners btsync:btsync "${x}"
done
}
pkg_postinst() {
elog "In order for shared files between local users to be as easy as possible,"
elog "please set up ACLs on your system."
elog ""
elog "You will also need to configure btsync by editing /etc/btsync/config"
elog ""
elog "After checking your config, start the service and point your browser to"
elog "http://localhost:8888 , the default username and password is admin/admin."
}

View File

@ -1,57 +0,0 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit user systemd
NAME="btsync"
DESCRIPTION="Fast, unlimited and secure file-syncing. Free from the cloud."
HOMEPAGE="http://www.getsync.com/"
SRC_URI="amd64? ( https://download-cdn.getsync.com/stable/linux-x64/BitTorrent-Sync_x64.tar.gz )
x86? ( https://download-cdn.getsync.com/stable/linux-i386/BitTorrent-Sync_i386.tar.gz )
arm? ( https://download-cdn.getsync.com/stable/linux-arm/BitTorrent-Sync_arm.tar.gz )"
RESTRICT="mirror strip"
LICENSE="BitTorrent"
SLOT="0"
KEYWORDS=""
S="${WORKDIR}"
pkg_setup() {
local btsyncuser="btsync"
enewgroup ${btsyncuser}
enewuser btsync -1 -1 /var/lib/${NAME} ${btsyncuser}
}
src_install() {
# Install the executable
exeinto "/opt/${NAME}"
doexe "${S}/${NAME}"
# Install a default configuration file
insinto "/etc/${NAME}"
newins "${FILESDIR}/btsync.conf" "${NAME}.conf"
# Install the OpenRC init file
doinitd "${FILESDIR}/init.d/${NAME}"
# Install the systemd unit file
systemd_dounit "${FILESDIR}/systemd/${NAME}.service"
for x in {/var/lib,/run}/${NAME}; do
keepdir "${x}"
fowners btsync:btsync "${x}"
done
}
pkg_postinst() {
elog "In order for shared files between local users to be as easy as possible,"
elog "please set up ACLs on your system."
elog ""
elog "You will also need to configure btsync by editing /etc/btsync/config"
elog ""
elog "After checking your config, start the service and point your browser to"
elog "http://localhost:8888 , the default username and password is admin/admin."
}

View File

@ -1,20 +0,0 @@
{
"device_name": "Gentoo",
"listening_port" : 0,
"storage_path" : "/var/lib/btsync",
"pid_file" : "/var/run/btsync/btsync.pid",
"check_for_updates" : true,
"use_upnp" : true,
"download_limit" : 0,
"upload_limit" : 0,
"webui" :
{
"listen" : "127.0.0.1:8888",
"login" : "admin",
"password" : "admin"
}
}

View File

@ -1,44 +0,0 @@
#!/sbin/runscript
# Copyright 2013-2014 Jonathan Vasquez <jvasquez1011@gmail.com>
# Distributed under the terms of the GNU General Public License v2
NAME="BitTorrent Sync"
SYNC_NAME="btsync"
SYNC_PATH="/opt/${SYNC_NAME}/"
SYNC_BINARY="${SYNC_PATH}/${SYNC_NAME}"
SYNC_OPTS="--nodaemon --config /etc/${SYNC_NAME}/btsync.conf"
SYNC_PIDFILE="/var/run/${SYNC_NAME}/${SYNC_NAME}.pid"
SYNC_USER=${SYNC_USER:-btsync}
SYNC_GROUP=${SYNC_GROUP:-btsync}
start() {
ebegin "Starting ${NAME}"
# Sets the umask for the process so that btsync creates files
# with group write permissions
start-stop-daemon --start --exec "${SYNC_BINARY}" \
--pidfile "${SYNC_PIDFILE}" --background \
--user "${SYNC_USER}" --group "${SYNC_GROUP}" \
-- ${SYNC_OPTS}
eend $?
}
stop() {
ebegin "Stopping ${NAME}"
start-stop-daemon --stop --exec "${SYNC_BINARY}" \
--pidfile "${SYNC_PIDFILE}"
eend $?
}
reload() {
ebegin "Reloading ${NAME}"
start-stop-daemon --signal HUP --exec "${SYNC_BINARY}" \
--pidfile "${SYNC_PIDFILE}"
eend $?
}

View File

@ -1,14 +0,0 @@
# Copyright 2014-2016 Jonathan Vasquez <jvasquez1011@gmail.com>
# Distributed under the terms of the GNU General Public License v2
[Unit]
Description=BitTorrent Sync
After=systemd-udev-settle.target local-fs.target zfs.service
[Service]
Type=forking
ExecStart=/opt/btsync/btsync --config /etc/btsync/config
[Install]
WantedBy=multi-user.target

View File

@ -1,7 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<longdescription lang="en">
BitTorrent Sync app for Linux.
</longdescription>
</pkgmetadata>

View File

@ -1,8 +0,0 @@
30 Oct 2016; Horea Christian <h.chr@mail.ru> nipype-9999.ebuild:
sci-libs/nipype: downloading from separate branch
*nipype-9999 (30 Oct 2016)
30 Oct 2016; Horea Christian <h.chr@mail.ru> +metadata.xml,
+nipype-9999.ebuild:
sci-libs/nipype: my temporal nipype fork

View File

@ -1,32 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>horea.christ@gmail.com</email>
<name>Horea Christian</name>
</maintainer>
<maintainer type="project">
<email>sci@gentoo.org</email>
<name>Gentoo Science Project</name>
</maintainer>
<longdescription lang="en">
Nipype, an open-source, community-developed initiative under the
umbrella of NiPy, is a Python project that provides a uniform interface
to existing neuroimaging software and facilitates interaction between
these packages within a single workflow. Nipype provides an environment
that encourages interactive exploration of algorithms from different
packages (e.g., SPM, FSL, FreeSurfer, Camino, MRtrix, MNE, AFNI, Slicer),
eases the design of workflows within and between packages, and reduces
the learning curve necessary to use different packages. Nipype is
creating a collaborative platform for neuroimaging software development
in a high-level language and addressing limitations of existing pipeline systems.
</longdescription>
<upstream>
<remote-id type="sourceforge">nipy</remote-id>
</upstream>
<use>
<flag name="spm">Pull in "Statistical Parametric Mapping" (sci-biology/spm)</flag>
<flag name="fsl">Pull in the "FMRIB Software Library" (sci-biology/fsl)</flag>
<flag name="afni">Pull in the NIH AFNI software bundle (sci-biology/afni)</flag>
</use>
</pkgmetadata>

View File

@ -1,53 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
PYTHON_COMPAT=( python{2_7,3_4,3_5} )
PYTHON_REQ_USE="threads(+),sqlite"
inherit distutils-r1 git-r3
DESCRIPTION="Neuroimaging in Python: Pipelines and Interfaces"
HOMEPAGE="http://nipy.sourceforge.net/nipype/"
SRC_URI=""
EGIT_REPO_URI="https://github.com/TheChymera/nipype"
EGIT_BRANCH="hack"
LICENSE="BSD"
SLOT="0"
KEYWORDS=""
IUSE="test"
DEPEND="
dev-python/future[${PYTHON_USEDEP}]
dev-python/prov[${PYTHON_USEDEP}]
dev-python/numpy[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]
sci-libs/nibabel[${PYTHON_USEDEP}]
test? ( dev-python/mock[${PYTHON_USEDEP}] )
$(python_gen_cond_dep 'dev-python/configparser[${PYTHON_USEDEP}]' python2_7)
"
RDEPEND="
dev-python/networkx[${PYTHON_USEDEP}]
dev-python/pydotplus[${PYTHON_USEDEP}]
dev-python/pygraphviz[${PYTHON_USEDEP}]
dev-python/traits[${PYTHON_USEDEP}]
sci-libs/scipy[${PYTHON_USEDEP}]
dev-python/simplejson[${PYTHON_USEDEP}]
"
python_prepare_all() {
distutils-r1_python_prepare_all
EXISTING_REQUIRE="setup_requires=\['future', 'configparser'\]"
CORRECTED_REQUIRE="setup_requires=\['future'\]"
sed \
-e "s/${EXISTING_REQUIRE}/${CORRECTED_REQUIRE}/g" \
-i setup.py \
|| die "sed setup.py"
}
python_test() {
nosetests -v || die
}