13 Commits

12 changed files with 158 additions and 93 deletions

View File

@@ -105,6 +105,12 @@ find_desktop_file_category() {
local subcat=
case ${CATEGORY} in
app*) maincat="Utility"
case ${CATEGORY##*-} in
editors) subcat="TextEditor";;
*) ;;
esac
;;
dev*) maincat="Development"
case ${CATEGORY##*-} in
db) subcat="Database";;

View File

@@ -13,6 +13,7 @@ dev-libs
dev-ocaml
dev-perl
dev-python
dev-ruby
dev-tcl
dev-util
games-action

View File

@@ -1,4 +1,5 @@
(
app-editors/neovim-gtk[~scm]
dev-lang/fsharp[~scm]
dev-lang/fstar[~scm]
dev-python/pytype[~scm]

View File

@@ -0,0 +1,26 @@
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
require neovim-gtk
SLOT="0"
PLATFORMS="~amd64 ~x86"
DEPENDENCIES="
build+run:
app-editors/neovim
dev-libs/glib:2
x11-libs/cairo
x11-libs/gtk+:3[>=3.10.0]
x11-libs/pango
"
src_install() {
ecargo_install
insinto /usr/share/applications
doins desktop/*.desktop
insinto /usr/share/icons/hicolor/128x128/apps
doins desktop/nvim-gtk.png
}

View File

@@ -0,0 +1,38 @@
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
require neovim-gtk
DOWNLOADS=""
SLOT="0"
PLATFORMS="~amd64 ~x86"
DEPENDENCIES="
build+run:
app-editors/neovim
dev-libs/glib:2
x11-libs/cairo
x11-libs/gtk+:3[>=3.22.0]
x11-libs/pango[>=1.38]
"
src_unpack() {
cargo_src_unpack
}
src_install() {
ecargo_install
insinto /usr/share/nvim-gtk
doins -r runtime
insinto /usr/share/applications
doins desktop/*.desktop
insinto /usr/share/icons/hicolor/48x48/apps
doins desktop/org.daa.NeovimGtk.png
insinto /usr/share/icons/hicolor/scalable/apps
doins desktop/org.daa.NeovimGtk.svg
}

View File

@@ -0,0 +1,30 @@
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
require freedesktop-desktop gtk-icon-cache
require cargo [ channel=stable ]
require github [ user=daa84 tag="v${PV}" ]
SUMMARY="Gtk ui for neovim"
HOMEPAGE="https://github.com/daa84/neovim-gtk ${HOMEPAGE}"
LICENCES="GPL-3.0"
MYOPTIONS=""
BUGS_TO="hasufell@posteo.de"
src_prepare() {
default
export PREFIX=/usr
}
pkg_postinst() {
freedesktop-desktop_update_desktop_database
gtk-icon-cache_pkg_postinst
}
pkg_postrm() {
freedesktop-desktop_update_desktop_database
gtk-icon-cache_pkg_postrm
}

View File

@@ -24,14 +24,25 @@ MYOPTIONS=""
DEPENDENCIES="
build+run:
dev-python/typed-ast[>=1.1.0&<1.2.0][python_abis:*(-)?]
dev-python/psutil[>=5.4.0&<5.5.0][python_abis:*(-)?]
python_abis:3.4? (
dev-python/typing[>=3.5.3][python_abis:3.4]
)
test:
dev-python/py[>=1.5.2][python_abis:*(-)?]
dev-python/pytest[>=3.0][python_abis:*(-)?]
dev-python/pytest-cov[>=2.4.0][python_abis:*(-)?]
dev-python/pytest-xdist[>=1.18][python_abis:*(-)?]
suggestion:
dev-python/psutil[>=5.4.0&<5.5.0][python_abis:*(-)?] [[
description = [ Show memory stats in 'dmypy status -v' ] ]]
"
BUGS_TO="hasufell@posteo.de"
# Require upstream release with https://github.com/python/mypy/pull/5191 included
# Require unpackaged: flake8-bugbear, flake8-pyi
RESTRICT="test"
prepare_one_multibuild() {
edo sed -i \
-e "/target = /s|lib|$(exhost --target)/lib|" \
@@ -40,3 +51,7 @@ prepare_one_multibuild() {
setup-py_prepare_one_multibuild
}
test_one_multibuild() {
PYTHONPATH="${PWD}" edo ${PYTHON} -B runtests.py -x lint
}

View File

@@ -7,7 +7,7 @@ SUMMARY="OAuth 2.0 client library"
LICENCES="Apache-2.0"
SLOT="0"
PLATFORMS="~amd64 ~armv7 ~x86"
PLATFORMS="~amd64 ~armv7 ~armv8 ~x86"
MYOPTIONS=""
DEPENDENCIES="

View File

@@ -7,7 +7,7 @@ SUMMARY="Pure-Python RSA implementation"
LICENCES="Apache-2.0"
SLOT="0"
PLATFORMS="~amd64 ~armv7 ~x86"
PLATFORMS="~amd64 ~armv7 ~armv8 ~x86"
MYOPTIONS=""

View File

@@ -0,0 +1,15 @@
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
require gem
SUMMARY="Binary-based efficient data interchange format for ruby binding"
HOMEPAGE="https://msgpack.org"
LICENCES="Apache-2.0"
SLOT="0"
PLATFORMS="~amd64 ~x86"
MYOPTIONS=""
BUGS_TO="hasufell@posteo.de"

View File

@@ -0,0 +1,23 @@
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
require gem [ pn=neovim ]
SUMMARY="Ruby bindings for Neovim"
HOMEPAGE="https://github.com/alexgenco/neovim-ruby"
LICENCES="MIT"
SLOT="0"
PLATFORMS="~amd64 ~x86"
MYOPTIONS=""
DEPENDENCIES="
build+run:
dev-ruby/msgpack[~>1.1]
dev-ruby/multi_json[~>1.0]
"
BUGS_TO="hasufell@posteo.de"
REMOTE_IDS+=" github:alexgenco/neovim-ruby"

View File

@@ -1,90 +0,0 @@
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
# TODO: no release tag yet, but older releases are not cmake compatible
SCM_REPOSITORY="https://github.com/cquery-project/cquery.git"
SCM_REVISION="6aa854dbe21d0bf871c452040a45a5c24dd385e3"
SCM_SECONDARY_REPOSITORIES="
doctest
loguru
msgpack_c
pugixml
rapidjson
sparsepp
predef
preprocessor
gtest
"
SCM_EXTERNAL_REFS="
third_party/doctest:doctest
third_party/loguru:loguru
third_party/msgpack-c:msgpack_c
third_party/pugixml:pugixml
third_party/rapidjson:rapidjson
third_party/sparsepp:sparsepp
"
SCM_doctest_REPOSITORY="https://github.com/onqtam/doctest.git"
SCM_loguru_REPOSITORY="https://github.com/emilk/loguru.git"
SCM_msgpack_c_REPOSITORY="https://github.com/msgpack/msgpack-c.git"
SCM_pugixml_REPOSITORY="https://github.com/zeux/pugixml.git"
SCM_rapidjson_REPOSITORY="https://github.com/Tencent/rapidjson.git"
SCM_sparsepp_REPOSITORY="https://github.com/greg7mdp/sparsepp.git"
SCM_predef_REPOSITORY="https://github.com/boostorg/predef.git"
SCM_preprocessor_REPOSITORY="https://github.com/boostorg/preprocessor.git"
SCM_gtest_REPOSITORY="https://github.com/google/googletest.git"
SCM_msgpack_c_EXTERNAL_REFS="
external/boost/predef:predef
external/boost/preprocessor:preprocessor
"
SCM_rapidjson_EXTERNAL_REFS="
thirdparty/gtest:gtest
"
require scm-git
require cmake [ api=2 ]
CLANG_VERSION="6.0.0"
CLANG_TARBALL_NAME="clang+llvm-${CLANG_VERSION}-x86_64-linux-gnu-ubuntu-14.04"
SUMMARY="C/C++ language server supporting multi-million line code base"
HOMEPAGE="https://github.com/cquery-project/cquery"
DOWNLOADS="
!system-clang? (
platform:amd64? ( https://releases.llvm.org/${CLANG_VERSION}/${CLANG_TARBALL_NAME}.tar.xz )
)
"
LICENCES="MIT"
SLOT="0"
PLATFORMS="~amd64"
MYOPTIONS="
system-clang [[ description = [ Use system clang, NOT RECOMMENDED! ] ]]
platform: amd64
"
DEPENDENCIES="
build+run:
dev-libs/ncurses-libtinfo
sys-libs/zlib
system-clang? ( dev-lang/clang[>=6.0.0] )
"
BUGS_TO="hasufell@posteo.de"
REMOTE_IDS="github:cquery-project/cquery"
UPSTREAM_DOCUMENTATION="https://github.com/cquery-project/cquery/wiki"
CMAKE_SRC_CONFIGURE_PARAMS=(
-DCLANG_DOWNLOAD_LOCATION="${WORKBASE}"
)
CMAKE_SRC_CONFIGURE_OPTIONS=(
'system-clang SYSTEM_CLANG'
)