parent
d570b2cf1a
commit
d5d4c97c73
Binary file not shown.
Binary file not shown.
@ -1,2 +1,3 @@
|
||||
DIST cabextract-1.6.tar.gz 241731 BLAKE2B 49a94b1b0d8a6c9f61cd51280a035e3fedb8d7a2d097b132bc56114c6003a558647a7f8c47b8d08fcac1999e68bea5303adb2b03c8e6dd010995e8b0c6dcd442 SHA512 d1c71c0292e3d73d8edbff5f5230b3127c63028f5aba1d0cad968bc945202fb9c0773327affce3d28466068377f029c80735adbabe0929d29b2204dea73738f8
|
||||
DIST cabextract-1.7.tar.gz 293760 BLAKE2B d5ab4783c944d5d8b1d9ed8a2fbbfd60aeeab9f12b836032f982efc5721055b2caa521147246b3b5274d9456b1dbd2d513455cfd57750cf6d7fdc18f109f96c9 SHA512 63789e485d57299f2a0a60dc6d9a94e83639eb59b73789eff52977d3d3bd37a1c00713c86a4c6289e35541d0b7240ea0545ba84013713c070b4324ae1f2865ce
|
||||
DIST cabextract-1.8.tar.gz 289256 BLAKE2B ba9fea0cd12859b0de97b13362eaf276066650eb7151e0115af7ed2586cfa7497f72be2f9287d3ccb5ce5256ec26ca69e729df5bb0a327bb9f32ded25391460c SHA512 f8d676d6b738b0b13ac1cac7716c2fb46db423ef30b05ee64f00fcb19596131fbd34341c8b417af3de04896e9b6a8abf0d5976ee4bf87d016806a71317246d7a
|
||||
|
@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Extracts files from Microsoft cabinet archive files"
|
||||
HOMEPAGE="https://www.cabextract.org.uk/"
|
||||
SRC_URI="https://www.cabextract.org.uk/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="extras"
|
||||
|
||||
RDEPEND="extras? ( dev-lang/perl )"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# the code attempts to set up a fnmatch replacement, but then fails to code
|
||||
# it properly leading to undefined references to rpl_fnmatch(). This may be
|
||||
# removed in the future if building still works by setting "yes" to "no".
|
||||
export ac_cv_func_fnmatch_works=yes
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake AR="$(tc-getAR)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local DOCS=( AUTHORS ChangeLog INSTALL NEWS README TODO doc/magic )
|
||||
default
|
||||
docinto html
|
||||
dodoc doc/wince_cab_format.html
|
||||
if use extras; then
|
||||
dobin src/{wince_info,wince_rename,cabinfo,cabsplit}
|
||||
fi
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1 @@
|
||||
DIST airline-themes-0_pre20181021.tar.xz 38516 BLAKE2B 2fe1e848b57546aa39e02262e5ae3e0164830641b1c8ccca1d3dc04afab8db4c618b079c63d5854697737610df1ab891d1622a22b89c431331b8bd16cc31fc3e SHA512 764fa44a4711c92a03f6f16a3d774ad871d13adfa53e7b942bad677ff1d03f32aa24723c612d50c14ca996fa971f48695e259cc53345d253d38e63f08651e002
|
@ -0,0 +1,16 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit vim-plugin
|
||||
|
||||
DESCRIPTION="vim plugin: a collection of themes for vim-airline"
|
||||
HOMEPAGE="https://github.com/vim-airline/vim-airline-themes"
|
||||
SRC_URI="https://dev.gentoo.org/~zlogene/distfiles/${CATEGORY}/${PN}/${P}.tar.xz"
|
||||
|
||||
LICENSE="MIT"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="app-vim/airline"
|
||||
RDEPEND="${DEPEND}"
|
@ -1,2 +0,0 @@
|
||||
DIST python-mode-0.6.18.tar.gz 386846 BLAKE2B 8fd330ddce4a9107e9ca3248a727e4291b3474810360962425ef4afab25eff8a5a7319bedd91ad7899d160b2f48a28ab8f56a27d5557859f6fb3d906f7d11758 SHA512 0e3159a055304443c8b15590c424ac0f4a4303e343882ff91f01f5b959274931dea83969ab1dcd19ce95894c7da5be60699d51b852dc73165a99a271feec4e64
|
||||
DIST python-mode-0.9.0.tar.gz 671985 BLAKE2B 3bfbbcd11953fbecc0214b66271ab37bfee4476aed5d9a6f0e82c9111d9f6e1404839340079c49f4b73608c899a12c7af2a5a1044f104a3aafdef3c8bd20310e SHA512 03aef010a95241abf9605ca334d95a2c0b917c61aea23f794e574acd56ba5d958032975d17d1af40a5edccd90f0172783a26fc301d799fd619bfd263da685161
|
@ -1,15 +0,0 @@
|
||||
https://github.com/klen/python-mode/issues/162
|
||||
--- a/ftplugin/python/init-pymode.vim
|
||||
+++ b/ftplugin/python/init-pymode.vim
|
||||
@@ -46,10 +46,9 @@ if !pymode#Default('g:pymode_path', 1) || g:pymode_path
|
||||
python << EOF
|
||||
import sys, vim, os
|
||||
|
||||
-curpath = vim.eval("getcwd()")
|
||||
libpath = os.path.join(vim.eval("expand('<sfile>:p:h:h:h')"), 'pylibs')
|
||||
|
||||
-sys.path = [libpath, curpath] + vim.eval("g:pymode_paths") + sys.path
|
||||
+sys.path = [libpath] + vim.eval("g:pymode_paths") + sys.path
|
||||
EOF
|
||||
|
||||
endif " }}}
|
@ -1,17 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>vim@gentoo.org</email>
|
||||
<name>Gentoo Vim Project</name>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
Python-mode is a vim plugin that allows you to use the pylint, rope,
|
||||
pydoc, pyflakes, pep8, mccabe libraries in vim to provide features like
|
||||
python code looking for bugs, refactoring and some other useful
|
||||
things.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">klen/python-mode</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,55 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
VIM_PLUGIN_MESSAGES="filetype"
|
||||
VIM_PLUGIN_HELPFILES="PythonModeCommands"
|
||||
VIM_PLUGIN_HELPURI="https://github.com/klen/python-mode"
|
||||
|
||||
inherit vim-plugin eutils
|
||||
|
||||
DESCRIPTION="Provide python code looking for bugs, refactoring and other useful things"
|
||||
HOMEPAGE="https://www.vim.org/scripts/script.php?script_id=3770 https://github.com/klen/python-mode"
|
||||
SRC_URI="https://github.com/klen/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/astng
|
||||
dev-python/autopep8
|
||||
dev-python/pyflakes
|
||||
dev-python/pylint
|
||||
dev-python/rope
|
||||
dev-python/ropemode
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-dont-add-cwd-to-syspath.patch
|
||||
|
||||
# debundling fun
|
||||
rm -rf pylibs/pylama/{pep8.py,pyflakes} pylibs/{autopep8.py}
|
||||
#rm -rf pylibs/{rope,ropemode} #475686
|
||||
sed -e 's/from .pep8/from pep8/g' \
|
||||
-e 's/from .pyflakes/from pyflakes/g' \
|
||||
-i pylibs/pylama/utils.py || die
|
||||
# there's still pylint left, I failed to debundle it :/
|
||||
|
||||
mv pylint.ini "${T}" || die
|
||||
sed -e "s|expand(\"<sfile>:p:h:h\")|\"${EPREFIX}/usr/share/${PN}\"|" \
|
||||
-i autoload/pymode.vim || die # use custom path
|
||||
}
|
||||
|
||||
src_install() {
|
||||
vim-plugin_src_install
|
||||
insinto usr/share/${PN}
|
||||
doins "${T}"/pylint.ini
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
vim-plugin_pkg_postinst
|
||||
einfo "If you use custom pylintrc make sure you append the contents of"
|
||||
einfo " ${EPREFIX}/usr/share/${PN}/pylint.ini"
|
||||
einfo "to it. Otherwise PyLint command will not work properly."
|
||||
}
|
@ -1,62 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
VIM_PLUGIN_MESSAGES="filetype"
|
||||
VIM_PLUGIN_HELPFILES="PythonModeCommands"
|
||||
VIM_PLUGIN_HELPURI="https://github.com/klen/python-mode"
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit python-single-r1 vim-plugin
|
||||
|
||||
DESCRIPTION="Provide python code looking for bugs, refactoring and other useful things"
|
||||
HOMEPAGE="https://www.vim.org/scripts/script.php?script_id=3770 https://github.com/klen/python-mode"
|
||||
SRC_URI="https://github.com/klen/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
|| (
|
||||
app-editors/vim[python,${PYTHON_USEDEP}]
|
||||
app-editors/gvim[python,${PYTHON_USEDEP}]
|
||||
)
|
||||
dev-python/astng[${PYTHON_USEDEP}]
|
||||
dev-python/autopep8[${PYTHON_USEDEP}]
|
||||
dev-python/pyflakes[${PYTHON_USEDEP}]
|
||||
dev-python/pylint[${PYTHON_USEDEP}]
|
||||
dev-python/rope[${PYTHON_USEDEP}]
|
||||
dev-python/ropemode[${PYTHON_USEDEP}]"
|
||||
|
||||
src_prepare() {
|
||||
eapply "${FILESDIR}"/${P}-dont-add-cwd-to-syspath.patch
|
||||
eapply_user
|
||||
|
||||
# debundling fun
|
||||
rm -rf pylibs/pylama/{pep8.py,pyflakes} pylibs/{autopep8.py}
|
||||
#rm -rf pylibs/{rope,ropemode} #475686
|
||||
sed -e 's/from .pep8/from pep8/g' \
|
||||
-e 's/from .pyflakes/from pyflakes/g' \
|
||||
-i pylibs/pylama/utils.py || die
|
||||
# there's still pylint left, I failed to debundle it :/
|
||||
|
||||
mv pylint.ini "${T}" || die
|
||||
sed -e "s|expand(\"<sfile>:p:h:h\")|\"${EPREFIX}/usr/share/${PN}\"|" \
|
||||
-i autoload/pymode.vim || die # use custom path
|
||||
}
|
||||
|
||||
src_install() {
|
||||
vim-plugin_src_install
|
||||
insinto usr/share/${PN}
|
||||
doins "${T}"/pylint.ini
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
vim-plugin_pkg_postinst
|
||||
einfo "If you use custom pylintrc make sure you append the contents of"
|
||||
einfo " ${EPREFIX}/usr/share/${PN}/pylint.ini"
|
||||
einfo "to it. Otherwise PyLint command will not work properly."
|
||||
}
|
@ -1,48 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
VIM_PLUGIN_MESSAGES="filetype"
|
||||
VIM_PLUGIN_HELPFILES="PythonModeCommands"
|
||||
VIM_PLUGIN_HELPURI="https://github.com/klen/python-mode"
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit vim-plugin python-single-r1
|
||||
|
||||
DESCRIPTION="Provide python code looking for bugs, refactoring and other useful things"
|
||||
HOMEPAGE="https://www.vim.org/scripts/script.php?script_id=3770 https://github.com/klen/python-mode"
|
||||
SRC_URI="https://github.com/klen/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
dev-python/rope[${PYTHON_USEDEP}]
|
||||
dev-python/astng[${PYTHON_USEDEP}]
|
||||
dev-python/pylint[${PYTHON_USEDEP}]
|
||||
dev-python/pyflakes[${PYTHON_USEDEP}]
|
||||
dev-python/autopep8[${PYTHON_USEDEP}]
|
||||
dev-python/ropemode[${PYTHON_USEDEP}]"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -e "s|expand(\"<sfile>:p:h:h\")|\"${EPREFIX}/usr/share/${PN}\"|" \
|
||||
-i autoload/pymode.vim || die # use custom path
|
||||
}
|
||||
|
||||
src_install() {
|
||||
vim-plugin_src_install
|
||||
insinto "usr/share/${PN}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
vim-plugin_pkg_postinst
|
||||
}
|
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
VIM_PLUGIN_MESSAGES="filetype"
|
||||
VIM_PLUGIN_HELPFILES="PythonModeCommands"
|
||||
VIM_PLUGIN_HELPURI="https://github.com/klen/python-mode"
|
||||
|
||||
inherit vim-plugin eutils
|
||||
|
||||
DESCRIPTION="Provide python code looking for bugs, refactoring and other useful things"
|
||||
HOMEPAGE="https://www.vim.org/scripts/script.php?script_id=3770 https://github.com/klen/python-mode"
|
||||
SRC_URI="https://github.com/klen/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/rope
|
||||
dev-python/astng
|
||||
dev-python/pylint
|
||||
dev-python/pyflakes
|
||||
dev-python/autopep8
|
||||
dev-python/ropemode"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -e "s|expand(\"<sfile>:p:h:h\")|\"${EPREFIX}/usr/share/${PN}\"|" \
|
||||
-i autoload/pymode.vim || die # use custom path
|
||||
}
|
||||
|
||||
src_install() {
|
||||
vim-plugin_src_install
|
||||
insinto usr/share/${PN}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
vim-plugin_pkg_postinst
|
||||
}
|
Binary file not shown.
@ -1,3 +1,2 @@
|
||||
DIST pgadmin4-3.0.tar.gz 28915010 BLAKE2B 7e6dccd91f082f7b5514f5d3abdf4653a9961b4efc706e10ce58d817785d514508233e25068762fe0e4bca4c1a3cf10a2515afa38e6f9ba3c99b4af3fa32f3d2 SHA512 5921340176e6748ef13112d906061f195d4bb2f73917d762371bbaeb44ef66cf8e0edcd1cd241eb78dae46ed0b3af014c749468a930fb0c0983b38b2c54dfc3a
|
||||
DIST pgadmin4-3.3.tar.gz 30471775 BLAKE2B 06fe13d4e87709aa7ea5a7eef0aa5c7f3aae6891da0c4414fdf5e8936bb6bb7ac9092fd1e4f32f2f253fad7ace5fb8bdf07fed7ccb6dac68175fee5db2d27f4f SHA512 25027298a51d2ce01902fcd2314e35a44dfb5e3d7f6f5f1620841488bd5b8215436ffcad102fe9846ed4a9dee550232cb0b03c2ee0d5f46f53c753c8107e7ec3
|
||||
DIST pgadmin4-3.4.tar.gz 30743447 BLAKE2B 4476989dc9bd672810ced56f4c3e6b87f27ec28d693ab6a909b1cdd4ddc0ae51552fe7ac5a3db4382ccded433b1dab239de01697c0709474381c117460a45163 SHA512 57160827a7577b89029a3a621653f2fec9f3b5379a554ea8bcaf80225f32f1ed93e4560ce5d5b499aff2091589e641bdfe82987be46b6155bca3fb072cf2c5e2
|
||||
|
@ -1,124 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python3_{4,5,6} )
|
||||
PYTHON_REQ_USE="sqlite"
|
||||
|
||||
inherit python-single-r1 qmake-utils
|
||||
|
||||
DESCRIPTION="GUI administration and development platform for PostgreSQL"
|
||||
HOMEPAGE="https://www.pgadmin.org/"
|
||||
SRC_URI="mirror://postgresql/pgadmin/${PN}/v${PV}/source/${P}.tar.gz"
|
||||
|
||||
LICENSE="POSTGRESQL"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SLOT="0"
|
||||
IUSE="doc"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
COMMON_DEPEND="${PYTHON_DEPS}
|
||||
dev-qt/qtwidgets:5
|
||||
dev-qt/qtwebkit:5
|
||||
dev-qt/qtwebengine:5[widgets]
|
||||
"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||
"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
>=app-text/htmlmin-0.1.12[${PYTHON_USEDEP}]
|
||||
>=dev-python/Babel-2.3.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/beautifulsoup-4.4.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/blinker-1.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/click-6.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/extras-1.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-1.0.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-babel-0.11.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-babelex-0.9.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-gravatar-0.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-htmlmin-1.3.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-login-0.3.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-mail-0.9.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-migrate-2.1.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-paranoid-0.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-principal-0.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-security-3.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-sqlalchemy-2.3.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-wtf-0.14.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/html5lib-1.0.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/itsdangerous-0.24[${PYTHON_USEDEP}]
|
||||
>=dev-python/jinja-2.7.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/linecache2-1.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/markupsafe-0.23[${PYTHON_USEDEP}]
|
||||
>=dev-python/mimeparse-1.6.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/passlib-1.7.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/pbr-3.1.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/psycopg-2.7.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/pycrypto-2.6.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyrsistent-0.14.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-dateutil-2.7.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-sqlparse-0.2.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytz-2018.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/simplejson-3.13.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.11.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/speaklater-1.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/sqlalchemy-1.2.5[${PYTHON_USEDEP}]
|
||||
>=dev-python/sshtunnel-0.1.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/werkzeug-0.9.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/wtforms-2.1[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
S="${WORKDIR}"/${P}/runtime
|
||||
|
||||
src_prepare() {
|
||||
cd "${WORKDIR}"/${P} || die
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
eqmake5
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
if use doc; then
|
||||
cd "${WORKDIR}"/${P} || die
|
||||
emake docs
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin pgAdmin4
|
||||
|
||||
cd "${WORKDIR}"/${P} || die
|
||||
|
||||
local APP_DIR=/usr/share/${PN}/web
|
||||
insinto "${APP_DIR}"
|
||||
doins -r web/*
|
||||
cat > "${D}${APP_DIR}"/config_local.py <<-EOF
|
||||
SERVER_MODE = False
|
||||
UPGRADE_CHECK_ENABLED = False
|
||||
EOF
|
||||
python_optimize "${D}${APP_DIR}"
|
||||
|
||||
local CONFIG_DIR="/etc/xdg/pgadmin"
|
||||
dodir "${CONFIG_DIR}"
|
||||
cat > "${D}${CONFIG_DIR}"/pgadmin4.conf <<-EOF
|
||||
[General]
|
||||
ApplicationPath=${APP_DIR}
|
||||
PythonPath=$(python_get_sitedir)
|
||||
EOF
|
||||
|
||||
if use doc; then
|
||||
rm -r docs/en_US/_build/html/_sources || die
|
||||
insinto /usr/share/${PN}/docs/en_US/_build
|
||||
doins -r docs/en_US/_build/html
|
||||
fi
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,228 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
export CBUILD=${CBUILD:-${CHOST}}
|
||||
export CTARGET=${CTARGET:-${CHOST}}
|
||||
|
||||
MY_PV=${PV/_/}
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
BOOTSTRAP_DIST="https://dev.gentoo.org/~williamh/dist"
|
||||
BOOTSTRAP_VERSION="bootstrap-1.8"
|
||||
BOOTSTRAP_URI="
|
||||
amd64? ( ${BOOTSTRAP_DIST}/go-linux-amd64-${BOOTSTRAP_VERSION}.tbz )
|
||||
arm? ( ${BOOTSTRAP_DIST}/go-linux-arm-${BOOTSTRAP_VERSION}.tbz )
|
||||
arm64? ( ${BOOTSTRAP_DIST}/go-linux-arm64-${BOOTSTRAP_VERSION}.tbz )
|
||||
ppc64? (
|
||||
${BOOTSTRAP_DIST}/go-linux-ppc64-${BOOTSTRAP_VERSION}.tbz
|
||||
${BOOTSTRAP_DIST}/go-linux-ppc64le-${BOOTSTRAP_VERSION}.tbz
|
||||
)
|
||||
s390? ( ${BOOTSTRAP_DIST}/go-linux-s390x-${BOOTSTRAP_VERSION}.tbz )
|
||||
x86? ( ${BOOTSTRAP_DIST}/go-linux-386-${BOOTSTRAP_VERSION}.tbz )
|
||||
amd64-fbsd? ( ${BOOTSTRAP_DIST}/go-freebsd-amd64-${BOOTSTRAP_VERSION}.tbz )
|
||||
x86-fbsd? ( ${BOOTSTRAP_DIST}/go-freebsd-386-${BOOTSTRAP_VERSION}.tbz )
|
||||
x64-macos? ( ${BOOTSTRAP_DIST}/go-darwin-amd64-${BOOTSTRAP_VERSION}.tbz )
|
||||
x64-solaris? ( ${BOOTSTRAP_DIST}/go-solaris-amd64-${BOOTSTRAP_VERSION}.tbz )
|
||||
"
|
||||
|
||||
case ${PV} in
|
||||
*9999*)
|
||||
EGIT_REPO_URI="https://github.com/golang/go.git"
|
||||
inherit git-r3
|
||||
;;
|
||||
*)
|
||||
SRC_URI="https://storage.googleapis.com/golang/go${MY_PV}.src.tar.gz "
|
||||
S="${WORKDIR}"/go
|
||||
case ${PV} in
|
||||
*_beta*|*_rc*) ;;
|
||||
*)
|
||||
KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc64 ~s390 ~x86 ~amd64-fbsd ~x86-fbsd ~x64-macos ~x64-solaris"
|
||||
# The upstream tests fail under portage but pass if the build is
|
||||
# run according to their documentation [1].
|
||||
# I am restricting the tests on released versions until this is
|
||||
# solved.
|
||||
# [1] https://golang.org/issues/18442
|
||||
RESTRICT="test"
|
||||
;;
|
||||
esac
|
||||
esac
|
||||
SRC_URI+="!gccgo? ( ${BOOTSTRAP_URI} )"
|
||||
|
||||
DESCRIPTION="A concurrent garbage collected and typesafe programming language"
|
||||
HOMEPAGE="https://golang.org"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/${PV}"
|
||||
IUSE="gccgo"
|
||||
|
||||
DEPEND="gccgo? ( >=sys-devel/gcc-5[go] )"
|
||||
RDEPEND="!<dev-go/go-tools-0_pre20150902"
|
||||
|
||||
# These test data objects have writable/executable stacks.
|
||||
QA_EXECSTACK="
|
||||
usr/lib/go/src/debug/elf/testdata/*.obj
|
||||
usr/lib/go/src/go/internal/gccgoimporter/testdata/escapeinfo.gox
|
||||
usr/lib/go/src/go/internal/gccgoimporter/testdata/unicode.gox
|
||||
usr/lib/go/src/go/internal/gccgoimporter/testdata/time.gox
|
||||
"
|
||||
|
||||
# Do not complain about CFLAGS, etc, since Go doesn't use them.
|
||||
QA_FLAGS_IGNORED='.*'
|
||||
|
||||
REQUIRES_EXCLUDE="/usr/lib/go/src/debug/elf/testdata/*"
|
||||
|
||||
# The tools in /usr/lib/go should not cause the multilib-strict check to fail.
|
||||
QA_MULTILIB_PATHS="usr/lib/go/pkg/tool/.*/.*"
|
||||
|
||||
# Do not strip this package. Stripping is unsupported upstream and may
|
||||
# fail.
|
||||
RESTRICT+=" strip"
|
||||
|
||||
DOCS=(
|
||||
AUTHORS
|
||||
CONTRIBUTING.md
|
||||
CONTRIBUTORS
|
||||
PATENTS
|
||||
README.md
|
||||
)
|
||||
|
||||
go_arch()
|
||||
{
|
||||
# By chance most portage arch names match Go
|
||||
local portage_arch=$(tc-arch $@)
|
||||
case "${portage_arch}" in
|
||||
x86) echo 386;;
|
||||
x64-*) echo amd64;;
|
||||
ppc64) [[ $(tc-endian $@) = big ]] && echo ppc64 || echo ppc64le ;;
|
||||
s390) echo s390x ;;
|
||||
*) echo "${portage_arch}";;
|
||||
esac
|
||||
}
|
||||
|
||||
go_arm()
|
||||
{
|
||||
case "${1:-${CHOST}}" in
|
||||
armv5*) echo 5;;
|
||||
armv6*) echo 6;;
|
||||
armv7*) echo 7;;
|
||||
*)
|
||||
die "unknown GOARM for ${1:-${CHOST}}"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
go_os()
|
||||
{
|
||||
case "${1:-${CHOST}}" in
|
||||
*-linux*) echo linux;;
|
||||
*-darwin*) echo darwin;;
|
||||
*-freebsd*) echo freebsd;;
|
||||
*-netbsd*) echo netbsd;;
|
||||
*-openbsd*) echo openbsd;;
|
||||
*-solaris*) echo solaris;;
|
||||
*-cygwin*|*-interix*|*-winnt*)
|
||||
echo windows
|
||||
;;
|
||||
*)
|
||||
die "unknown GOOS for ${1:-${CHOST}}"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
go_tuple()
|
||||
{
|
||||
echo "$(go_os $@)_$(go_arch $@)"
|
||||
}
|
||||
|
||||
go_cross_compile()
|
||||
{
|
||||
[[ $(go_tuple ${CBUILD}) != $(go_tuple) ]]
|
||||
}
|
||||
|
||||
pkg_pretend()
|
||||
{
|
||||
# make.bash does not understand cross-compiling a cross-compiler
|
||||
if [[ $(go_tuple) != $(go_tuple ${CTARGET}) ]]; then
|
||||
die "CHOST CTARGET pair unsupported: CHOST=${CHOST} CTARGET=${CTARGET}"
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack()
|
||||
{
|
||||
if [[ ${PV} = 9999 ]]; then
|
||||
git-r3_src_unpack
|
||||
fi
|
||||
default
|
||||
}
|
||||
|
||||
src_compile()
|
||||
{
|
||||
export GOROOT_BOOTSTRAP="${WORKDIR}"/go-$(go_os)-$(go_arch)-bootstrap
|
||||
if use gccgo; then
|
||||
mkdir -p "${GOROOT_BOOTSTRAP}/bin" || die
|
||||
local go_binary=$(gcc-config --get-bin-path)/go-$(gcc-major-version)
|
||||
[[ -x ${go_binary} ]] || go_binary=$(
|
||||
find "${EPREFIX}"/usr/${CHOST}/gcc-bin/*/go-$(gcc-major-version) |
|
||||
sort -V | tail -n1)
|
||||
[[ -x ${go_binary} ]] ||
|
||||
die "go-$(gcc-major-version): command not found"
|
||||
ln -s "${go_binary}" "${GOROOT_BOOTSTRAP}/bin/go" || die
|
||||
fi
|
||||
export GOROOT_FINAL="${EPREFIX}"/usr/lib/go
|
||||
export GOROOT="$(pwd)"
|
||||
export GOBIN="${GOROOT}/bin"
|
||||
|
||||
# Go's build script does not use BUILD/HOST/TARGET consistently. :(
|
||||
export GOHOSTARCH=$(go_arch ${CBUILD})
|
||||
export GOHOSTOS=$(go_os ${CBUILD})
|
||||
export CC=$(tc-getBUILD_CC)
|
||||
|
||||
export GOARCH=$(go_arch)
|
||||
export GOOS=$(go_os)
|
||||
export CC_FOR_TARGET=$(tc-getCC)
|
||||
export CXX_FOR_TARGET=$(tc-getCXX)
|
||||
if [[ ${ARCH} == arm ]]; then
|
||||
export GOARM=$(go_arm)
|
||||
fi
|
||||
einfo "GOROOT_BOOTSTRAP is ${GOROOT_BOOTSTRAP}"
|
||||
|
||||
cd src
|
||||
./make.bash || die "build failed"
|
||||
}
|
||||
|
||||
src_test()
|
||||
{
|
||||
go_cross_compile && return 0
|
||||
|
||||
cd src
|
||||
PATH="${GOBIN}:${PATH}" \
|
||||
./run.bash -no-rebuild || die "tests failed"
|
||||
}
|
||||
|
||||
src_install()
|
||||
{
|
||||
local bin_path f x
|
||||
|
||||
dodir /usr/lib/go
|
||||
|
||||
# There is a known issue which requires the source tree to be installed [1].
|
||||
# Once this is fixed, we can consider using the doc use flag to control
|
||||
# installing the doc and src directories.
|
||||
# [1] https://golang.org/issue/2775
|
||||
#
|
||||
# deliberately use cp to retain permissions
|
||||
cp -R api bin doc lib pkg misc src test "${ED}"/usr/lib/go
|
||||
if go_cross_compile; then
|
||||
bin_path="bin/$(go_tuple)"
|
||||
else
|
||||
bin_path=bin
|
||||
fi
|
||||
for x in ${bin_path}/*; do
|
||||
f=${x##*/}
|
||||
dosym ../lib/go/${bin_path}/${f} /usr/bin/${f}
|
||||
done
|
||||
einstalldocs
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1 +0,0 @@
|
||||
DIST logilab-astng-0.24.3.tar.gz 106660 BLAKE2B 0f82787fc0a3de025fb2921d0e94ca8e2ee33dfe636c9ad55f6494983467c8acfdab0aa83e7f84f1525697a6a5317569ff51537732a90ccdec2646f380b316ac SHA512 fb1e46ebf7111d727cd9d187968cb349dc23dfba0d4d8c6c793a8c081d4506f11e488074cc51b632c525aa264cfa50279dda90f0cf35dc2120ebbf4714902525
|
@ -1,51 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Abstract Syntax Tree for logilab packages"
|
||||
HOMEPAGE="https://www.logilab.org/project/logilab-astng https://pypi.org/project/logilab-astng/"
|
||||
SRC_URI="ftp://ftp.logilab.org/pub/astng/logilab-${P}.tar.gz mirror://pypi/l/logilab-astng/logilab-${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x64-macos ~x86-macos"
|
||||
IUSE="test"
|
||||
|
||||
# 1.2.2-r1 for namespace files
|
||||
RDEPEND=">=dev-python/logilab-common-1.2.2-r1[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( >=dev-python/egenix-mx-base-3.0.0[$(python_gen_usedep 'python2*')] )"
|
||||
|
||||
S="${WORKDIR}/logilab-${P}"
|
||||
RESTRICT="test" # erroneous failures
|
||||
|
||||
# a wit; pypy reports astng modules differently
|
||||
PATCHES=( "${FILESDIR}"/pypy-test.patch )
|
||||
|
||||
python_test() {
|
||||
distutils_install_for_testing
|
||||
# test target needs unpacked test directories, doesn't like binary egg
|
||||
esetup.py install_lib --install-dir="${TEST_DIR}"/lib
|
||||
#https://bitbucket.org/logilab/astroid/issue/1/test-suite-fails-in-0243-under-py32-pypy
|
||||
# Make sure that the tests use correct modules.
|
||||
cd "${TEST_DIR}"/lib || die
|
||||
pytest -v || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install() {
|
||||
distutils-r1_python_install
|
||||
|
||||
rm "${D}$(python_get_sitedir)/logilab/__init__.py" || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
find "${D}" -name '*.pth' -delete || die
|
||||
}
|
@ -1,45 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Abstract Syntax Tree for logilab packages"
|
||||
HOMEPAGE="https://www.logilab.org/project/logilab-astng https://pypi.org/project/logilab-astng/"
|
||||
SRC_URI="ftp://ftp.logilab.org/pub/astng/logilab-${P}.tar.gz mirror://pypi/l/logilab-astng/logilab-${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sparc x86 ~x64-macos ~x86-macos"
|
||||
IUSE="test"
|
||||
|
||||
# Version specified in __pkginfo__.py.
|
||||
RDEPEND=">=dev-python/logilab-common-0.59.0[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( >=dev-python/egenix-mx-base-3.0.0[$(python_gen_usedep 'python2*')] )"
|
||||
|
||||
S="${WORKDIR}/logilab-${P}"
|
||||
RESTRICT="test" # erroneous failures
|
||||
|
||||
# a wit; pypy reports astng modules differently
|
||||
PATCHES=( "${FILESDIR}"/pypy-test.patch )
|
||||
|
||||
python_test() {
|
||||
distutils_install_for_testing
|
||||
# test target needs unpacked test directories, doesn't like binary egg
|
||||
esetup.py install_lib --install-dir="${TEST_DIR}"/lib
|
||||
#https://bitbucket.org/logilab/astroid/issue/1/test-suite-fails-in-0243-under-py32-pypy
|
||||
# Make sure that the tests use correct modules.
|
||||
cd "${TEST_DIR}"/lib || die
|
||||
pytest -v || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install() {
|
||||
distutils-r1_python_install
|
||||
|
||||
rm "${D}$(python_get_sitedir)/logilab/__init__.py" || die
|
||||
}
|
@ -1,36 +0,0 @@
|
||||
diff -ur logilab-astng-0.24.3.orig/test/unittest_builder.py logilab-astng-0.24.3/test/unittest_builder.py
|
||||
--- test/unittest_builder.py 2013-04-17 17:38:31.000000000 +0800
|
||||
+++ test/unittest_builder.py 2013-06-19 02:13:51.425269363 +0800
|
||||
@@ -62,8 +62,12 @@
|
||||
self.assertEqual(name.tolineno, 4)
|
||||
strarg = callfunc.args[0]
|
||||
self.assertIsInstance(strarg, nodes.Const)
|
||||
- self.assertEqual(strarg.fromlineno, 5) # no way for this one (is 4 actually)
|
||||
- self.assertEqual(strarg.tolineno, 5)
|
||||
+ if hasattr(sys, 'pypy_version_info'):
|
||||
+ self.assertEqual(strarg.fromlineno, 4) # no way for this one (is 4 actually)
|
||||
+ self.assertEqual(strarg.tolineno, 4)
|
||||
+ else:
|
||||
+ self.assertEqual(strarg.fromlineno, 5) # no way for this one (is 4 actually)
|
||||
+ self.assertEqual(strarg.tolineno, 5)
|
||||
namearg = callfunc.args[1]
|
||||
self.assertIsInstance(namearg, nodes.Name)
|
||||
self.assertEqual(namearg.fromlineno, 5)
|
||||
diff -ur logilab-astng-0.24.3.orig/test/unittest_inference.py logilab-astng-0.24.3/test/unittest_inference.py
|
||||
--- test/unittest_inference.py 2013-04-17 17:38:31.000000000 +0800
|
||||
+++ test/unittest_inference.py 2013-06-19 02:52:41.618270007 +0800
|
||||
@@ -710,8 +710,12 @@
|
||||
node = get_name_node(astng, 'open', -1)
|
||||
infered = list(node.infer())
|
||||
self.assertEqual(len(infered), 1)
|
||||
- self.assertIsInstance(infered[0], nodes.Function)
|
||||
- self.assertEqual(infered[0].name, 'open')
|
||||
+ if hasattr(sys, 'pypy_version_info'):
|
||||
+ self.assertIsInstance(infered[0], nodes.Class)
|
||||
+ self.assertEqual(infered[0].name, 'file')
|
||||
+ else:
|
||||
+ self.assertIsInstance(infered[0], nodes.Function)
|
||||
+ self.assertEqual(infered[0].name, 'open')
|
||||
|
||||
def test_callfunc_context_func(self):
|
||||
code = '''
|
@ -1,22 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>python@gentoo.org</email>
|
||||
<name>Python</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">The aim of this module is to provide a common base representation of
|
||||
python source code for projects such as pychecker, pyreverse,
|
||||
pylint... Well, actually the development of this library is
|
||||
essentially governed by pylint's needs.
|
||||
It provides a compatible representation which comes from the _ast
|
||||
module. It rebuilds the tree generated by the builtin _ast module by
|
||||
recursively walking down the AST and building an extended ast (let's
|
||||
call it astng ;). The new node classes have additional methods and
|
||||
attributes for different usages. They include some support for static
|
||||
inference and local name scopes. Furthermore, astng builds partial
|
||||
trees by inspecting living objects.</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="pypi">logilab-astng</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,2 +0,0 @@
|
||||
DIST logilab-common-1.2.2.tar.gz 184817 BLAKE2B 0318b4144150303b483fe921e01af326b55b7a3b93a014506685fde0b4e094a88efaaa70f63623264ee34fdfa72703e31cb0c8e9f4a69e309cab50997acae7ac SHA512 9c2161e8644e50cb3d4418430ca95363363e532b286d39cbdb73a51274bee02e5e8d0632b7564049243f497df96102c90ab0aeff9c91e91f7275407a6cfc56e2
|
||||
DIST logilab-common-1.4.1.tar.gz 185150 BLAKE2B 4c77b0a136a0de708801971f85b55fdd598767737ed17bc83ad1b934bcea5db67534370c202bc4b874ac774494ec6295a2458a7ae39fae36a9d5b482bce65563 SHA512 e016aa8bd8641b4178aa1d1dd58c8c78bf6c3a80c35c9096d9761eeb49c9ee1ab5952839a1b7ecc404cd60b31078d3e997d73ad4f8d07d88badffe6c8748a059
|
@ -1,21 +0,0 @@
|
||||
diff --git a/bin/pytest-local b/bin/pytest-local
|
||||
new file mode 100755
|
||||
index 0000000..a2b771b
|
||||
--- /dev/null
|
||||
+++ b/bin/pytest-local
|
||||
@@ -0,0 +1,15 @@
|
||||
+#!/usr/bin/env python
|
||||
+
|
||||
+import sys
|
||||
+try:
|
||||
+ # remove an already installed logilab-common module from
|
||||
+ # the list of namespaces to force the local module to be tested
|
||||
+ del sys.modules['logilab']
|
||||
+except KeyError:
|
||||
+ pass
|
||||
+
|
||||
+import warnings
|
||||
+warnings.simplefilter('default', DeprecationWarning)
|
||||
+
|
||||
+from logilab.common.pytest import run
|
||||
+run()
|
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Useful miscellaneous modules used by Logilab projects"
|
||||
HOMEPAGE="https://www.logilab.org/project/logilab-common https://pypi.org/project/logilab-common/"
|
||||
SRC_URI="ftp://ftp.logilab.org/pub/common/${P}.tar.gz mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm ia64 ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=">=dev-python/six-1.4.0[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
$(python_gen_cond_dep 'dev-python/egenix-mx-base[${PYTHON_USEDEP}]' python2_7)
|
||||
dev-python/pytz[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-test-namespace-fix.patch" )
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
doman doc/pytest.1
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# https://www.logilab.org/ticket/149345
|
||||
# Prevent timezone related failure.
|
||||
export TZ=UTC
|
||||
|
||||
"${PYTHON}" bin/pytest-local || die "Tests fail with ${EPYTHON}"
|
||||
}
|
@ -1,51 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Useful miscellaneous modules used by Logilab projects"
|
||||
HOMEPAGE="https://www.logilab.org/project/logilab-common https://pypi.org/project/logilab-common/"
|
||||
SRC_URI="ftp://ftp.logilab.org/pub/common/${P}.tar.gz mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=">=dev-python/six-1.4.0[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
$(python_gen_cond_dep 'dev-python/egenix-mx-base[${PYTHON_USEDEP}]' python2_7)
|
||||
dev-python/pytz[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
python_test() {
|
||||
# https://www.logilab.org/ticket/149345
|
||||
# Prevent timezone related failure.
|
||||
export TZ=UTC
|
||||
|
||||
${EPYTHON} bin/logilab-pytest || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install() {
|
||||
distutils-r1_python_install
|
||||
|
||||
# this package is commonly used by all logilab.* in ::gentoo,
|
||||
# so let's just keep the namespace here
|
||||
python_moduleinto logilab
|
||||
python_domodule logilab/__init__.py
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
doman doc/logilab-pytest.1
|
||||
find "${D}" -name '*.pth' -delete || die
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>python@gentoo.org</email>
|
||||
<name>Python</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="pypi">logilab-common</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1 +0,0 @@
|
||||
DIST logilab-constraint-0.5.0.tar.gz 48395 BLAKE2B d08759f5f329f1d155e449e16cb20896ebad9b5f1c946485dd5e66bd8e931608467511b2d2ecbbc8c1d165b3773c95630233b79d96945235ce7c22e7c863a48a SHA512 b1ccc6e7400eacb7c446c1904f5e2b0129104482e312929292c6ca7c9c18bf4e1fa0d0e78fce61527a97e00d85c4e2a5c1bb8cce7c18792cd5d2a295449e435c
|
@ -1,34 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A finite domain constraints solver written in 100% pure Python"
|
||||
HOMEPAGE="https://www.logilab.org/project/logilab-constraint"
|
||||
SRC_URI="ftp://ftp.logilab.org/pub/constraint/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 sparc x86"
|
||||
IUSE="doc examples"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
RDEPEND="dev-python/logilab-common[${PYTHON_USEDEP}]"
|
||||
|
||||
DOCS=( doc/CONTRIBUTORS )
|
||||
|
||||
python_install() {
|
||||
# Avoid collisions with dev-python/logilab-common.
|
||||
distutils-r1_python_install
|
||||
rm -f "${D}$(python_get_sitedir)/logilab/__init__.py" || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && dohtml doc/documentation.html
|
||||
use examples && local EXAMPLES=( examples/. )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,36 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A finite domain constraints solver written in 100% pure Python"
|
||||
HOMEPAGE="https://www.logilab.org/project/logilab-constraint"
|
||||
SRC_URI="ftp://ftp.logilab.org/pub/constraint/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~sparc ~x86"
|
||||
IUSE="doc examples"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
RDEPEND=">=dev-python/logilab-common-1.2.2-r1[${PYTHON_USEDEP}]"
|
||||
|
||||
DOCS=( doc/CONTRIBUTORS )
|
||||
|
||||
python_install() {
|
||||
# Avoid collisions with dev-python/logilab-common.
|
||||
distutils-r1_python_install
|
||||
rm -f "${D}$(python_get_sitedir)/logilab/__init__.py" || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && dohtml doc/documentation.html
|
||||
use examples && local EXAMPLES=( examples/. )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
|
||||
find "${D}" -name '*.pth' -delete || die
|
||||
}
|
Binary file not shown.
@ -1,3 +1,2 @@
|
||||
DIST dalli-2.7.6.tar.gz 48481 BLAKE2B 9f83523b75d1c6fa109aba7e288e13924d8c7677c6fa38ffe5ce21dfb22f858f8a3ab8593afceed97e980e5f0172c1f8c58cc96b42f4bde31013f5ffcbb26f8b SHA512 ee2270e719f6ff108654d20dfc560cdc6067808c211ae75304f5ca3f7772561b25a699fddb051e42db744bb202228bdbb904171faf5e1804f1f2bed4341bc258
|
||||
DIST dalli-2.7.7.tar.gz 51532 BLAKE2B a625e333130f2c9ec47a9e3aec892a8e0d5f7248b71f6c666461104e2b29d4a384dd415b00dbe70d24fdd44a3b6835fdebdeb75297d4cd6d48506d146f892d4e SHA512 ed2a3f0b41451ae703060fe6197675ed6096531b91e5210a2fbded7a40a9a5717d47f5611081a488931318fd89888f00a539c67bab3dc600cea12676cab289cc
|
||||
DIST dalli-2.7.8.tar.gz 51599 BLAKE2B 935fc1b0ffb2c93c0ef8ab6a82e63b4e272c51ae6c2cbd0c670953c0943942c25b4c795ca7953ad4e53284f6b6e35b44be386ec4dba0c96345256e3b3173152d SHA512 5fa48a01db15fdafa179663b71867dd6a9c2ab7b4b94434f650c1ce37bd71caa2bb22efe032a4eed777538cdc341f22a251d14772aaba62f4a6d9d8c33b6a346
|
||||
|
@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
USE_RUBY="ruby22 ruby23 ruby24"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST="test"
|
||||
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="History.md Performance.md README.md"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A high performance pure Ruby client for accessing memcached servers"
|
||||
HOMEPAGE="https://github.com/petergoldstein/dalli"
|
||||
SRC_URI="https://github.com/petergoldstein/dalli/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND+="${DEPEND} test? ( >=net-misc/memcached-1.4.0 )"
|
||||
|
||||
ruby_add_bdepend "test? (
|
||||
dev-ruby/minitest:5
|
||||
>=dev-ruby/mocha-0.13
|
||||
dev-ruby/rack
|
||||
>=dev-ruby/activesupport-4.2 <dev-ruby/activesupport-5.2
|
||||
dev-ruby/connection_pool )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
chmod 0755 "${HOME}" || die "Failed to fix permissions on home"
|
||||
|
||||
sed -i -e '/\(appraisal\|bundler\)/ s:^:#:' Rakefile || die
|
||||
|
||||
sed -i -e '3igem "minitest", "~> 5.0"; gem "activesupport", "< 5.2"' \
|
||||
-e '/bundler/ s:^:#:' test/helper.rb || die
|
||||
|
||||
# Drop rails dependency which is only used to display the version
|
||||
# number, so we only need to depend on activesupport and avoid
|
||||
# complicated circular dependencies.
|
||||
sed -i -e '/rails/I s:^:#:' \
|
||||
-e '14irequire "active_support"' test/helper.rb || die
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST google-protobuf-3.6.1-ruby.tar.gz 4485582 BLAKE2B 546c49759df784018459809b9db692c5c94aef5d717183af5cd9edd96b4c658e759f23950cdcd5dddceaaad06ea1de2a2357b9fa8c496ed5d538fc5920174da0 SHA512 1bc175d24b49de1b1e41eaf39598194e583afffb924c86c8d2e569d935af21874be76b2cbd4d9655a1d38bac3d4cd811de88bc2c72d81bad79115e69e5b0d839
|
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
USE_RUBY="ruby23 ruby24 ruby25"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Protocol Buffers are Google's data interchange format"
|
||||
HOMEPAGE="https://developers.google.com/protocol-buffers"
|
||||
SRC_URI="https://github.com/protocolbuffers/protobuf/archive/v${PV}.tar.gz -> ${P}-ruby.tar.gz"
|
||||
RUBY_S="protobuf-${PV}/ruby"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="3"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND+=" test? ( dev-libs/protobuf )"
|
||||
|
||||
each_ruby_prepare() {
|
||||
sed -i -e 's:../src/protoc:protoc: ; /^task :build/ s/:compile,//' Rakefile || die
|
||||
}
|
||||
|
||||
each_ruby_configure() {
|
||||
${RUBY} -Cext/google/protobuf_c extconf.rb
|
||||
}
|
||||
|
||||
each_ruby_compile() {
|
||||
emake -Cext/google/protobuf_c V=1
|
||||
cp ext/google/protobuf_c/protobuf_c.so lib/google/ || die
|
||||
}
|
@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>python@gentoo.org</email>
|
||||
<name>Python</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>ruby@gentoo.org</email>
|
||||
<name>Gentoo Ruby Project</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
Binary file not shown.
@ -1,2 +1,3 @@
|
||||
DIST radare2-2.8.0.tar.gz 6513419 BLAKE2B 51ee9fe82c09693e729b49e97b79a54e2b9f7de95ecf93c5e22107f68260ddc9fdee9291f200dba2770315487a85d1541abbb76281e6934d25c677a95e6882e3 SHA512 968c61eb5102125b232f9a74362fb90b0409da80b4cd4f109d11e49d02c80a5beee9e73065ef3b4a22fb8cdf43f86338fd21b648ddfa34001ed6cace47335803
|
||||
DIST radare2-3.0.0.tar.gz 6638430 BLAKE2B d95404e0f2d86705703119d53de2e1b60f111bcd8d3b05b5d040692e9d9cc4f51fe682892514b47b55d4ff88314b577253a5f2c6ff8cacebd30fd0663c21d1ff SHA512 5ca698123ccad80c54c483f7e2cc678dabfc9c1c172670ff9e1d11512174c9ecc15e81dfdb5de846b42c951cafe23d29ceca6f3824504a2f3dac722c659bb2d4
|
||||
DIST radare2-3.0.1.tar.gz 6638512 BLAKE2B 1051e2d948bf312a5d54d03fa20a2fa6954f0ef735416e1c6e95d2042dcc6e1ec46f750d200c84dcb01395d0925ed42a4a1aa3f96b9eafad39d19ee214c91220 SHA512 755cbbf968179d987b1bd11469ef356e9e5b9968983f45a3276e0001c877d13b3b12b71a29dd954e8111c5196284c0e49f26bd79f5b5e037dd4dd27b1f73e380
|
||||
|
@ -0,0 +1,56 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit bash-completion-r1 eutils
|
||||
|
||||
DESCRIPTION="unix-like reverse engineering framework and commandline tools"
|
||||
HOMEPAGE="http://www.radare.org"
|
||||
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/radare/radare2"
|
||||
else
|
||||
SRC_URI="https://github.com/radare/radare2/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="ssl libressl"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/capstone:0=
|
||||
ssl? (
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:0= )
|
||||
)
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--without-libuv \
|
||||
--with-syscapstone \
|
||||
$(use_with ssl openssl)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
doins doc/zsh/_*
|
||||
|
||||
newbashcomp doc/bash_autocompletion.sh "${PN}"
|
||||
bashcomp_alias "${PN}" rafind2 r2 rabin2 rasm2 radiff2
|
||||
|
||||
# a workaround for unstable $(INSTALL) call, bug #574866
|
||||
local d
|
||||
for d in doc/*; do
|
||||
if [[ -d $d ]]; then
|
||||
rm -rfv "$d" || die "failed to delete '$d'"
|
||||
fi
|
||||
done
|
||||
}
|
Binary file not shown.
@ -0,0 +1,233 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
inherit desktop eapi7-ver gnome2-utils toolchain-funcs
|
||||
|
||||
MY_BUILD="$(ver_cut 2)"
|
||||
MY_DATE="$(ver_cut 1)"
|
||||
|
||||
MY_PV_HRP="5.4"
|
||||
MY_PV_OFFENSIVE_XXX="1.33"
|
||||
MY_PV_OPL="2.01"
|
||||
MY_PV_PSX="1.11"
|
||||
MY_PV_SC55="4.02"
|
||||
MY_PV_VOXELS="1.21"
|
||||
|
||||
DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
|
||||
HOMEPAGE="http://www.eduke32.com/"
|
||||
SRC_URI="http://dukeworld.com/eduke32/synthesis/${MY_DATE}-${MY_BUILD}/${PN}_src_${MY_DATE}-${MY_BUILD}.tar.xz
|
||||
http://www.eduke32.com/images/eduke32_classic.png
|
||||
hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
|
||||
offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
|
||||
opl? ( http://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
|
||||
psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
|
||||
sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
|
||||
voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )"
|
||||
|
||||
KEYWORDS="~amd64 ~hppa ~x86"
|
||||
LICENSE="BUILDLIC GPL-2 HRP"
|
||||
SLOT="0"
|
||||
IUSE="cdinstall demo flac fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools vorbis voxels vpx xmp"
|
||||
REQUIRED_USE="cdinstall? ( !demo )
|
||||
demo? ( !cdinstall )
|
||||
hrp? ( ^^ ( demo cdinstall )
|
||||
!voxels )
|
||||
offensive? ( ^^ ( demo cdinstall ) )
|
||||
opl? ( ^^ ( demo cdinstall )
|
||||
!sc-55 )
|
||||
psx? ( ^^ ( demo cdinstall ) )
|
||||
sc-55? ( ^^ ( demo cdinstall )
|
||||
!opl )
|
||||
voxels? ( !hrp )
|
||||
vpx? ( opengl )"
|
||||
|
||||
S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}"
|
||||
|
||||
MY_DEPEND_RDEPEND="media-libs/libsdl2[joystick,opengl?,sound,video,X]
|
||||
media-libs/sdl2-mixer[flac?,fluidsynth?,midi,timidity?,vorbis?]
|
||||
sys-libs/zlib:=
|
||||
flac? ( media-libs/flac )
|
||||
gtk? ( x11-libs/gtk+:2 )
|
||||
opengl? ( virtual/glu
|
||||
virtual/opengl )
|
||||
png? ( media-libs/libpng:0= )
|
||||
timidity? ( media-sound/timidity-freepats )
|
||||
vpx? ( media-libs/libvpx:= )
|
||||
vorbis? ( media-libs/libogg
|
||||
media-libs/libvorbis )
|
||||
xmp? ( media-libs/exempi:= )"
|
||||
|
||||
RDEPEND="${MY_DEPEND_RDEPEND}
|
||||
cdinstall? ( games-fps/duke3d-data )
|
||||
demo? ( games-fps/duke3d-demodata )"
|
||||
|
||||
DEPEND="${MY_DEPEND_RDEPEND}
|
||||
app-arch/unzip
|
||||
x86? ( dev-lang/nasm )"
|
||||
|
||||
PATCHES=( "${FILESDIR}/log-to-tmpdir.patch" "${FILESDIR}/search-duke3d-path.patch" )
|
||||
|
||||
src_unpack() {
|
||||
# Extract only the eduke32 archive
|
||||
unpack ${PN}_src_${MY_DATE}-${MY_BUILD}.tar.xz
|
||||
|
||||
# Unpack only the documentation
|
||||
if use hrp; then
|
||||
unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
|
||||
fi
|
||||
if use offensive; then
|
||||
unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
|
||||
fi
|
||||
if use opl; then
|
||||
unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
|
||||
mv readme.txt opl_readme.txt || die
|
||||
fi
|
||||
if use sc-55; then
|
||||
unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
|
||||
fi
|
||||
if use voxels; then
|
||||
unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local myemakeopts=(
|
||||
ALLOCACHE_AS_MALLOC=0
|
||||
AS=$(tc-getAS)
|
||||
CC=$(tc-getCC)
|
||||
CXX=$(tc-getCXX)
|
||||
CLANG=0
|
||||
CPLUSPLUS=1
|
||||
CUSTOMOPT=""
|
||||
DEBUGANYWAY=0
|
||||
F_JUMP_TABLES=""
|
||||
FORCEDEBUG=0
|
||||
HAVE_FLAC=$(usex flac 1 0)
|
||||
HAVE_GTK2=$(usex gtk 1 0)
|
||||
HAVE_VORBIS=$(usex vorbis 1 0)
|
||||
HAVE_XMP=$(usex xmp 1 0)
|
||||
LINKED_GTK=$(usex gtk 1 0)
|
||||
LTO=1
|
||||
LUNATIC=0
|
||||
KRANDDEBUG=0
|
||||
MEMMAP=0
|
||||
MIXERTYPE=SDL
|
||||
NETCODE=$(usex server 1 0)
|
||||
NOASM=0
|
||||
OPTLEVEL=0
|
||||
OPTOPT=""
|
||||
PACKAGE_REPOSITORY=1
|
||||
POLYMER=$(usex opengl 1 0)
|
||||
PRETTY_OUTPUT=0
|
||||
PROFILER=0
|
||||
RELEASE=1
|
||||
RENDERTYPE=SDL
|
||||
SDL_TARGET=2
|
||||
SIMPLE_MENU=0
|
||||
STRIP=""
|
||||
TANDALONE=0
|
||||
STARTUP_WINDOW=$(usex gtk 1 0)
|
||||
USE_OPENGL=$(usex opengl 1 0)
|
||||
USE_LIBVPX=$(usex vpx 1 0)
|
||||
USE_LIBPNG=$(usex png 1 0)
|
||||
USE_LUAJIT_2_1=0
|
||||
WITHOUT_GTK=$(usex gtk 0 1)
|
||||
)
|
||||
|
||||
emake "${myemakeopts[@]}"
|
||||
|
||||
if use tools; then
|
||||
emake utils "${myemakeopts[@]}"
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# There are no tests
|
||||
# Instead it tries to build a test game, which does not compile
|
||||
:;
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
|
||||
|
||||
if use tools; then
|
||||
local tools=(
|
||||
arttool
|
||||
bsuite
|
||||
cacheinfo
|
||||
generateicon
|
||||
givedepth
|
||||
ivfrate
|
||||
kextract
|
||||
kgroup
|
||||
kmd2tool
|
||||
makesdlkeytrans
|
||||
map2stl
|
||||
md2tool
|
||||
mkpalette
|
||||
transpal
|
||||
unpackssi
|
||||
wad2art
|
||||
wad2map
|
||||
)
|
||||
|
||||
dobin "${tools[@]}"
|
||||
fi
|
||||
|
||||
keepdir /usr/share/games/eduke32
|
||||
insinto /usr/share/games/eduke32
|
||||
if use hrp; then
|
||||
doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
|
||||
fi
|
||||
if use offensive; then
|
||||
doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
|
||||
fi
|
||||
if use opl; then
|
||||
doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
|
||||
fi
|
||||
if use psx; then
|
||||
doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
|
||||
fi
|
||||
if use sc-55; then
|
||||
doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
|
||||
fi
|
||||
if use sdk; then
|
||||
doins -r package/sdk
|
||||
fi
|
||||
if use voxels; then
|
||||
doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
|
||||
fi
|
||||
|
||||
newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
|
||||
|
||||
make_desktop_entry eduke32-bin EDuke32 eduke32 Game
|
||||
make_desktop_entry mapster32 Mapster32 eduke32 Game
|
||||
|
||||
local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt source/duke3d/src/lunatic/doc/*.txt )
|
||||
if use hrp; then
|
||||
DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
|
||||
fi
|
||||
if use offensive; then
|
||||
DOCS+=( "${WORKDIR}"/xxx_readme.txt )
|
||||
fi
|
||||
if use opl; then
|
||||
DOCS+=( "${WORKDIR}"/opl_readme.txt )
|
||||
fi
|
||||
if use sc-55; then
|
||||
DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
|
||||
fi
|
||||
if use voxels; then
|
||||
DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
|
||||
fi
|
||||
einstalldocs
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1,2 +1 @@
|
||||
DIST gnome-shell-extension-gsconnect-11.tar.gz 1015034 BLAKE2B 470f9247987bf1ec9c37e658276427fb06e5406bbd862e33498935f860b955fa69219dacdbc4ee40cffe7257d74a01ddf018e19a81b0849a8879d997720c11c9 SHA512 134d26b37668e2dcc9fb3e96196cde1b6e17531050d5c91b2b9853bb3ef76e660b230a5ab9c77ded742541a7c871ed50e4d2a2facea9cbb29cd3a546a0a476a4
|
||||
DIST gnome-shell-extension-gsconnect-12.tar.gz 1034122 BLAKE2B dc9e4003532bbb500c81d2bd0d2a715f60bb5c70b6bcf3286ebd8b2219d511f51e63c93ef30b0b71ced720531c811462f3b343d9a9eaa07ef4a56a498e5c497f SHA512 3b88aa7ff6e55556a6e438376c578a007d41d266dc91f6d56dfccde217bd0ede7ed40c10b05903582d9bde392f0a375f34b1fbdfd1aae0204f46b9d7e6c246ef
|
||||
|
@ -1,52 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit gnome2-utils meson readme.gentoo-r1
|
||||
|
||||
DESCRIPTION="KDE Connect implementation for Gnome Shell"
|
||||
HOMEPAGE="https://github.com/andyholmes/gnome-shell-extension-gsconnect"
|
||||
SRC_URI="https://github.com/andyholmes/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
COMMON_DEPEND="dev-libs/glib:2"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
app-eselect/eselect-gnome-shell-extensions
|
||||
>=dev-libs/gjs-1.48
|
||||
>=gnome-base/gnome-shell-3.24
|
||||
gnome-base/nautilus[introspection]
|
||||
net-fs/sshfs
|
||||
|| ( ( net-libs/gnome-online-accounts dev-libs/libgdata ) dev-libs/folks )
|
||||
|| ( media-libs/libcanberra media-libs/gsound )
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
DISABLE_AUTOFORMATTING="yes"
|
||||
DOC_CONTENTS="For knowing more about how to do the setup, please visit:
|
||||
https://github.com/andyholmes/gnome-shell-extension-gsconnect/wiki/Installation"
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
# Rule for install is not complete, only ready for install-zip
|
||||
glib-compile-schemas "${ED}"/usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io/schemas || die
|
||||
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_schemas_update
|
||||
ebegin "Updating list of installed extensions"
|
||||
eselect gnome-shell-extensions update
|
||||
eend $?
|
||||
readme.gentoo_print_elog
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_schemas_update
|
||||
}
|
Binary file not shown.
@ -1,126 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools db-use eutils flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="Bayesian spam filter designed with fast algorithms, and tuned for speed"
|
||||
HOMEPAGE="http://bogofilter.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~sh sparc x86 ~x86-fbsd"
|
||||
IUSE="berkdb sqlite tokyocabinet"
|
||||
|
||||
DEPEND="
|
||||
virtual/libiconv
|
||||
berkdb? ( >=sys-libs/db-3.2:* )
|
||||
!berkdb? (
|
||||
sqlite? ( >=dev-db/sqlite-3.6.22 )
|
||||
!sqlite? (
|
||||
tokyocabinet? ( dev-db/tokyocabinet )
|
||||
!tokyocabinet? ( >=sys-libs/db-3.2:* )
|
||||
)
|
||||
)
|
||||
sci-libs/gsl:=
|
||||
app-arch/pax"
|
||||
# pax needed for bf_tar
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
pkg_setup() {
|
||||
has_version mail-filter/bogofilter || return 0
|
||||
if ( use berkdb && ! has_version 'mail-filter/bogofilter[berkdb]' ) || \
|
||||
( ! use berkdb && has_version 'mail-filter/bogofilter[berkdb]' ) || \
|
||||
( use sqlite && ! has_version 'mail-filter/bogofilter[sqlite]' ) || \
|
||||
( ! use sqlite && has_version 'mail-filter/bogofilter[sqlite]' ) || \
|
||||
( has_version '>=mail-filter/bogofilter-1.2.1-r1' && \
|
||||
( use tokyocabinet && ! has_version 'mail-filter/bogofilter[tokyocabinet]' ) || \
|
||||
( ! use tokyocabinet && has_version 'mail-filter/bogofilter[tokyocabinet]' )
|
||||
) ; then
|
||||
ewarn
|
||||
ewarn "If you want to switch the database backend, you must dump the wordlist"
|
||||
ewarn "with the current version (old use flags) and load it with the new version!"
|
||||
ewarn
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# bug 445918
|
||||
sed -i -e 's/ -ggdb//' configure.ac || die
|
||||
|
||||
# bug 421747
|
||||
epatch "${FILESDIR}"/${P}-test-env.patch
|
||||
chmod +x src/tests/t.{ctype,leakfind,lexer.qpcr,lexer.eoh,message_id,queue_id}
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf="" berkdb=true
|
||||
myconf="--without-included-gsl"
|
||||
|
||||
# determine backend: berkdb *is* default
|
||||
if use berkdb && use sqlite ; then
|
||||
elog "Both useflags berkdb and sqlite are in USE:"
|
||||
elog "Using berkdb as database backend."
|
||||
elif use berkdb && use tokyocabinet ; then
|
||||
elog "Both useflags berkdb and tokyocabinet are in USE:"
|
||||
elog "Using berkdb as database backend."
|
||||
elif use sqlite && use tokyocabinet ; then
|
||||
elog "Both useflags sqlite and tokyocabinet are in USE:"
|
||||
elog "Using sqlite as database backend."
|
||||
myconf="${myconf} --with-database=sqlite"
|
||||
berkdb=false
|
||||
elif use sqlite ; then
|
||||
myconf="${myconf} --with-database=sqlite"
|
||||
berkdb=false
|
||||
elif use tokyocabinet ; then
|
||||
myconf="${myconf} --with-database=tokyocabinet"
|
||||
berkdb=false
|
||||
elif ! use berkdb ; then
|
||||
elog "Neither berkdb nor sqlite nor tokyocabinet are in USE:"
|
||||
elog "Using berkdb as database backend."
|
||||
fi
|
||||
|
||||
# Include the right berkdb headers for FreeBSD
|
||||
if ${berkdb} ; then
|
||||
append-cppflags "-I$(db_includedir)"
|
||||
fi
|
||||
|
||||
# bug #324405
|
||||
if [[ $(gcc-version) == "3.4" ]] ; then
|
||||
epatch "${FILESDIR}"/${PN}-1.2.2-gcc34.patch
|
||||
fi
|
||||
|
||||
econf ${myconf}
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake -C src/ check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
exeinto /usr/share/${PN}/contrib
|
||||
doexe contrib/{bogofilter-qfe,parmtest,randomtrain}.sh \
|
||||
contrib/{bfproxy,bogominitrain,mime.get.rfc822,printmaildir}.pl \
|
||||
contrib/{spamitarium,stripsearch}.pl
|
||||
|
||||
insinto /usr/share/${PN}/contrib
|
||||
doins contrib/{README.*,dot-qmail-bogofilter-default} \
|
||||
contrib/{bogogrep.c,bogo.R,bogofilter-milter.pl,*.example} \
|
||||
contrib/vm-bogofilter.el \
|
||||
contrib/{trainbogo,scramble}.sh
|
||||
|
||||
dodoc AUTHORS NEWS README RELEASE.NOTES* TODO GETTING.STARTED \
|
||||
doc/integrating-with-* doc/README.{db,sqlite}
|
||||
|
||||
dohtml doc/*.html
|
||||
|
||||
dodir /usr/share/doc/${PF}/samples
|
||||
mv "${D}"/etc/bogofilter.cf.example "${D}"/usr/share/doc/${PF}/samples/ || die
|
||||
rmdir "${D}"/etc || die
|
||||
}
|
@ -1,24 +0,0 @@
|
||||
diff -ruN bogofilter-1.2.1-orig/src/Makefile.am bogofilter-1.2.1/src/Makefile.am
|
||||
--- bogofilter-1.2.1-orig/src/Makefile.am 2009-05-28 22:59:05.000000000 +0200
|
||||
+++ bogofilter-1.2.1/src/Makefile.am 2010-06-16 22:52:36.000000000 +0200
|
||||
@@ -16,7 +16,7 @@
|
||||
AM_CPPFLAGS = -iquote$(top_srcdir)/gnugetopt -iquote$(top_srcdir)/trio \
|
||||
-I$(srcdir) @GSL_CFLAGS@ -I$(top_srcdir)/gsl/specfunc -I$(top_srcdir)
|
||||
else
|
||||
-AM_CPPFLAGS = -I$(top_srcdir)/gnugetopt -I$(top_srcdir)/trio -I- -I. \
|
||||
+AM_CPPFLAGS = -I$(top_srcdir)/gnugetopt -I$(top_srcdir)/trio -I. \
|
||||
-I$(srcdir) @GSL_CFLAGS@ -I$(top_srcdir)/gsl/specfunc -I$(top_srcdir)
|
||||
endif
|
||||
|
||||
diff -ruN bogofilter-1.2.1-orig/src/Makefile.in bogofilter-1.2.1/src/Makefile.in
|
||||
--- bogofilter-1.2.1-orig/src/Makefile.in 2009-08-01 21:00:51.000000000 +0200
|
||||
+++ bogofilter-1.2.1/src/Makefile.in 2010-06-16 22:52:23.000000000 +0200
|
||||
@@ -483,7 +483,7 @@
|
||||
@ENABLE_MEMDEBUG_TRUE@MEMDEBUG_SRC = memdebug.c memdebug.h
|
||||
noinst_LIBRARIES = libbogofilter.a $(am__append_3) $(am__append_5) \
|
||||
$(am__append_10)
|
||||
-@USE_GCC4_FALSE@AM_CPPFLAGS = -I$(top_srcdir)/gnugetopt -I$(top_srcdir)/trio -I- -I. \
|
||||
+@USE_GCC4_FALSE@AM_CPPFLAGS = -I$(top_srcdir)/gnugetopt -I$(top_srcdir)/trio -I. \
|
||||
@USE_GCC4_FALSE@ -I$(srcdir) @GSL_CFLAGS@ -I$(top_srcdir)/gsl/specfunc -I$(top_srcdir)
|
||||
|
||||
@USE_GCC4_TRUE@AM_CPPFLAGS = -iquote$(top_srcdir)/gnugetopt -iquote$(top_srcdir)/trio \
|
Binary file not shown.
@ -1,3 +0,0 @@
|
||||
DIST celt-0.11.1.tar.gz 465853 BLAKE2B ca916d03217dfbeda4764d95bd016500cbf482a0a43099c3d3cd2f4f71182b7d12982f426bf784d022db8bde4a2a6c270f6b61a9675281bfd2be134103723747 SHA512 73d17486ae0ef544baf74f7cf7d4b82b7dcba5143f480ffefec2c16ae9aa240d207aac4aa28c6888ba26e925f6d6f5545f71ef157b95906b63d017ce7b7ce842
|
||||
DIST celt-0.11.3.tar.gz 465020 BLAKE2B 9f6221edd77c117778eb5ca188c21430905e1e54034816a1e0a17dc949764d6e6eeac87489f98f68fd96962a5fe89046ba52c1c9f98ba064966d2e5382577a82 SHA512 1f7b8c9b0fcb3a31ba81c220f89fb15173f6e7a25f8fa9d6669790cf29cccb5f75fb37a9f41c76bec5e8d8b9de47d65949831d5a843dcffb2f0747801a8c9bde
|
||||
DIST celt-0.5.1.3.tar.gz 440772 BLAKE2B 680be58bcca806ef2135a022cd01103c1518c883868abc2aa60a1ff8c555a0646310901cc5bc01d2b330054af8b5729303d8aa6b3ba58395f7272862a5d5a7c9 SHA512 bf5621dc3ec1b0808bdd83f006fd7b88df1b6caffe07e18eb696c268b31c6c7127329ecb4c9582c44e0ecf9577bbe2f3dbe40f15b80f8681bb7f4115f1501921
|
@ -1,34 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils multilib-minimal
|
||||
|
||||
DESCRIPTION="CELT is a very low delay audio codec designed for high-quality communications"
|
||||
HOMEPAGE="http://www.celt-codec.org/"
|
||||
SRC_URI="http://downloads.us.xiph.org/releases/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ~ia64 ppc ~ppc64 ~sparc x86"
|
||||
IUSE="ogg static-libs"
|
||||
|
||||
DEPEND="ogg? ( media-libs/libogg )"
|
||||
RDEPEND="${DEPEND}"
|
||||
DOCS=( README TODO )
|
||||
|
||||
multilib_src_configure() {
|
||||
# ogg is for the binaries
|
||||
local myconf="--without-ogg"
|
||||
multilib_is_native_abi && myconf="$(use_with ogg ogg /usr)"
|
||||
|
||||
ECONF_SOURCE="${S}" econf \
|
||||
$(use_enable static-libs static) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
prune_libtool_files
|
||||
einstalldocs
|
||||
}
|
@ -1,45 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools eutils multilib-minimal
|
||||
|
||||
DESCRIPTION="CELT is a very low delay audio codec designed for high-quality communications"
|
||||
HOMEPAGE="http://www.celt-codec.org/"
|
||||
SRC_URI="http://downloads.us.xiph.org/releases/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="ogg static-libs test"
|
||||
|
||||
DEPEND="ogg? ( media-libs/libogg )"
|
||||
RDEPEND="${DEPEND}"
|
||||
DOCS=( README TODO )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
if use test ; then
|
||||
# tandem tests fail:
|
||||
# https://thr3ads.net/opus/2012/09/2124778-CELT-0.11.3-tandem-test-fails
|
||||
sed '/^TESTS/s@ tandem-test@@' -i tests/Makefile.am || die
|
||||
eautoreconf
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
# ogg is for the binaries
|
||||
local myconf="--without-ogg"
|
||||
multilib_is_native_abi && myconf="$(use_with ogg ogg /usr)"
|
||||
|
||||
ECONF_SOURCE="${S}" econf \
|
||||
$(use_enable static-libs static) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
prune_libtool_files
|
||||
einstalldocs
|
||||
}
|
@ -1,29 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="CELT is a very low delay audio codec designed for high-quality communications"
|
||||
HOMEPAGE="http://www.celt-codec.org/"
|
||||
SRC_URI="http://downloads.us.xiph.org/releases/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0.5.1"
|
||||
KEYWORDS="alpha amd64 arm ~arm64 ia64 ppc ppc64 sparc x86"
|
||||
IUSE="ogg static-libs"
|
||||
|
||||
DEPEND="ogg? ( media-libs/libogg )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_with ogg ogg /usr)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
if ! use static-libs; then
|
||||
find "${D}" -name '*.la' -delete || die "Pruning failed"
|
||||
fi
|
||||
}
|
@ -1,12 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>sound@gentoo.org</email>
|
||||
<name>Gentoo Sound project</name>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
CELT is a very low delay audio codec designed for high-quality
|
||||
communications.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
@ -0,0 +1,111 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit flag-o-matic libtool multilib-minimal python-any-r1 xdg-utils
|
||||
|
||||
DESCRIPTION="An OpenType text shaping engine"
|
||||
HOMEPAGE="https://www.freedesktop.org/wiki/Software/HarfBuzz"
|
||||
|
||||
if [[ ${PV} = 9999 ]] ; then
|
||||
EGIT_REPO_URI="https://anongit.freedesktop.org/git/harfbuzz.git"
|
||||
inherit git-r3 autotools
|
||||
else
|
||||
SRC_URI="https://www.freedesktop.org/software/${PN}/release/${P}.tar.bz2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~x64-solaris"
|
||||
fi
|
||||
|
||||
LICENSE="Old-MIT ISC icu"
|
||||
SLOT="0/0.9.18" # 0.9.18 introduced the harfbuzz-icu split; bug #472416
|
||||
|
||||
IUSE="+cairo debug fontconfig +glib +graphite icu +introspection static-libs test +truetype"
|
||||
REQUIRED_USE="introspection? ( glib )"
|
||||
|
||||
RDEPEND="
|
||||
cairo? ( x11-libs/cairo:= )
|
||||
fontconfig? ( media-libs/fontconfig:1.0[${MULTILIB_USEDEP}] )
|
||||
glib? ( >=dev-libs/glib-2.38:2[${MULTILIB_USEDEP}] )
|
||||
graphite? ( >=media-gfx/graphite2-1.2.1:=[${MULTILIB_USEDEP}] )
|
||||
icu? ( >=dev-libs/icu-51.2-r1:=[${MULTILIB_USEDEP}] )
|
||||
introspection? ( >=dev-libs/gobject-introspection-1.34:= )
|
||||
truetype? ( >=media-libs/freetype-2.5.0.1:2=[${MULTILIB_USEDEP}] )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/gtk-doc-am
|
||||
test? ( ${PYTHON_DEPS} )
|
||||
"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
"
|
||||
# eautoreconf requires gobject-introspection-common
|
||||
# ragel needed if regenerating *.hh files from *.rl
|
||||
if [[ ${PV} = 9999 ]] ; then
|
||||
DEPEND+="
|
||||
>=dev-libs/gobject-introspection-common-1.34
|
||||
dev-util/ragel
|
||||
"
|
||||
fi
|
||||
|
||||
pkg_setup() {
|
||||
use test && python-any-r1_pkg_setup
|
||||
if ! use debug ; then
|
||||
append-cppflags -DHB_NDEBUG
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
xdg_environment_reset
|
||||
|
||||
if [[ ${CHOST} == *-darwin* || ${CHOST} == *-solaris* ]] ; then
|
||||
# on Darwin/Solaris we need to link with g++, like automake defaults
|
||||
# to, but overridden by upstream because on Linux this is not
|
||||
# necessary, bug #449126
|
||||
sed -i \
|
||||
-e 's/\<LINK\>/CXXLINK/' \
|
||||
src/Makefile.am || die
|
||||
sed -i \
|
||||
-e '/libharfbuzz_la_LINK = /s/\<LINK\>/CXXLINK/' \
|
||||
src/Makefile.in || die
|
||||
sed -i \
|
||||
-e '/AM_V_CCLD/s/\<LINK\>/CXXLINK/' \
|
||||
test/api/Makefile.in || die
|
||||
fi
|
||||
|
||||
[[ ${PV} == 9999 ]] && eautoreconf
|
||||
elibtoolize # for Solaris
|
||||
|
||||
# bug 618772
|
||||
append-cxxflags -std=c++14
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
# harfbuzz-gobject only used for instrospection, bug #535852
|
||||
local myeconfargs=(
|
||||
--without-coretext
|
||||
--without-uniscribe
|
||||
$(use_enable static-libs static)
|
||||
$(multilib_native_use_with cairo)
|
||||
$(use_with fontconfig)
|
||||
$(use_with glib)
|
||||
$(use_with introspection gobject)
|
||||
$(use_with graphite graphite2)
|
||||
$(use_with icu)
|
||||
$(multilib_native_use_enable introspection)
|
||||
$(use_with truetype freetype)
|
||||
)
|
||||
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
|
||||
|
||||
if multilib_is_native_abi; then
|
||||
ln -s "${S}"/docs/html docs/html || die
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
einstalldocs
|
||||
find "${ED}" -name "*.la" -delete || die
|
||||
}
|
Binary file not shown.
@ -1,3 +1 @@
|
||||
DIST lollypop-0.9.601.tar.xz 376712 BLAKE2B d3747a1e994cd8de816eed49d87a8f279394981f14e2de82785203ba5ec0e71604a569f5f3e8e57da55f9bf62066da15232d46a0d117d094c6638b6608491620 SHA512 d13bd50f6b591a0f6491010817833d345a7fe1e63ef0eaab2ebad7c877990cf5e2dfba62911a690d223d912750a150fda40be81ca9a094968ed4796c1ed66f65
|
||||
DIST lollypop-0.9.604.tar.xz 384080 BLAKE2B 6262af52ad75e6fbdc128b5c0b6ae7c7156b5f7b1d29e96ebf22f8e966f3c6f803b56dd18841606e3f3198d2d962f6b08ef03825716c4492e72ab0b28a8e8a96 SHA512 20176713c36430c3bc9bb02fc885221efaca9f19b43c7511bce88162aa54fdcd3caf3e7c7c98ee1b72f9f795dce093650c2976f85006011bbd5354361acb7c83
|
||||
DIST lollypop-0.9.605.tar.xz 451556 BLAKE2B 520cb54398839c24bebf3cd53b69de07174d5c674f1e6c72a100949bbd1cb04045b8f87799fd6f118af9191b1a552b9db098c6a72d6af5fdea604ec4970c29ea SHA512 0f377e7f1db1becf2edc7d15a1bae01665e11f87adc693118e778bf85659968de210912db7618f022cf123a458b156fd7fafbfdadbb2cb905dc1049a436d4d96
|
||||
|
@ -1,58 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python3_6 )
|
||||
PYTHON_REQ_USE="sqlite"
|
||||
HASH="93d895a6c74c64aaa9d4cdc4d58bd6e6"
|
||||
inherit python-r1 gnome2-utils meson xdg-utils
|
||||
|
||||
DESCRIPTION="Modern music player for GNOME"
|
||||
HOMEPAGE="https://wiki.gnome.org/Apps/Lollypop"
|
||||
SRC_URI="https://gitlab.gnome.org/World/${PN}/uploads/${HASH}/${P}.tar.xz"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
|
||||
CDEPEND="${PYTHON_DEPS}
|
||||
dev-libs/appstream-glib[introspection]
|
||||
dev-libs/glib:2
|
||||
dev-libs/gobject-introspection[cairo]
|
||||
dev-python/pycairo[${PYTHON_USEDEP}]
|
||||
dev-python/pygobject:3[${PYTHON_USEDEP}]
|
||||
gnome-base/gnome-common
|
||||
x11-libs/gtk+:3
|
||||
"
|
||||
DEPEND="${CDEPEND}
|
||||
dev-python/pkgconfig[${PYTHON_USEDEP}]
|
||||
dev-util/desktop-file-utils
|
||||
dev-util/itstool
|
||||
dev-util/intltool
|
||||
"
|
||||
RDEPEND="${CDEPEND}
|
||||
app-crypt/libsecret
|
||||
dev-libs/totem-pl-parser
|
||||
dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
|
||||
dev-python/dbus-python
|
||||
>=dev-python/pylast-1.0.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_schemas_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_gconf_install
|
||||
gnome2_schemas_update
|
||||
xdg_desktop_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_gconf_uninstall
|
||||
gnome2_schemas_update
|
||||
xdg_desktop_database_update
|
||||
}
|
@ -1,58 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python3_6 )
|
||||
PYTHON_REQ_USE="sqlite"
|
||||
HASH="caaeacbe092d931e9b16b5cb7423c2b4"
|
||||
inherit python-r1 gnome2-utils meson xdg-utils
|
||||
|
||||
DESCRIPTION="Modern music player for GNOME"
|
||||
HOMEPAGE="https://wiki.gnome.org/Apps/Lollypop"
|
||||
SRC_URI="https://gitlab.gnome.org/World/${PN}/uploads/${HASH}/${P}.tar.xz"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
|
||||
CDEPEND="${PYTHON_DEPS}
|
||||
dev-libs/appstream-glib[introspection]
|
||||
dev-libs/glib:2
|
||||
dev-libs/gobject-introspection[cairo]
|
||||
dev-python/pycairo[${PYTHON_USEDEP}]
|
||||
dev-python/pygobject:3[${PYTHON_USEDEP}]
|
||||
gnome-base/gnome-common
|
||||
x11-libs/gtk+:3
|
||||
"
|
||||
DEPEND="${CDEPEND}
|
||||
dev-python/pkgconfig[${PYTHON_USEDEP}]
|
||||
dev-util/desktop-file-utils
|
||||
dev-util/itstool
|
||||
dev-util/intltool
|
||||
"
|
||||
RDEPEND="${CDEPEND}
|
||||
app-crypt/libsecret
|
||||
dev-libs/totem-pl-parser
|
||||
dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
|
||||
dev-python/dbus-python
|
||||
>=dev-python/pylast-1.0.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_schemas_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_gconf_install
|
||||
gnome2_schemas_update
|
||||
xdg_desktop_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_gconf_uninstall
|
||||
gnome2_schemas_update
|
||||
xdg_desktop_database_update
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue