parent
fa353e1ad9
commit
c6f9e4647e
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="A very minimal imitation of the famous GNU Emacs editor"
|
||||
HOMEPAGE="https://web.archive.org/web/20171126221613/http://hunter.apana.org.au/~cjb/Code/"
|
||||
# taken from http://hunter.apana.org.au/~cjb/Code/ersatz.tar.gz
|
||||
SRC_URI="mirror://gentoo/${P}.tar.gz"
|
||||
|
||||
LICENSE="public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="sys-libs/ncurses:0="
|
||||
RDEPEND="${DEPEND}
|
||||
!app-editors/ee"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_prepare() {
|
||||
eapply "${FILESDIR}"/${P}-gentoo.patch
|
||||
sed -i -e "s%/usr/local/share/%/usr/share/doc/${PF}/%" ee.1 \
|
||||
|| die "sed failed"
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCC)" \
|
||||
CFLAGS="${CFLAGS} -Wall" \
|
||||
LFLAGS="${LDFLAGS} $("$(tc-getPKG_CONFIG)" --libs ncurses)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Note: /usr/bin/ee is "easy edit" on FreeBSD, so if this
|
||||
# is ever keyworded *-fbsd the binary has to be renamed.
|
||||
dobin ee
|
||||
doman ee.1
|
||||
dodoc ChangeLog ERSATZ.keys README
|
||||
}
|
@ -0,0 +1,60 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
MY_P="${PN}-$(ver_rs 2 -)"
|
||||
DESCRIPTION="Console S-Lang-based editor"
|
||||
HOMEPAGE="http://www.jedsoft.org/jed/"
|
||||
SRC_URI="ftp://space.mit.edu/pub/davis/jed/v${PV%.*}/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-macos"
|
||||
IUSE="X gpm xft"
|
||||
|
||||
RDEPEND=">=sys-libs/slang-2
|
||||
gpm? ( sys-libs/gpm )
|
||||
X? (
|
||||
x11-libs/libX11
|
||||
xft? (
|
||||
>=media-libs/freetype-2
|
||||
x11-libs/libXft
|
||||
)
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
X? (
|
||||
x11-libs/libXt
|
||||
x11-base/xorg-proto
|
||||
)"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
# replace IDE mode with EMACS mode
|
||||
sed -i -e 's/\(_Jed_Default_Emulation = \).*/\1"emacs";/' \
|
||||
lib/jed.conf || die
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable gpm) \
|
||||
$(use_enable xft) \
|
||||
JED_ROOT="${EPREFIX}"/usr/share/jed
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
use X && emake xjed
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -j1 DESTDIR="${D}" install
|
||||
|
||||
dodoc changes.txt INSTALL{,.unx} README
|
||||
doinfo info/jed*
|
||||
|
||||
insinto /etc
|
||||
doins lib/jed.conf
|
||||
}
|
Binary file not shown.
@ -1,17 +1,16 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=4
|
||||
EAPI=7
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="Monitor lists of files or command output"
|
||||
HOMEPAGE="http://mph-emacs-pkgs.alioth.debian.org/AnalogEl.html"
|
||||
HOMEPAGE="https://web.archive.org/web/20150919120435/http://mph-emacs-pkgs.alioth.debian.org/AnalogEl.html"
|
||||
SRC_URI="mirror://gentoo/${P}.el.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ppc x86"
|
||||
IUSE=""
|
||||
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=4
|
||||
EAPI=7
|
||||
|
||||
inherit elisp
|
||||
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit elisp readme.gentoo-r1
|
||||
|
||||
MY_P="${PN}-el-${PV}"
|
||||
DESCRIPTION="An Emacs Lisp interface to the MLDonkey core"
|
||||
HOMEPAGE="https://www.emacswiki.org/emacs/MlDonkey
|
||||
http://web.archive.org/web/20070107165326/www.physik.fu-berlin.de/~dhansen/mldonkey/"
|
||||
SRC_URI="http://www.physik.fu-berlin.de/%7Edhansen/mldonkey/files/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
ELISP_PATCHES="${P}-vd.patch ${P}-emacs-26.patch"
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
DOC_CONTENTS="If your network gets really slow when you use mldonkey,
|
||||
consider reducing the max number of connections. See bug #50510.
|
||||
\n\nRemember to install net-p2p/mldonkey separately if you want to
|
||||
work with a local instance."
|
||||
|
||||
src_compile() {
|
||||
elisp-compile ml*.el
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST libvirt-0.9.7.tar.gz 17853636 BLAKE2B d149fe4f095c76d003bdca1a307e588a9bd1b011b34119e90b8875837ced533caa2f05f2b9e7709d13f5af0a078fdc4779b7fc8a247f7ca04ad490b18fe728c5 SHA512 ac082f3872b37fc7aad891ba3f2a9614bdc85123b3d626fc7a2e43327a7ec346a0ec154c25161592a4337e3f694d9b27d031544190dec7d6086343f15fe9ba2d
|
||||
DIST libvirt-1.2.1.tar.gz 27228694 BLAKE2B 5552508f87bddbd8d2dd65a37298f7f7e7238a7ac5aeef878bd8b3c6d5ecab8f2cf6fb94c8d520312b6c6399f1e663f8d68febf2badd544020635df841f5488f SHA512 6184840623156ca01ee7f59078ebf031bc84c25b37bb110372c7bcf230a79b74e267475f989fb73db5e3c096dcc74f03cb30adfc5de022f756ed2cd6ab05bfd0
|
||||
|
@ -1,54 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=4
|
||||
|
||||
#BACKPORTS=
|
||||
|
||||
inherit elisp eutils
|
||||
|
||||
MY_P="libvirt-${PV/_rc/-rc}"
|
||||
|
||||
DESCRIPTION="Extension for nxml-mode with libvirt schemas"
|
||||
HOMEPAGE="http://www.libvirt.org/"
|
||||
SRC_URI="http://libvirt.org/sources/${MY_P}.tar.gz
|
||||
${BACKPORTS:+mirror://gentoo/${MY_P}-backports-${BACKPORTS}.tar.bz2}"
|
||||
|
||||
# This is the license of the package, but the schema files are
|
||||
# provided without license, maybe it's bad.
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
# Yes this requires Java, but I'd rather not repackage this, if you
|
||||
# know something better in C, I'll be glad to use that.
|
||||
DEPEND="app-text/trang"
|
||||
RDEPEND=""
|
||||
|
||||
SITEFILE="60${PN}-gentoo.el"
|
||||
S="${WORKDIR}/${MY_P%-rc*}"
|
||||
|
||||
src_prepare() {
|
||||
if [[ -d "${WORKDIR}/patches" ]]; then
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
EPATCH_SOURCE="${WORKDIR}/patches" \
|
||||
epatch
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -C docs/schemas -f "${FILESDIR}/Makefile-trang"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# No we don't need tests here... trang will take care of checking
|
||||
# the well-formedness of the schema files for us
|
||||
:
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto ${SITEETC}/${PN}
|
||||
doins "${FILESDIR}/schemas.xml" docs/schemas/*.rnc
|
||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
(add-to-list 'load-path "@SITELISP@")
|
||||
(add-to-list 'auto-mode-alist '("\\.ml[iylp]?\\'" . caml-mode))
|
||||
(autoload 'caml-mode "caml" "Major mode for editing Caml code." t)
|
||||
(autoload 'run-caml "inf-caml" "Run an inferior Caml process." t)
|
||||
(autoload 'camldebug "camldebug"
|
||||
"Run camldebug on program FILE in buffer *camldebug-FILE*." t)
|
||||
(autoload 'inferior-caml-mode-font-hook "caml-font")
|
||||
|
||||
(eval-after-load "caml" '(require 'caml-font))
|
||||
(add-hook 'inferior-caml-mode-hooks 'inferior-caml-mode-font-hook)
|
@ -1,21 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit elisp
|
||||
|
||||
MY_P=${P/-mode/}
|
||||
|
||||
DESCRIPTION="Emacs mode for OCaml"
|
||||
HOMEPAGE="http://www.ocaml.org/"
|
||||
SRC_URI="http://caml.inria.fr/distrib/${MY_P%.*}/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
S="${WORKDIR}/${MY_P}/emacs"
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
DOCS="README README.itz"
|
@ -1 +1,2 @@
|
||||
DIST xslide-0.2.2.tar.gz 23469 BLAKE2B a7628267b45b1da9ba1cefef5b186ed0a01975546e0bd0f551dcac6810c59e7a75bd7d479c21e4199eb12725d8a0babb2e1ae1912ae53702ad72021b4775a7bf SHA512 e0cc7b42eddcaf9fe7860fad4eff14dd3c963578302884c9aa1caf09eaef08e73b7a3f60d15de7e31ce39d735751dbef33db2181531947ace9af25d0c5092697
|
||||
DIST xslide-0.2.2.zip 29051 BLAKE2B d29bfb9b932c1370d51695ccc00d16e6d0c3ea5025f42281df51bed016cead5bdaef95dbc2fc538ba493641ca799b7a048f48b659692e975feaf5ae8b545f1ec SHA512 df658464517704289d2695faed02d733adea9f5858310b497d66bf103be5c3e1c3635aa1aa3c93f63c64cd2927b4948e53e7b2593622564f5292c583d6e245a8
|
||||
|
@ -0,0 +1,21 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="An Emacs major mode for editing XSL stylesheets and running XSL processes"
|
||||
HOMEPAGE="https://sourceforge.net/projects/xslide/"
|
||||
SRC_URI="mirror://sourceforge/xslide/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~ppc ~x86"
|
||||
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
DOCS="ChangeLog NEWS README.TXT TODO"
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST zenburn-20110907.el.bz2 6979 BLAKE2B 3f38e857c9e09d73d5aafc7e5a98292c122b5ab903c902fe43be1d91ab20a9703a974707354b9f07eab190324ee4ac8a392efae06f2c05a07dd9914a78ebde4c SHA512 552f4a751ffadaf2f4174c7f722abc1fb7a8f84934df01f61c2d7cf653328ce8fd18473f0748eaa570ab9221544e5e9c81243e731a2fff5f2c9028b992163062
|
||||
DIST zenburn-20110907.tar.gz 7952 BLAKE2B c1d63eacd5e77f1d453ddd9323a7f573e487625e1f210c0a93f8992fe741d097f7662fca23900cbca320c9b0aa1484ada885b0b9c077f9a9370863172683b255 SHA512 be19da75b1f776128a8c8701655a0c7cae0d1228ed9d92cf5b57047f99385cf996c27aec9514118612a1728c126feb8892f1375c156a1b345e1018154edf6e79
|
||||
|
@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit elisp readme.gentoo-r1
|
||||
|
||||
COMMIT="2b0672b04ef3e95c25f849dceb10d669296a188b"
|
||||
DESCRIPTION="Zenburn color theme for Emacs"
|
||||
HOMEPAGE="https://web.archive.org/web/20140612104441/http://slinky.imukuppi.org/zenburnpage/
|
||||
https://github.com/dbrock/zenburn-el"
|
||||
SRC_URI="https://github.com/dbrock/${PN}-el/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="app-emacs/color-theme"
|
||||
BDEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/${PN}-el-${COMMIT}"
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
DOC_CONTENTS="To enable zenburn by default, initialise it in your ~/.emacs:
|
||||
\n\t(color-theme-zenburn)"
|
Binary file not shown.
@ -1,2 +1,3 @@
|
||||
DIST cadvisor-0.33.0.tar.gz 4646920 BLAKE2B ce0e264321efcfbbf422f086cd15dfde389a099d183cbc2daaefb5aa6aa36da0c6e213dc4c12a000b9049ce2a1444addee93746f5650a56fa0f7c6612aa25bd9 SHA512 3d1dd1b9dc684e71bca9dc64949911f5f3ae72c97aa3b6cd45dd51a404fc101b5591ec8c19c469d6a410de3cf46c3d8c104d34e5dd1fdc85c18c2d1b6a45b2af
|
||||
DIST cadvisor-0.33.1.tar.gz 4646909 BLAKE2B 1ba30d559c018bf11297ded8adcc77a8761f77a1a39d75fb6e704ab84b3118d14587c91fd638da59bc9a46969b0545bdcf55e482390adeef6a4841fd6a57988c SHA512 659b8c48f74ef34044c7b3d9a41d42338c9c90fa443bdf7766001ae570aab8ed61efa948d1d01c324b6f03a0d1bf3d3fb1483d40bfc3b7e67f768253e3638de5
|
||||
DIST cadvisor-0.34.0.tar.gz 5210189 BLAKE2B 48cf7ddc94e52f07a0e74868d00f4a45d45aa5233b518da46762743357c17cbe7f2971794deda9936a10c65724928a219c498bf6d2493266f5b0ea547d485cb6 SHA512 accb41afd4683413b846f9380229bfa54c88b3141be68492963444928e40e14fc28da3ce27b09746e29c4dfe6323cd6bea69181826367e830f284d6ab698c633
|
||||
|
@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
EGO_PN="github.com/google/cadvisor"
|
||||
|
||||
inherit user golang-build golang-vcs-snapshot
|
||||
SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
COMMIT="24a6a52"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DESCRIPTION="Analyzes resource usage and performance characteristics of running containers"
|
||||
HOMEPAGE="https://github.com/google/cadvisor"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup ${PN}
|
||||
enewuser ${PN} -1 -1 /dev/null ${PN}
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e "/go get/d" src/${EGO_PN}/build/assets.sh || die
|
||||
sed -i -e "s/git describe.*/echo ${PV} )/"\
|
||||
-e "s/git rev-parse --short HEAD.*/echo ${COMMIT} )/"\
|
||||
src/${EGO_PN}/build/build.sh || die
|
||||
default
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
pushd "src/${EGO_PN}"
|
||||
GO_FLAGS="-v -work -x" VERBOSE="true" GOPATH="${S}:$(get_golibdir_gopath)" emake build
|
||||
popd || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
newinitd "${FILESDIR}"/${PN}.initd-r1 ${PN}
|
||||
dobin src/${EGO_PN}/${PN}
|
||||
keepdir /var/log/${PN}
|
||||
fowners ${PN}:${PN} /var/log/${PN}
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
DIST slirp4netns-0.3.1.tar.gz 180163 BLAKE2B 228331bea2aef527d4feb6f195a2a7db0aefa5a561b0425a7d48bab5fc0bed2231d535904223852284c6789a608f70d8c78923c06b89db6e583248744caf34fd SHA512 d482f6d22e9bb62ddca9d7f05d4aef7e2f365439a0d38d864f71c9dc4af3fbcda8ec259285ed54ebabc7e15fced26c844563944eaa1b2fe295273049e42d7686
|
||||
DIST slirp4netns-0.3.2.tar.gz 162136 BLAKE2B bc33c66ecc47e0b566eaa960e1651a0ad0b09010bc9ae3d1eb0692c7b2b67197a078b25df645bc11c50f1e805937b8e0aeeecf2fee6114937ca98eda49f61765 SHA512 b5146a9b165471037542af64618da8fb5f6824a9a4193867f4357b1b7f38082dea00e15930561eb9729fed406dae1bc2ca371035577d0f22cfb9004c13464496
|
||||
DIST slirp4netns-0.4.0_beta2.tar.gz 173593 BLAKE2B fd827f92db03eddea86bccf401ff67535343cf759353e3c221fe1d3de494e8cc0c83169ef5cda900e512aeb16cfb7e5ba6181729483fa48d8f3257d70035a41a SHA512 38b6a1fbaceece1fe151477b3bc7db624e79e2b7913f5cca9e826a5f4289e53cfa584cfb90a5a3520e3e342eb803ff8ae090ca9892ea1051fd79ce802328e578
|
||||
DIST slirp4netns-0.4.0_beta3.tar.gz 167294 BLAKE2B 349cab3199f2d228f0d9ed545d6bd8ddff25e80a57d69c16f5a4a5c8af88cae21c48d98891e844e03ab5c47feb829007c7d6ccfb37510fbe5aaa03d90b0ecea7 SHA512 83ce7eee14ebb9cea481fdde1951d89346a1b741e1232f1b032142b331226193b6869dd6febbca91f1fac1fec7afdcafedeef98f204059a1513c8ab972a411f9
|
||||
DIST slirp4netns-0.4.0_beta4.tar.gz 168436 BLAKE2B 708a92bcdd8f0d1ce925a013d999b3a172391ffaa1dce2f414a440feb8933cdb2f5986badfbdb98c98705ef414d86a353f642e1d8964d3ca700a39527cbf6274 SHA512 2dfe5be6c6b298823e2ae4f72ea11afa8d16a5c6ab9a88522775949508a6f6edfe5eadb3681b7d1300f21a93ebfa1791f04e27066cefdaa988fc12f385ee6340
|
||||
|
Binary file not shown.
@ -1 +1 @@
|
||||
DIST lynis-2.7.3.tar.gz 282609 BLAKE2B 68dcb9d1fc9f81007c15a5f1074d9f42b6f558f7bc62dfba134adffb7b6d858604a10e188abea298eb51e82f8ec1ea5f270563d16a87a68de25dab8e13a1f1c1 SHA512 eb50d5d1769f0276a8383a5c6c664b390ced75248678edd80b00a7c344e8567d9c5fcc7a1f4a1a0e20a26c03bb3648d3b81f165266b3654e75bbec5061ab3837
|
||||
DIST lynis-2.7.5.tar.gz 288688 BLAKE2B e82dd67a49c234745e8af8faca9c4a9664568db9e6c9f9e33c1a3213582f2110a27109fa370642135bd3ec90fc9086314836cfe6d9712bedb110ef61e93aa115 SHA512 0ec814cb65252e3e8a44013ad0902e188a4825c521d47280586c0dd9924dfb7b79cce9797055ab7b7be59dacc111607d114175e0a793844227eadda76f68980b
|
||||
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,91 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools multilib-minimal toolchain-funcs
|
||||
|
||||
DESCRIPTION="An OCR Engine, orginally developed at HP, now open source."
|
||||
HOMEPAGE="https://github.com/tesseract-ocr"
|
||||
SRC_URI="https://github.com/tesseract-ocr/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="doc jpeg opencl openmp png static-libs tiff training webp"
|
||||
|
||||
COMMON_DEPEND=">=media-libs/leptonica-1.74:=[${MULTILIB_USEDEP},zlib,tiff?,jpeg?,png?,webp?]
|
||||
opencl? (
|
||||
virtual/opencl[${MULTILIB_USEDEP}]
|
||||
media-libs/tiff:0=[${MULTILIB_USEDEP}]
|
||||
media-libs/leptonica:=[tiff]
|
||||
)
|
||||
training? (
|
||||
dev-libs/icu:=
|
||||
x11-libs/pango:=
|
||||
x11-libs/cairo:=
|
||||
)"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
|| (
|
||||
>=app-text/tessdata_fast-4.0.0
|
||||
>=app-text/tessdata_best-4.0.0
|
||||
>=app-text/tessdata_legacy-4.0.0
|
||||
)"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
app-text/asciidoc
|
||||
app-text/docbook-xsl-stylesheets
|
||||
dev-libs/libxslt
|
||||
doc? ( app-doc/doxygen )"
|
||||
|
||||
pkg_pretend() {
|
||||
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
# scrollview disabled for now, see bug #686944
|
||||
local myeconfargs=(
|
||||
--enable-shared
|
||||
--disable-graphics
|
||||
$(use_enable opencl)
|
||||
$(use_enable openmp)
|
||||
$(use_enable static-libs static)
|
||||
)
|
||||
|
||||
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
default
|
||||
if multilib_is_native_abi; then
|
||||
use doc && emake doc
|
||||
use training && emake training
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
if multilib_is_native_abi; then
|
||||
DOCS=( "${S}"/AUTHORS "${S}"/ChangeLog "${S}"/README.md )
|
||||
if use doc; then
|
||||
HTML_DOCS=( doc/html/. )
|
||||
fi
|
||||
einstalldocs
|
||||
|
||||
if use training; then
|
||||
emake DESTDIR="${D}" training-install
|
||||
fi
|
||||
fi
|
||||
emake DESTDIR="${D}" install
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
find "${D}" -name '*.la' -type f -delete || die
|
||||
}
|
@ -0,0 +1,40 @@
|
||||
From 6175f89cb618fef83882ed86ab049a7fd1035770 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Bo=20=C3=98rsted=20Andresen?= <zlin@exherbo.org>
|
||||
Date: Tue, 23 Jul 2019 00:16:19 +0200
|
||||
Subject: [PATCH] Fix handling of bpaste urls.
|
||||
|
||||
---
|
||||
wgetpaste | 9 +++++++--
|
||||
1 file changed, 7 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/wgetpaste b/wgetpaste
|
||||
index 585fcd9..99eb7f1 100755
|
||||
--- a/wgetpaste
|
||||
+++ b/wgetpaste
|
||||
@@ -181,7 +181,8 @@ xml+cheetah xml+django xml+evoque xml+lasso xml+mako xml+myghty xml+php xml+erb
|
||||
xml+velocity xml xquery xslt xtend yaml"
|
||||
EXPIRATIONS_pinnwand="1day 1week 1month never"
|
||||
POST_pinnwand="submit=Paste! % % lexer expiry % code"
|
||||
-REGEX_RAW_pinnwand='s|^\(https\?://[^/]*/\)show\(/[[:alnum:]]*/\?\)$|\1raw\2|'
|
||||
+REGEX_LOC_pinnwand="\(/show/[^ ]*\).*$|https://bpaste.net\1"
|
||||
+REGEX_RAW_pinnwand='s|^\(https\?://[^/]*/\)show\(/[^ ]*/\?\)$|\1raw\2|'
|
||||
|
||||
### errors
|
||||
die() {
|
||||
@@ -550,11 +551,15 @@ postdata() {
|
||||
|
||||
# get url from response from server
|
||||
geturl() {
|
||||
- local regex
|
||||
+ local regex location
|
||||
regex=REGEX_URL_$ENGINE
|
||||
+ location=REGEX_LOC_$ENGINE
|
||||
if [[ -n ${!regex} ]]; then
|
||||
[[ needstdout = $1 ]] && return 0
|
||||
sed -n -e "${!regex}" <<< "$*"
|
||||
+ elif [[ -n ${!location} ]]; then
|
||||
+ [[ needstdout = $1 ]] && return 1
|
||||
+ sed -n -e "s|^.*Location: ${!location}|p" <<< "$*"
|
||||
else
|
||||
[[ needstdout = $1 ]] && return 1
|
||||
sed -n -e 's|^.*Location: \(https\{0,1\}://[^ ]*\).*$|\1|p' <<< "$*"
|
Binary file not shown.
@ -1,284 +0,0 @@
|
||||
--- a/gpr/gpr.gpr 2017-05-27 20:59:07.061135892 +0200
|
||||
+++ b/gpr/gpr.gpr 2017-05-27 20:59:38.022638398 +0200
|
||||
@@ -67,6 +67,7 @@
|
||||
for Switches ("gpr*.ad?") use
|
||||
Compiler'Default_Switches ("Ada") & ("-g1");
|
||||
end case;
|
||||
+ for Driver ("C") use External ("CC", "gcc");
|
||||
end Compiler;
|
||||
|
||||
end GPR;
|
||||
--- a/gpr/src/gpr-names.ads 2017-11-19 13:09:18.947527738 +0100
|
||||
+++ b/gpr/src/gpr-names.ads 2017-11-19 13:10:08.125654595 +0100
|
||||
@@ -27,6 +27,8 @@
|
||||
Name_Buffer : String (1 .. 1_000_000);
|
||||
Name_Len : Natural := 0;
|
||||
|
||||
+ Last_Id : Name_Id := Name_Id'First;
|
||||
+
|
||||
procedure Get_Name_String (Id : Name_Id);
|
||||
procedure Get_Name_String (Id : Unit_Name_Type);
|
||||
procedure Get_Name_String (Id : File_Name_Type);
|
||||
--- a/gpr/src/gpr-names.adb 2017-11-19 13:10:27.674316703 +0100
|
||||
+++ b/gpr/src/gpr-names.adb 2017-11-19 13:14:38.360963627 +0100
|
||||
@@ -354,6 +354,8 @@
|
||||
|
||||
Name_Chars.Append (ASCII.NUL);
|
||||
|
||||
+ Last_Id := Name_Entries.Last;
|
||||
+
|
||||
return Name_Entries.Last;
|
||||
end Name_Enter;
|
||||
|
||||
@@ -427,6 +429,8 @@
|
||||
|
||||
Name_Chars.Append (ASCII.NUL);
|
||||
|
||||
+ Last_Id := Name_Entries.Last;
|
||||
+
|
||||
return Name_Entries.Last;
|
||||
end Name_Find;
|
||||
|
||||
--- a/gpr/src/gpr-snames.adb 2017-11-19 13:12:41.592995718 +0100
|
||||
+++ b/gpr/src/gpr-snames.adb 2017-11-19 13:16:31.980979696 +0100
|
||||
@@ -53,6 +53,10 @@
|
||||
return;
|
||||
end if;
|
||||
|
||||
+ if Last_Id = Name_Id'First then
|
||||
+ Add_Name ("");
|
||||
+ end if;
|
||||
+
|
||||
Add_Name ("a");
|
||||
Add_Name ("b");
|
||||
Add_Name ("c");
|
||||
--- a/src/gprlib.adb 2017-12-18 12:20:02.937317216 +0100
|
||||
+++ b/src/gprlib.adb 2017-12-18 12:21:36.519604590 +0100
|
||||
@@ -263,7 +263,9 @@
|
||||
|
||||
Driver_Name : Name_Id := No_Name;
|
||||
|
||||
- Gnatbind_Name : String_Access := new String'("gnatbind");
|
||||
+ Gnatbind_Name : String_Access := new String'("@GNATBIND@");
|
||||
+
|
||||
+ Gnatbind_Path_Option : constant String := "--gnatbind_path=";
|
||||
|
||||
Compiler_Name : String_Access := new String'("gcc");
|
||||
|
||||
@@ -1944,13 +1946,13 @@
|
||||
and then Line (Last - 2 .. Last) = "gcc"
|
||||
then
|
||||
Gnatbind_Name :=
|
||||
- new String'(Line (1 .. Last - 3) & "gnatbind");
|
||||
+ new String'(Line (1 .. Last - 3) & "@GNATBIND@");
|
||||
|
||||
elsif Last > 7
|
||||
and then Line (Last - 6 .. Last) = "gcc.exe"
|
||||
then
|
||||
Gnatbind_Name :=
|
||||
- new String'(Line (1 .. Last - 7) & "gnatbind");
|
||||
+ new String'(Line (1 .. Last - 7) & "@GNATBIND@");
|
||||
end if;
|
||||
end if;
|
||||
|
||||
@@ -2100,7 +2102,13 @@
|
||||
Mapping_File_Name := new String'(Line (1 .. Last));
|
||||
|
||||
when Binding_Options =>
|
||||
- Binding_Options_Table.Append (Line (1 .. Last));
|
||||
+ if Last > Gnatbind_Path_Option'Length
|
||||
+ and then Line (1 .. Gnatbind_Path_Option'Length) =
|
||||
+ Gnatbind_Path_Option then
|
||||
+ null;
|
||||
+ else
|
||||
+ Binding_Options_Table.Append (Line (1 .. Last));
|
||||
+ end if;
|
||||
|
||||
when Copy_Source_Dir =>
|
||||
Copy_Source_Directory := new String'(Line (1 .. Last));
|
||||
--- a/share/gprconfig/compilers.xml 2018-10-17 14:36:15.100480516 +0200
|
||||
+++ b/share/gprconfig/compilers.xml 2018-10-17 15:38:57.333256634 +0200
|
||||
@@ -20,15 +20,15 @@
|
||||
<!-- GCC 3.x & 4.x (not for GNAT Pro)-->
|
||||
<compiler_description>
|
||||
<name>GCC</name>
|
||||
- <executable prefix="1">(.*-wrs-.*|.*-sysgo.*|.*-elf-.*|.*-eabi-.*|.*-eabispe-.*|avr-.*|.*-elinos-linux.*|.*-generic-linux-gnu-|.*-pc-mingw32.*|.*-xcoff-.*|arm-linux-androideabi-|arm-linux-gnueabi-|arm-linux-gnueabihf-|e500v2-gnu-linux-|powerpc-.*-linux.*-|.*-darwin.*-|aarch64-linux-gnu-)?gcc</executable>
|
||||
+ <executable prefix="1">(.*-wrs-.*|.*-sysgo.*|.*-elf-.*|.*-eabi-.*|.*-eabispe-.*|avr-.*|.*-elinos-linux.*|.*-generic-linux-gnu-|.*-pc-mingw32.*|.*-xcoff-.*|arm-linux-androideabi-|arm-linux-gnueabi-|arm-linux-gnueabihf-|e500v2-gnu-linux-|powerpc-.*-linux.*-|.*-darwin.*-|aarch64-linux-gnu-)?gcc-@VER@</executable>
|
||||
<version>
|
||||
- <external>${PREFIX}gcc -v</external>
|
||||
+ <external>${PREFIX}gcc-@VER@ -v</external>
|
||||
<nogrep regexp="for GNAT Pro"></nogrep>
|
||||
<grep regexp="^gcc \S+ (\S+)" group="1"></grep>
|
||||
</version>
|
||||
<languages>C</languages>
|
||||
<target>
|
||||
- <external>${PREFIX}gcc -dumpmachine</external>
|
||||
+ <external>${PREFIX}gcc-@VER@ -dumpmachine</external>
|
||||
<grep regexp="[^\r\n]+"></grep>
|
||||
</target>
|
||||
</compiler_description>
|
||||
@@ -170,14 +170,14 @@
|
||||
-->
|
||||
<compiler_description>
|
||||
<name>GNAT</name>
|
||||
- <executable prefix="1">(.*-wrs-.*|.*-sysgo.*|.*-elf-.*|.*-eabi-.*|.*-eabispe-.*|avr-.*|.*-elinos-linux.*|.*-generic-linux-gnu-|.*-pc-mingw32.*|.*-xcoff-.*|arm-linux-androideabi-|arm-linux-gnueabi-|arm-linux-gnueabihf-|e500v2-gnu-linux-|powerpc-.*-linux.*-|.*-darwin.*-|aarch64-linux-gnu-|.*-qnx.*)?gnatls</executable>
|
||||
+ <executable prefix="1">(.*-wrs-.*|.*-sysgo.*|.*-elf-.*|.*-eabi-.*|.*-eabispe-.*|avr-.*|.*-elinos-linux.*|.*-generic-linux-gnu-|.*-pc-mingw32.*|.*-xcoff-.*|arm-linux-androideabi-|arm-linux-gnueabi-|arm-linux-gnueabihf-|e500v2-gnu-linux-|powerpc-.*-linux.*-|.*-darwin.*-|aarch64-linux-gnu-|.*-qnx.*)?gnatls-@VER@</executable>
|
||||
<version>
|
||||
- <external>${PREFIX}gnatls -v --version</external>
|
||||
+ <external>${PREFIX}gnatls-@VER@ -v --version</external>
|
||||
<grep regexp="^GNATLS.+?(\d+(\.\d+)?)" group="1"></grep>
|
||||
</version>
|
||||
<languages>Ada</languages>
|
||||
<variable name="gcc_version">
|
||||
- <external>${PREFIX}gcc -v</external>
|
||||
+ <external>${PREFIX}gcc-@VER@ -v</external>
|
||||
<grep regexp="^[-\w]*gcc \S+ (\S+)" group="1"></grep>
|
||||
</variable>
|
||||
<runtimes default="default,kernel,native">
|
||||
@@ -187,71 +187,11 @@
|
||||
<directory group="1" >\.\./$TARGET/lib/gnat/(.*)/adalib/</directory>
|
||||
</runtimes>
|
||||
<target>
|
||||
- <external>${PREFIX}gcc -dumpmachine</external>
|
||||
+ <external>${PREFIX}gcc-@VER@ -dumpmachine</external>
|
||||
<grep regexp="[^\r\n]+"></grep>
|
||||
</target>
|
||||
</compiler_description>
|
||||
|
||||
- <!-- CodePeer -->
|
||||
-
|
||||
- <compiler_description>
|
||||
- <name>GNAT_CODEPEER</name>
|
||||
- <executable prefix="1">(.*codepeer-)gnatls</executable>
|
||||
- <version>
|
||||
- <external>${PREFIX}gnatls -v</external>
|
||||
- <grep regexp="^GNATLS.+?(\d+(\.\d+)?)" group="1"></grep>
|
||||
- </version>
|
||||
- <languages>Ada</languages>
|
||||
- <variable name="gcc_version">
|
||||
- <external>${PREFIX}gcc -v</external>
|
||||
- <grep regexp="^[-\w]*gcc \S+ (\S+)" group="1"></grep>
|
||||
- </variable>
|
||||
- <runtimes default="default,native">
|
||||
- <directory group="default" >\.\./lib/gcc/.*/$gcc_version/adalib/</directory>
|
||||
- <directory group="1" >\.\./lib/gnat/(.*)/adalib/</directory>
|
||||
- <directory group="1" >\.\./lib/gcc/.*/$gcc_version/rts-(.*)/adalib/</directory>
|
||||
- </runtimes>
|
||||
- <target>codepeer</target>
|
||||
- </compiler_description>
|
||||
-
|
||||
- <!-- C Target -->
|
||||
-
|
||||
- <compiler_description>
|
||||
- <name>GNAT_C</name>
|
||||
- <executable prefix="1">(c-)gnatls</executable>
|
||||
- <version>
|
||||
- <external>${PREFIX}gnatls -v</external>
|
||||
- <grep regexp="^GNATLS.+?(\d+(\.\d+)?)" group="1"></grep>
|
||||
- </version>
|
||||
- <languages>Ada</languages>
|
||||
- <variable name="gcc_version">
|
||||
- <external>${PREFIX}gcc -v</external>
|
||||
- <grep regexp="^[-\w]*gcc \S+ (\S+)" group="1"></grep>
|
||||
- </variable>
|
||||
- <runtimes default="default">
|
||||
- <directory group="default" >\.\./libexec/gnat_ccg/lib/gcc/.*/$gcc_version/adalib/</directory>
|
||||
- <directory group="1" >\.\./lib/gnat/(.*)/adalib/</directory>
|
||||
- </runtimes>
|
||||
- <target>c</target>
|
||||
- </compiler_description>
|
||||
-
|
||||
- <!-- GNAT_DOTNET -->
|
||||
-
|
||||
- <compiler_description>
|
||||
- <name>GNAT_DOTNET</name>
|
||||
- <executable prefix="1">(.*dotnet-)gnatls</executable>
|
||||
- <version>
|
||||
- <external>${PREFIX}gnatls -v</external>
|
||||
- <grep regexp="^GNATLS.+?(\d+(\.\d+)?)" group="1"></grep>
|
||||
- </version>
|
||||
- <languages>Ada</languages>
|
||||
- <runtimes default="default,kernel">
|
||||
- <directory group="default" >\.\./lib/dotgnat/adalib/</directory>
|
||||
- <directory group="1" >\.\./lib/dotgnat/rts-(.*)/adalib/</directory>
|
||||
- </runtimes>
|
||||
- <target>dotnet</target>
|
||||
- </compiler_description>
|
||||
-
|
||||
<!-- G77 -->
|
||||
<compiler_description>
|
||||
<name>G77</name>
|
||||
@@ -295,21 +295,6 @@
|
||||
</target>
|
||||
</compiler_description>
|
||||
|
||||
- <!-- LLVM Compiler -->
|
||||
- <compiler_description>
|
||||
- <name>LLVM</name>
|
||||
- <executable>clang</executable>
|
||||
- <version>
|
||||
- <external>clang -v</external>
|
||||
- <grep regexp=".*(LLVM|clang) version ([0-9.]*)" group="2"></grep>
|
||||
- </version>
|
||||
- <languages>C</languages>
|
||||
- <target>
|
||||
- <external>clang -dumpmachine</external>
|
||||
- <grep regexp="[^\r\n]+"></grep>
|
||||
- </target>
|
||||
- </compiler_description>
|
||||
-
|
||||
<!-- Windres compiler -->
|
||||
<compiler_description>
|
||||
<name>WINDRES</name>
|
||||
--- a/share/gprconfig/gnat.xml 2018-10-17 18:38:35.547094541 +0200
|
||||
+++ b/share/gprconfig/gnat.xml 2018-10-17 18:40:16.281379341 +0200
|
||||
@@ -60,7 +60,7 @@
|
||||
&filter_gnat;
|
||||
<config>
|
||||
package Compiler is
|
||||
- for Driver ("Ada") use "${PATH(ada)}${PREFIX(ada)}gcc";
|
||||
+ for Driver ("Ada") use "${PATH(ada)}${PREFIX(ada)}gcc-@VER@";
|
||||
for Language_Kind ("Ada") use "unit_based";
|
||||
for Dependency_Kind ("Ada") use "ALI_File";
|
||||
for Leading_Required_Switches ("Ada") use
|
||||
@@ -77,6 +77,9 @@
|
||||
for Objects_Path_File ("Ada") use "ADA_PRJ_OBJECTS_FILE";
|
||||
for Driver ("Ada") use
|
||||
"${GPRCONFIG_PREFIX}libexec/gprbuild/gprbind";
|
||||
+ for Switches ("Ada") use ("--gnatbind_path=gnatbind-@VER@");
|
||||
+ for Required_Switches ("Ada") use
|
||||
+ Binder'Required_Switches ("Ada") & ("--RTS=${RUNTIME_DIR(ada)}");
|
||||
end Binder;
|
||||
|
||||
for Toolchain_Version ("Ada") use "GNAT ${VERSION(ada)}";
|
||||
--- a/share/gprconfig/c.xml 2018-10-17 21:31:44.442501471 +0200
|
||||
+++ b/share/gprconfig/c.xml 2018-10-17 21:33:06.562088044 +0200
|
||||
@@ -14,7 +14,7 @@
|
||||
</compilers>
|
||||
<config>
|
||||
package Compiler is
|
||||
- for Driver ("C") use "${PATH(c)}${PREFIX(c)}gcc";
|
||||
+ for Driver ("C") use "${PATH(c)}${PREFIX(c)}gcc-@VER@";
|
||||
end Compiler;
|
||||
</config>
|
||||
</configuration>
|
||||
--- a/share/gprconfig/linker.xml 2018-10-17 21:36:15.856883517 +0200
|
||||
+++ b/share/gprconfig/linker.xml 2018-10-17 21:35:15.985896804 +0200
|
||||
@@ -1025,7 +1025,7 @@
|
||||
</targets>
|
||||
<config>
|
||||
for Library_Partial_Linker use
|
||||
- ("${PATH(ada)}${PREFIX(ada)}gcc", "-nostdlib", "-Wl,-r", "-o");
|
||||
+ ("${PATH(ada)}${PREFIX(ada)}gcc-@VER@", "-nostdlib", "-Wl,-r", "-no-pie", "-o");
|
||||
</config>
|
||||
</configuration>
|
||||
|
||||
@@ -1044,7 +1044,7 @@
|
||||
</targets>
|
||||
<config>
|
||||
for Library_Partial_Linker use
|
||||
- ("${PATH(c)}${PREFIX(c)}gcc", "-nostdlib", "-Wl,-r", "-o");
|
||||
+ ("${PATH(c)}${PREFIX(c)}gcc-@VER@", "-nostdlib", "-Wl,-r", "-no-pie", "-o");
|
||||
</config>
|
||||
</configuration>
|
||||
|
@ -1,86 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit toolchain-funcs multiprocessing
|
||||
|
||||
MYP=${PN}-gpl-${PV}
|
||||
|
||||
DESCRIPTION="Multi-Language Management"
|
||||
HOMEPAGE="http://libre.adacore.com/"
|
||||
SRC_URI="
|
||||
http://mirrors.cdn.adacore.com/art/5b0819dfc7a447df26c27a68
|
||||
-> ${MYP}-src.tar.gz
|
||||
http://mirrors.cdn.adacore.com/art/5b0819dec7a447df26c27a40
|
||||
-> xmlada-gpl-${PV}-src.tar.gz"
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="gnat_2016 gnat_2017 +gnat_2018"
|
||||
|
||||
DEPEND="gnat_2016? ( dev-lang/gnat-gpl:4.9.4 )
|
||||
gnat_2017? ( dev-lang/gnat-gpl:6.3.0 )
|
||||
gnat_2018? ( dev-lang/gnat-gpl:7.3.1 )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}"/${MYP}-src
|
||||
|
||||
REQUIRED_USE="!gnat_2016 ^^ ( gnat_2017 gnat_2018 )"
|
||||
PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
|
||||
|
||||
src_prepare() {
|
||||
if use gnat_2017; then
|
||||
GCC_PV=6.3.0
|
||||
else
|
||||
GCC_PV=7.3.1
|
||||
fi
|
||||
default
|
||||
sed -i \
|
||||
-e "s:@VER@:${GCC_PV}:g" \
|
||||
share/gprconfig/compilers.xml \
|
||||
share/gprconfig/gnat.xml \
|
||||
share/gprconfig/c.xml \
|
||||
share/gprconfig/linker.xml \
|
||||
|| die
|
||||
sed -i \
|
||||
-e "s:@GNATBIND@:gnatbind-${GCC_PV}:g" \
|
||||
src/gprlib.adb \
|
||||
|| die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
emake prefix="${D}"usr setup
|
||||
}
|
||||
|
||||
bin_progs="gprbuild gprconfig gprclean gprinstall gprname gprls"
|
||||
lib_progs="gprlib gprbind"
|
||||
|
||||
src_compile() {
|
||||
GCC=${CHOST}-gcc-${GCC_PV}
|
||||
GNATMAKE=${CHOST}-gnatmake-${GCC_PV}
|
||||
local xmlada_src="../xmlada-gpl-${PV}-src"
|
||||
incflags="-Isrc -Igpr/src -I${xmlada_src}/sax -I${xmlada_src}/dom \
|
||||
-I${xmlada_src}/schema -I${xmlada_src}/unicode \
|
||||
-I${xmlada_src}/input_sources"
|
||||
${GCC} -c ${CFLAGS} gpr/src/gpr_imports.c -o gpr_imports.o || die
|
||||
for bin in ${bin_progs}; do
|
||||
${GNATMAKE} -j$(makeopts_jobs) ${incflags} $ADAFLAGS ${bin}-main \
|
||||
-o ${bin} -largs gpr_imports.o || die
|
||||
done
|
||||
for lib in $lib_progs; do
|
||||
${GNATMAKE} -j$(makeopts_jobs) ${incflags} ${lib} $ADAFLAGS \
|
||||
-largs gpr_imports.o || die
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${bin_progs}
|
||||
exeinto /usr/libexec/gprbuild
|
||||
doexe ${lib_progs}
|
||||
insinto /usr/share/gprconfig
|
||||
doins share/gprconfig/*
|
||||
insinto /usr/share/gpr
|
||||
doins share/_default.gpr
|
||||
einstalldocs
|
||||
}
|
@ -1,89 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit toolchain-funcs multiprocessing
|
||||
|
||||
MYP=${PN}-gpl-${PV}
|
||||
|
||||
DESCRIPTION="Multi-Language Management"
|
||||
HOMEPAGE="http://libre.adacore.com/"
|
||||
SRC_URI="
|
||||
http://mirrors.cdn.adacore.com/art/5b0819dfc7a447df26c27a68
|
||||
-> ${MYP}-src.tar.gz
|
||||
http://mirrors.cdn.adacore.com/art/5b0819dec7a447df26c27a40
|
||||
-> xmlada-gpl-${PV}-src.tar.gz"
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="gnat_2016 gnat_2017 +gnat_2018 gnat_2019"
|
||||
|
||||
DEPEND="gnat_2016? ( dev-lang/gnat-gpl:4.9.4 )
|
||||
gnat_2017? ( dev-lang/gnat-gpl:6.3.0 )
|
||||
gnat_2018? ( dev-lang/gnat-gpl:7.3.1 )
|
||||
gnat_2019? ( dev-lang/gnat-gpl:8.3.1 )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}"/${MYP}-src
|
||||
|
||||
REQUIRED_USE="!gnat_2016 ^^ ( gnat_2017 gnat_2018 gnat_2019 )"
|
||||
PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
|
||||
|
||||
src_prepare() {
|
||||
if use gnat_2017; then
|
||||
GCC_PV=6.3.0
|
||||
elif use gnat_2018; then
|
||||
GCC_PV=7.3.1
|
||||
else
|
||||
GCC_PV=8.3.1
|
||||
fi
|
||||
default
|
||||
sed -i \
|
||||
-e "s:@VER@:${GCC_PV}:g" \
|
||||
share/gprconfig/compilers.xml \
|
||||
share/gprconfig/gnat.xml \
|
||||
share/gprconfig/c.xml \
|
||||
share/gprconfig/linker.xml \
|
||||
|| die
|
||||
sed -i \
|
||||
-e "s:@GNATBIND@:gnatbind-${GCC_PV}:g" \
|
||||
src/gprlib.adb \
|
||||
|| die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
emake prefix="${D}"usr setup
|
||||
}
|
||||
|
||||
bin_progs="gprbuild gprconfig gprclean gprinstall gprname gprls"
|
||||
lib_progs="gprlib gprbind"
|
||||
|
||||
src_compile() {
|
||||
GCC=${CHOST}-gcc-${GCC_PV}
|
||||
GNATMAKE=${CHOST}-gnatmake-${GCC_PV}
|
||||
local xmlada_src="../xmlada-gpl-${PV}-src"
|
||||
incflags="-Isrc -Igpr/src -I${xmlada_src}/sax -I${xmlada_src}/dom \
|
||||
-I${xmlada_src}/schema -I${xmlada_src}/unicode \
|
||||
-I${xmlada_src}/input_sources"
|
||||
${GCC} -c ${CFLAGS} gpr/src/gpr_imports.c -o gpr_imports.o || die
|
||||
for bin in ${bin_progs}; do
|
||||
${GNATMAKE} -j$(makeopts_jobs) ${incflags} $ADAFLAGS ${bin}-main \
|
||||
-o ${bin} -largs gpr_imports.o || die
|
||||
done
|
||||
for lib in $lib_progs; do
|
||||
${GNATMAKE} -j$(makeopts_jobs) ${incflags} ${lib} $ADAFLAGS \
|
||||
-largs gpr_imports.o || die
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${bin_progs}
|
||||
exeinto /usr/libexec/gprbuild
|
||||
doexe ${lib_progs}
|
||||
insinto /usr/share/gprconfig
|
||||
doins share/gprconfig/*
|
||||
insinto /usr/share/gpr
|
||||
doins share/_default.gpr
|
||||
einstalldocs
|
||||
}
|
Binary file not shown.
@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
JAVA_PKG_IUSE="source"
|
||||
|
||||
inherit eutils java-pkg-2 java-ant-2
|
||||
|
||||
MY_A="apache-${P}-src"
|
||||
MY_P="${MY_A/-servlet-api/}"
|
||||
DESCRIPTION="Tomcat's Servlet API 3.1/JSP API 2.3/EL API 3.0 implementation"
|
||||
HOMEPAGE="https://tomcat.apache.org/"
|
||||
SRC_URI="mirror://apache/tomcat/tomcat-8/v${PV}/src/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="3.1"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=virtual/jdk-1.7"
|
||||
RDEPEND=">=virtual/jre-1.7"
|
||||
|
||||
S="${WORKDIR}/${MY_P}/"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
cp "${FILESDIR}/${SLOT}-build.xml" build.xml || die "Could not replace build.xml"
|
||||
rm -fR */*/build.xml
|
||||
einfo "Removing bundled jars and classes"
|
||||
find "${S}" '(' -name '*.class' -o -name '*.jar' ')' -exec rm -frv {} +
|
||||
|
||||
java-pkg-2_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar "${S}"/output/build/lib/*.jar
|
||||
use source && java-pkg_dosrc java/javax/servlet/
|
||||
}
|
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST libevdev-1.7.0.tar.xz 438264 BLAKE2B 3f71ccdfbd68598afed7316dd4902a8ac439c6f094788abed5cb8ed24acaf070edaeceefad17de51cadb039259aa0de6a8ec576fa1f8dbd60878ee75aeb39fde SHA512 bc43723fd1ca251a77ee549022609f73c15a33ae470fc843ac687542fb1938fba4d046d3ee1dc814bc38a4292a7f2ad9e71fcce45525b518a4f4a5bef099aa6f
|
||||
DIST libevdev-1.8.0.tar.xz 439000 BLAKE2B 408c60669557419c945901da5f146302cf0cdc43ed74cf4dc8ff4a9c272319c49f644bf95acf3d8656173bfc2f3763a6cc172ee4707a7f0129d15449701e9449 SHA512 8d285632f4fe87c01e81f94e514bec4e37fed4bc44d6d38b9297dba1114e42f6ed8d143fc05f3d0e8d51b08b659e34481dc4c65f60421c54e2f3e11efbafdeb4
|
||||
|
@ -0,0 +1,48 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} )
|
||||
|
||||
inherit multilib-minimal python-any-r1
|
||||
|
||||
DESCRIPTION="Handler library for evdev events"
|
||||
HOMEPAGE="https://www.freedesktop.org/wiki/Software/libevdev/ https://gitlab.freedesktop.org/libevdev/libevdev"
|
||||
|
||||
if [[ ${PV} == 9999* ]] ; then
|
||||
EGIT_REPO_URI="https://gitlab.freedesktop.org/libevdev/libevdev.git"
|
||||
inherit autotools git-r3
|
||||
else
|
||||
SRC_URI="https://www.freedesktop.org/software/libevdev/${P}.tar.xz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE="doc static-libs"
|
||||
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
doc? ( app-doc/doxygen )
|
||||
virtual/pkgconfig
|
||||
"
|
||||
RESTRICT="test" # Tests need to run as root.
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
[[ ${PV} == 9999* ]] && eautoreconf
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
ECONF_SOURCE="${S}" econf $(use_enable static-libs static)
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
default
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
if use doc ;then
|
||||
local HTML_DOCS=( doc/html/. )
|
||||
einstalldocs
|
||||
fi
|
||||
}
|
@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit cmake-multilib eapi7-ver
|
||||
|
||||
DESCRIPTION="Small, safe and fast formatting library"
|
||||
HOMEPAGE="https://github.com/fmtlib/fmt"
|
||||
|
||||
LICENSE="MIT"
|
||||
IUSE="test"
|
||||
SLOT="0/$(ver_cut 1)"
|
||||
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/fmtlib/fmt.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://github.com/fmtlib/fmt/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
S="${WORKDIR}/fmt-${PV}"
|
||||
fi
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
multilib_src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DFMT_CMAKE_DIR="$(get_libdir)/cmake/fmt"
|
||||
-DFMT_LIB_DIR="$(get_libdir)"
|
||||
-DFMT_TEST=$(usex test)
|
||||
-DBUILD_SHARED_LIBS=ON
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST libinput-1.13.4.tar.xz 530000 BLAKE2B 96345625b98ecc5476b9525cac84ec6cffb5854ce8d9e197fa73dbcb3548ebfea7820fa32d4e808222c0471fc94d89003775587cc0ed9c8445dd5902d3463792 SHA512 ccfdfc704dab9ea19a503399ecd4ce3a95b8d9480b8dfddeb80be01236c34c6f2f472be0e12e04dddd68092611470d303351e092141bc7491729639bcf7e64d7
|
||||
DIST libinput-1.14.0.tar.xz 563272 BLAKE2B 9d5f831c9224b01aa4be92494f28ab95909dff2d81f5e60bada2ca12a2fb4f5745b99a4caa4abef06938cbd7d9e8da9aed85573e447ad6b6e52392e17534953a SHA512 e501c5b8a58bb287c175692af0e59ff766a8613eb576aaa0700686dfbb6c6ab63b7a5d3f148fce75397c8170bc49871068861d93c352355ab5d0d9e7f1b059ec
|
||||
DIST libinput-1.14.1.tar.xz 564412 BLAKE2B 185cede0e5d74dc27f544996aa003d50556ef50f432c73a45a1cffeac921ecc0a5c5c82158292bcd18a692d745fed552545e5ab60bcc29fb1451529cbdc7a57e SHA512 8416bab51ba1aab924fa1b41360bc2ad101fb60d3a82c73584bb1e2454554524716673e3eac7f08c18bd6a1ecdfa52ea3cfe09c7a866c59fcd47d75960e82d4c
|
||||
|
@ -0,0 +1,78 @@
|
||||
# Copyright 2014-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
PYTHON_COMPAT=( python{2_7,3_{5,6,7}} )
|
||||
|
||||
inherit meson python-any-r1 udev
|
||||
|
||||
DESCRIPTION="Library to handle input devices in Wayland"
|
||||
HOMEPAGE="https://www.freedesktop.org/wiki/Software/libinput/ https://gitlab.freedesktop.org/libinput/libinput"
|
||||
SRC_URI="https://www.freedesktop.org/software/${PN}/${P}.tar.xz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0/10"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
|
||||
IUSE="doc input_devices_wacom"
|
||||
# Tests require write access to udev rules directory which is a no-no for live system.
|
||||
# Other tests are just about logs, exported symbols and autotest of the test library.
|
||||
RESTRICT="test"
|
||||
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
doc? (
|
||||
$(python_gen_any_dep '
|
||||
dev-python/commonmark[${PYTHON_USEDEP}]
|
||||
dev-python/recommonmark[${PYTHON_USEDEP}]
|
||||
dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx_rtd_theme-0.2.4[${PYTHON_USEDEP}]
|
||||
')
|
||||
>=app-doc/doxygen-1.8.3
|
||||
>=media-gfx/graphviz-2.38.0
|
||||
)
|
||||
"
|
||||
# test? ( dev-util/valgrind )
|
||||
RDEPEND="
|
||||
input_devices_wacom? ( >=dev-libs/libwacom-0.20 )
|
||||
>=dev-libs/libevdev-1.3
|
||||
>=sys-libs/mtdev-1.1
|
||||
virtual/libudev:=
|
||||
virtual/udev
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
# test? ( >=dev-libs/check-0.9.10 )
|
||||
|
||||
python_check_deps() {
|
||||
has_version "dev-python/commonmark[${PYTHON_USEDEP}]" && \
|
||||
has_version "dev-python/recommonmark[${PYTHON_USEDEP}]" && \
|
||||
has_version "dev-python/sphinx[${PYTHON_USEDEP}]" && \
|
||||
has_version ">=dev-python/sphinx_rtd_theme-0.2.4[${PYTHON_USEDEP}]"
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
use doc && python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# gui can be built but will not be installed
|
||||
local emesonargs=(
|
||||
-Ddebug-gui=false
|
||||
$(meson_use doc documentation)
|
||||
$(meson_use input_devices_wacom libwacom)
|
||||
-Dtests=false # tests are restricted
|
||||
-Dudev-dir="$(get_udevdir)"
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
if use doc ; then
|
||||
docinto html
|
||||
dodoc -r "${BUILD_DIR}"/Documentation/.
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
udevadm hwdb --update --root="${ROOT}"
|
||||
}
|
@ -0,0 +1,40 @@
|
||||
https://github.com/RadeonOpenCompute/ROCm-OpenCL-Driver/pull/88
|
||||
|
||||
From f49ad81e246f1c196cf86f40cf44dfedec0675f1 Mon Sep 17 00:00:00 2001
|
||||
From: Mike Lothain <mike@fireburn.co.uk>
|
||||
Date: Tue, 27 Aug 2019 11:32:47 +0100
|
||||
Subject: [PATCH] Include more link libraries
|
||||
|
||||
This is required to get dev-libs/rocm-opencl-driver-2.7.0 compiling for me on Gentoo
|
||||
|
||||
I think it might be related to using -Wl,--as-needed in my link flags globally
|
||||
---
|
||||
src/driver/CMakeLists.txt | 5 +++++
|
||||
1 file changed, 5 insertions(+)
|
||||
|
||||
diff --git a/src/driver/CMakeLists.txt b/src/driver/CMakeLists.txt
|
||||
index 55ed13f..b93356d 100644
|
||||
--- a/src/driver/CMakeLists.txt
|
||||
+++ b/src/driver/CMakeLists.txt
|
||||
@@ -60,9 +60,13 @@ llvm_map_components_to_libnames(llvm_libs
|
||||
AllTargetsDescs
|
||||
AllTargetsDisassemblers
|
||||
AllTargetsInfos
|
||||
+ BitWriter
|
||||
CodeGen
|
||||
+ IRReader
|
||||
+ Linker
|
||||
MC
|
||||
MCDisassembler
|
||||
+ MCParser
|
||||
Object
|
||||
Symbolize
|
||||
Core
|
||||
@@ -83,6 +87,7 @@ target_link_libraries(opencl_driver
|
||||
clangLex
|
||||
clangBasic
|
||||
clangCodeGen
|
||||
+ clangSerialization
|
||||
lldELF
|
||||
lldCore
|
||||
LLVMDebugInfoDWARF
|
@ -1,3 +1,2 @@
|
||||
DIST weston-3.0.0.tar.xz 1300340 BLAKE2B 38b46ecca03ffee7832a561348cb1d6604db7e0add8b5629141ce61593ae250625d71c6716f02296157ea5a61764ff10561fa7ffc8f3c1426a4c86589b13b5c3 SHA512 b824c39f2a884f6d50d607613f447090621f684c96f7d905f25f6e500dabd03ecb2b1cd1030babc193c3417223cb220103abb792437e1a5ead7229a76b5c7a58
|
||||
DIST weston-6.0.1.tar.xz 1522600 BLAKE2B 58318cc70bc935886141107d2be9cda8113b50723bb0893f9ada9e2469461a8ce84acd2796b052b6974439ce4ebae329b183761dcacae7137e0a64ac61cebe47 SHA512 3da04ff9b884480ce0824950347185e55584e3938021fe62014423d3d51577eafdda8de650a5de6eb37a842130c9cb14c7a952a560f6be93ff973164363af3d9
|
||||
DIST weston-6.0.93.tar.bz2 1180746 BLAKE2B 47768ad3b2901ead6fe167cf4453c99537c7795568966893f39356f614b85a813daab4b3a8d33fe4752063dbb45b5777cdd7efee784f9fbec40bda70a9cbb9c4 SHA512 3fb6d06c8fc5d8e5d3f6306f278a1227230f9ba47120475278b8cfbeee6da168834ce2c7ab25f52b382b315febf424f355cf92315c6aafbf7626522b4df4de19
|
||||
DIST weston-7.0.0.tar.xz 1086028 BLAKE2B 84bd16b9d9b191be79bd58a2eecf189971f859edd922245df426ef7871533f5e2a99d484a91241953d182047a6d70d9ee64e8754ea7638637aaf777e4382e793 SHA512 fa14467ab89fb12175830d9cf29d89dc04899fd21d801e60e85836e8e52e17e144be78098b3eedfab6c51b7fb055ecfabb456a8a74f4e40485134da59ac58ea3
|
||||
|
@ -1,142 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
if [[ ${PV} = 9999* ]]; then
|
||||
EGIT_REPO_URI="https://gitlab.freedesktop.org/wayland/weston.git"
|
||||
GIT_ECLASS="git-r3"
|
||||
EXPERIMENTAL="true"
|
||||
fi
|
||||
|
||||
inherit meson readme.gentoo-r1 toolchain-funcs xdg-utils $GIT_ECLASS
|
||||
|
||||
DESCRIPTION="Wayland reference compositor"
|
||||
HOMEPAGE="https://wayland.freedesktop.org/ https://gitlab.freedesktop.org/wayland/weston"
|
||||
|
||||
if [[ $PV = 9999* ]]; then
|
||||
SRC_URI="${SRC_PATCHES}"
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="https://wayland.freedesktop.org/releases/${P}.tar.xz"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="MIT CC-BY-SA-3.0"
|
||||
SLOT="0"
|
||||
|
||||
IUSE="colord +desktop +drm editor examples fbdev fullscreen +gles2 headless ivi jpeg +launch lcms rdp remoting +resize-optimization screen-sharing static-libs +suid systemd test wayland-compositor webp +X xwayland"
|
||||
|
||||
REQUIRED_USE="
|
||||
colord? ( lcms )
|
||||
drm? ( gles2 )
|
||||
screen-sharing? ( rdp )
|
||||
test? ( desktop headless xwayland )
|
||||
wayland-compositor? ( gles2 )
|
||||
|| ( drm fbdev headless rdp wayland-compositor X )
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/libinput-0.8.0
|
||||
>=dev-libs/wayland-1.17.0
|
||||
>=dev-libs/wayland-protocols-1.17
|
||||
lcms? ( media-libs/lcms:2 )
|
||||
media-libs/libpng:0=
|
||||
webp? ( media-libs/libwebp:0= )
|
||||
jpeg? ( virtual/jpeg:0= )
|
||||
>=x11-libs/cairo-1.11.3
|
||||
>=x11-libs/libdrm-2.4.68
|
||||
>=x11-libs/libxkbcommon-0.5.0
|
||||
>=x11-libs/pixman-0.25.2
|
||||
x11-misc/xkeyboard-config
|
||||
fbdev? (
|
||||
>=sys-libs/mtdev-1.1.0
|
||||
>=virtual/udev-136
|
||||
)
|
||||
colord? ( >=x11-misc/colord-0.1.27 )
|
||||
drm? (
|
||||
>=media-libs/mesa-17.1[gbm]
|
||||
>=sys-libs/mtdev-1.1.0
|
||||
>=virtual/udev-136
|
||||
)
|
||||
editor? ( x11-libs/pango )
|
||||
gles2? (
|
||||
media-libs/mesa[gles2,wayland]
|
||||
)
|
||||
rdp? ( >=net-misc/freerdp-2.0.0_rc2:= )
|
||||
remoting? (
|
||||
media-libs/gstreamer:1.0
|
||||
media-libs/gst-plugins-base:1.0
|
||||
)
|
||||
systemd? (
|
||||
sys-auth/pambase[systemd]
|
||||
>=sys-apps/dbus-1.6
|
||||
>=sys-apps/systemd-209[pam]
|
||||
)
|
||||
launch? ( sys-auth/pambase )
|
||||
X? (
|
||||
>=x11-libs/libxcb-1.9
|
||||
x11-libs/libX11
|
||||
)
|
||||
xwayland? (
|
||||
x11-base/xorg-server[wayland]
|
||||
x11-libs/cairo[xcb]
|
||||
>=x11-libs/libxcb-1.9
|
||||
x11-libs/libXcursor
|
||||
)
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
$(meson_use drm backend-drm)
|
||||
-Dbackend-drm-screencast-vaapi=false
|
||||
$(meson_use headless backend-headless)
|
||||
$(meson_use rdp backend-rdp)
|
||||
$(meson_use screen-sharing screenshare)
|
||||
$(meson_use wayland-compositor backend-wayland)
|
||||
$(meson_use X backend-x11)
|
||||
$(meson_use fbdev backend-fbdev)
|
||||
-Dbackend-default=auto
|
||||
$(meson_use gles2 renderer-gl)
|
||||
$(meson_use launch weston-launch)
|
||||
$(meson_use xwayland)
|
||||
$(meson_use systemd)
|
||||
$(meson_use remoting)
|
||||
$(meson_use desktop shell-desktop)
|
||||
$(meson_use fullscreen shell-fullscreen)
|
||||
$(meson_use ivi shell-ivi)
|
||||
$(meson_use lcms color-management-lcms)
|
||||
$(meson_use colord color-management-colord)
|
||||
$(meson_use systemd launcher-logind)
|
||||
$(meson_use jpeg image-jpeg)
|
||||
$(meson_use webp image-webp)
|
||||
-Dtools=debug,info,terminal
|
||||
-Dsimple-dmabuf-drm=auto
|
||||
$(meson_use examples demo-clients)
|
||||
$(usex examples -Dsimple-clients=damage,dmabuf-v4l,im,shm,touch$(usex gles2 ,dmabuf-egl,egl "") "")
|
||||
$(meson_use resize-optimization resize-pool)
|
||||
-Dtest-junit-xml=false
|
||||
"${myconf[@]}"
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
xdg_environment_reset
|
||||
|
||||
# devices test usually fails.
|
||||
cd "${BUILD_DIR}" || die
|
||||
meson test $(meson test --list | grep -Fxv devices) || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
if use launch && use suid; then
|
||||
chmod u+s "${ED}"/usr/bin/weston-launch || die
|
||||
fi
|
||||
readme.gentoo_create_doc
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PEAR_PV=${PV/_beta/b}
|
||||
|
||||
inherit php-pear-r2
|
||||
|
||||
DESCRIPTION="Database Abstraction Layer"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
IUSE="mssql mysql mysqli oci8 oci8-instant-client postgres sqlite"
|
||||
|
||||
RDEPEND=">=dev-php/PEAR-PEAR-1.9.1"
|
||||
|
||||
PDEPEND="mssql? ( >=dev-php/PEAR-MDB2_Driver_mssql-1.3.0_beta4 )
|
||||
mysql? ( >=dev-php/PEAR-MDB2_Driver_mysqli-1.5.0_beta4 )
|
||||
mysqli? ( >=dev-php/PEAR-MDB2_Driver_mysqli-1.5.0_beta4 )
|
||||
oci8? ( >=dev-php/PEAR-MDB2_Driver_oci8-1.5.0_beta4 )
|
||||
oci8-instant-client? ( >=dev-php/PEAR-MDB2_Driver_oci8-1.5.0_beta4 )
|
||||
postgres? ( >=dev-php/PEAR-MDB2_Driver_pgsql-1.5.0_beta4 )"
|
||||
|
||||
DOCS=( docs/CONTRIBUTORS docs/MAINTAINERS docs/README docs/STATUS docs/TODO )
|
||||
HTML_DOCS=( docs/datatypes.html)
|
@ -1,2 +1,2 @@
|
||||
DIST twig-1.40.1.tar.gz 274081 BLAKE2B 0e73bd9fff58677446ba03ed560bff17c1879192b79cca9f718ccd330e1eac64ee1195d7034fa52ec009e323868d1cc1bedc182e90f0a77c8b54d6aa16022554 SHA512 de174e5dd14562a155515a3238aa07ef5a22c3bf0eff8ecc320f1a972e56f1ec759a53ee24579c6434e286b3775044e88c753fd08930037314b45c9577b310b1
|
||||
DIST twig-1.42.2.tar.gz 277760 BLAKE2B c72462b172f1cda85ca8a7988870e20abf09bdc6114eb428213508fcf9c19a2b10e180e8fa052b8e51e8aee749c7c0ded936e5792ca1f8b5c7024872335df3fb SHA512 17ccfcea750d9d9154841598b34de8882aa1144696d912c8175b1add996db4f31b3cb85bc68dc75f62944fe858345811ebbf952aabb0c3ff8c1bbc2a0f1a2576
|
||||
DIST twig-1.42.3.tar.gz 278164 BLAKE2B 4bff9f7f85ce8ca00871e9342ec11a68d4b930f7761bc7404f504322483d328570e9e540e2518b5e1ad513002ce95686b7a1a47ff7aa4b28c16b2871ba759b01 SHA512 9dc892d80445f9fa9a3bde5cfdc49f2975a43f36123c1f4bbbb40740269e9aa4355d0d8668552e535f74a8ff27cc8ee1dc6983b50567993c1deab09569a7c5e3
|
||||
|
@ -1,16 +0,0 @@
|
||||
--- a/lib/Twig/Autoloader.php 2019-04-29 16:12:28.000000000 +0200
|
||||
+++ b/lib/Twig/Autoloader.php.new 2019-05-06 21:37:39.955238245 +0200
|
||||
@@ -43,9 +43,11 @@
|
||||
return;
|
||||
}
|
||||
|
||||
- if (is_file($file = __DIR__.'/../'.str_replace(['_', "\0"], ['/', ''], $class).'.php')) {
|
||||
+ if (is_file($file = __DIR__.'/../'.str_replace(['Twig_', "\0"], ['lib/', ''], $class).'.php')) {
|
||||
require $file;
|
||||
- } elseif (is_file($file = __DIR__.'/../../src/'.str_replace(['Twig\\', '\\', "\0"], ['', '/', ''], $class).'.php')) {
|
||||
+ } elseif (is_file($file = __DIR__.'/../'.str_replace(['_', "\0"], ['/', ''], $class).'.php')) {
|
||||
+ require $file;
|
||||
+ } elseif (is_file($file = __DIR__.'/../src/'.str_replace(['Twig\\', '\\', "\0"], ['', '/', ''], $class).'.php')) {
|
||||
require $file;
|
||||
}
|
||||
}
|
@ -1,87 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
MY_PN="Twig"
|
||||
USE_PHP="php5-6"
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
PHP_EXT_S="${S}/ext/${PN}"
|
||||
PHP_EXT_NAME="${PN}"
|
||||
PHP_EXT_OPTIONAL_USE="extension"
|
||||
|
||||
inherit eutils php-ext-source-r3
|
||||
|
||||
DESCRIPTION="PHP templating engine with syntax similar to Django"
|
||||
HOMEPAGE="http://twig.sensiolabs.org/"
|
||||
SRC_URI="https://github.com/twigphp/${MY_PN}/archive/v${PV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc extension test"
|
||||
|
||||
DEPEND="test? ( dev-php/phpunit )"
|
||||
|
||||
# We always require *some* version of PHP; the eclass (conditionally)
|
||||
# requires *specific* versions.
|
||||
RDEPEND="dev-lang/php"
|
||||
|
||||
src_prepare(){
|
||||
# We need to call eapply_user ourselves, because it may be skipped
|
||||
# if either the "extension" USE flag is not set, or if the user's
|
||||
# PHP_TARGETS is essentially empty (does not contain "php5-6"). In
|
||||
# the latter case, the eclass src_prepare does nothing. We only call
|
||||
# the eclass phase conditionally because the correct version of
|
||||
# e.g. "phpize" may not be there unless USE=extension is set.
|
||||
epatch "${FILESDIR}/${PV}-autoloader-path.patch"
|
||||
eapply_user
|
||||
use extension && php-ext-source-r3_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# The eclass phase will try to run the ./configure script even if it
|
||||
# doesn't exist (in contrast to the default src_configure), so we
|
||||
# need to skip it if the eclass src_prepare (that creates said
|
||||
# script) is not run.
|
||||
use extension && php-ext-source-r3_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Avoids the same problem as in src_configure.
|
||||
use extension && php-ext-source-r3_src_compile
|
||||
}
|
||||
|
||||
src_install(){
|
||||
use extension && php-ext-source-r3_src_install
|
||||
|
||||
cd "${S}" || die
|
||||
# The autoloader requires the 'T' in "Twig" capitalized.
|
||||
insinto "/usr/share/php/${MY_PN}/lib"
|
||||
doins -r lib/"${MY_PN}"/*
|
||||
insinto "/usr/share/php/${MY_PN}/src"
|
||||
doins -r src/*
|
||||
insinto "/usr/share/php/${MY_PN}"
|
||||
dosym "lib/Autoloader.php" "/usr/share/php/${MY_PN}/Autoloader.php"
|
||||
|
||||
# The eclass src_install calls einstalldocs, so we may install a few
|
||||
# files twice. Doing so should be harmless.
|
||||
dodoc README.rst CHANGELOG
|
||||
|
||||
# This installs the reStructuredText source documents. There's got
|
||||
# to be some way to turn them into HTML using Sphinx, but upstream
|
||||
# doesn't provide for it.
|
||||
use doc && dodoc -r doc
|
||||
}
|
||||
|
||||
src_test(){
|
||||
phpunit --bootstrap test/bootstrap.php || die "test suite failed"
|
||||
}
|
||||
|
||||
pkg_postinst(){
|
||||
elog "${PN} has been installed in /usr/share/php/${MY_PN}/."
|
||||
elog "To use it in a script, require('${MY_PN}/Autoloader.php'),"
|
||||
elog "and then run \"Twig_Autoloader::register();\". Most of"
|
||||
elog "the examples in the documentation should work without"
|
||||
elog "further modification."
|
||||
}
|
@ -1,86 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
MY_PN="Twig"
|
||||
USE_PHP="php5-6"
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
PHP_EXT_S="${S}/ext/${PN}"
|
||||
PHP_EXT_NAME="${PN}"
|
||||
PHP_EXT_OPTIONAL_USE="extension"
|
||||
|
||||
inherit eutils php-ext-source-r3
|
||||
|
||||
DESCRIPTION="PHP templating engine with syntax similar to Django"
|
||||
HOMEPAGE="http://twig.sensiolabs.org/"
|
||||
SRC_URI="https://github.com/twigphp/${MY_PN}/archive/v${PV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc extension test"
|
||||
|
||||
DEPEND="test? ( dev-php/phpunit )"
|
||||
|
||||
# We always require *some* version of PHP; the eclass (conditionally)
|
||||
# requires *specific* versions.
|
||||
RDEPEND="dev-lang/php"
|
||||
|
||||
src_prepare(){
|
||||
# We need to call eapply_user ourselves, because it may be skipped
|
||||
# if either the "extension" USE flag is not set, or if the user's
|
||||
# PHP_TARGETS is essentially empty (does not contain "php5-6"). In
|
||||
# the latter case, the eclass src_prepare does nothing. We only call
|
||||
# the eclass phase conditionally because the correct version of
|
||||
# e.g. "phpize" may not be there unless USE=extension is set.
|
||||
eapply_user
|
||||
use extension && php-ext-source-r3_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# The eclass phase will try to run the ./configure script even if it
|
||||
# doesn't exist (in contrast to the default src_configure), so we
|
||||
# need to skip it if the eclass src_prepare (that creates said
|
||||
# script) is not run.
|
||||
use extension && php-ext-source-r3_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Avoids the same problem as in src_configure.
|
||||
use extension && php-ext-source-r3_src_compile
|
||||
}
|
||||
|
||||
src_install(){
|
||||
use extension && php-ext-source-r3_src_install
|
||||
|
||||
cd "${S}" || die
|
||||
# The autoloader requires the 'T' in "Twig" capitalized.
|
||||
insinto "/usr/share/php/${MY_PN}/lib"
|
||||
doins -r lib/*
|
||||
insinto "/usr/share/php/${MY_PN}/src"
|
||||
doins -r src/*
|
||||
insinto "/usr/share/php/${MY_PN}"
|
||||
#dosym "lib/Autoloader.php" "/usr/share/php/${MY_PN}/Autoloader.php"
|
||||
|
||||
# The eclass src_install calls einstalldocs, so we may install a few
|
||||
# files twice. Doing so should be harmless.
|
||||
dodoc README.rst CHANGELOG
|
||||
|
||||
# This installs the reStructuredText source documents. There's got
|
||||
# to be some way to turn them into HTML using Sphinx, but upstream
|
||||
# doesn't provide for it.
|
||||
use doc && dodoc -r doc
|
||||
}
|
||||
|
||||
src_test(){
|
||||
phpunit --bootstrap test/bootstrap.php || die "test suite failed"
|
||||
}
|
||||
|
||||
pkg_postinst(){
|
||||
elog "${PN} has been installed in /usr/share/php/${MY_PN}/."
|
||||
elog "To use it in a script, require('${MY_PN}/Autoloader.php'),"
|
||||
elog "and then run \"Twig_Autoloader::register();\". Most of"
|
||||
elog "the examples in the documentation should work without"
|
||||
elog "further modification."
|
||||
}
|
@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
MY_PN="Twig"
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="PHP templating engine with syntax similar to Django"
|
||||
HOMEPAGE="http://twig.sensiolabs.org/"
|
||||
SRC_URI="https://github.com/twigphp/${MY_PN}/archive/v${PV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc test"
|
||||
|
||||
RDEPEND="dev-lang/php:*[ctype] dev-php/fedora-autoloader"
|
||||
DEPEND="test? ( dev-php/phpunit ${RDEPEND} )"
|
||||
# Test fail due to missing Symphony dependencies
|
||||
RESTRICT="test"
|
||||
|
||||
src_install(){
|
||||
# The autoloader requires the 'T' in "Twig" capitalized.
|
||||
insinto "/usr/share/php/${MY_PN}/lib"
|
||||
doins -r lib/"${MY_PN}"/*
|
||||
insinto "/usr/share/php/${MY_PN}/src"
|
||||
doins -r src/*
|
||||
insinto "/usr/share/php/${MY_PN}"
|
||||
doins "${FILESDIR}/Autoloader.php"
|
||||
|
||||
dodoc README.rst CHANGELOG
|
||||
|
||||
# This installs the reStructuredText source documents. There's got
|
||||
# to be some way to turn them into HTML using Sphinx, but upstream
|
||||
# doesn't provide for it.
|
||||
use doc && dodoc -r doc
|
||||
}
|
||||
|
||||
src_test(){
|
||||
cp "${FILESDIR}/Autoloader.php" "${S}" || die
|
||||
phpunit --bootstrap Autoloader.php || die "test suite failed"
|
||||
rm "${S}/Autoloader.php" || die
|
||||
}
|
||||
|
||||
pkg_postinst(){
|
||||
elog "${PN} has been installed in /usr/share/php/${MY_PN}/."
|
||||
elog "To use it in a script, require('${MY_PN}/Autoloader.php')"
|
||||
}
|
Binary file not shown.
@ -1,2 +1,4 @@
|
||||
DIST Flask-0.12.2.tar.gz 548510 BLAKE2B bd92d0e7e6ff36d371ffd958708517d16e41d1475af9153bf3d5234c33aa5c0ab415cbd254b711731cf8cffddac94b475f62d9fff2f9fe756b0fa30bb36d4343 SHA512 c00bb807e8fbc943e23a3721acf5b04320e7a58d658bca46bdf83a345b4c4d5729accae338505e134f01bc908adec9555fd94e8c87ef6f0367e6037215c06319
|
||||
DIST Flask-1.0.2.tar.gz 644534 BLAKE2B dd024f6f7a68691c759e3fd494a9482c4ab5216b5c7486fc1717346f953678c3198deedd657e7ddd3a5deff57ce31b1afdc40ef2ba9cc2fbed48f3afc223f6d0 SHA512 0ddf5d8bb0b0ae61f990096dffe3cf02744d7986015d05ae2cc09dfe0def17df44e2a4c58e330d17c7bd8c3eb74014dee5e2edef6e300b8e4ed756c251938f52
|
||||
DIST Flask-1.0.4.tar.gz 615497 BLAKE2B 4141de3754a8ce42c6978a72da80c991d13415a19946180f5fd8f08a1827209be605ec10283b78841bee94c5a2036b8e6083187a3e68c188fde93cb702a6d645 SHA512 2ed45ebdef80fe354a0a221f991560e17c442550f667fb76dd9c9631428fe8b6686127504f4ee81fcc6748f99cd376bed7a1ff4e0a9ae913cd70c9f5f4ac1c61
|
||||
DIST Flask-1.1.1.tar.gz 625458 BLAKE2B aea56848dd1f8bb2d96059adf069f8d19c55395e5dd0d98bf4e89c7d1b54241f1f476cbf7fdb91a2390cb5438a3bd7a5bdb58383f2a196b042e90f272cb39e53 SHA512 d4e6304bdb2e20deda5b9800dc9ebeabf0442528d6cef2d15416129c151b25ab32c41460939f64fb72b15ead8d4e9bcea5694039323d080d279bfba2f6266178
|
||||
|
@ -0,0 +1,57 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{5,6,7} pypy{,3} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A microframework based on Werkzeug, Jinja2 and good intentions"
|
||||
HOMEPAGE="https://github.com/pallets/flask/"
|
||||
MY_PN="Flask"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
EGIT_REPO_URI="https://github.com/mitsuhiko/flask.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
fi
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE="doc examples test"
|
||||
|
||||
RDEPEND="dev-python/click[${PYTHON_USEDEP}]
|
||||
dev-python/blinker[${PYTHON_USEDEP}]
|
||||
dev-python/itsdangerous[${PYTHON_USEDEP}]
|
||||
>=dev-python/jinja-2.10[${PYTHON_USEDEP}]
|
||||
>=dev-python/werkzeug-0.15[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||
test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
|
||||
|
||||
python_prepare_all() {
|
||||
# Prevent un-needed d'loading
|
||||
sed -e "s/ 'sphinx.ext.intersphinx',//" -i docs/conf.py || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C docs html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
PYTHONPATH=${S}/examples/flaskr:${S}/examples/minitwit${PYTHONPATH:+:${PYTHONPATH}} \
|
||||
py.test -v || die "Testing failed with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use examples && dodoc -r examples
|
||||
use doc && HTML_DOCS=( docs/_build/html/. )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -0,0 +1,57 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{5,6,7} pypy{,3} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A microframework based on Werkzeug, Jinja2 and good intentions"
|
||||
HOMEPAGE="https://github.com/pallets/flask/"
|
||||
MY_PN="Flask"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
EGIT_REPO_URI="https://github.com/mitsuhiko/flask.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
fi
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE="doc examples test"
|
||||
|
||||
RDEPEND="dev-python/click[${PYTHON_USEDEP}]
|
||||
dev-python/blinker[${PYTHON_USEDEP}]
|
||||
dev-python/itsdangerous[${PYTHON_USEDEP}]
|
||||
>=dev-python/jinja-2.10[${PYTHON_USEDEP}]
|
||||
>=dev-python/werkzeug-0.15[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||
test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
|
||||
|
||||
python_prepare_all() {
|
||||
# Prevent un-needed d'loading
|
||||
sed -e "s/ 'sphinx.ext.intersphinx',//" -i docs/conf.py || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C docs html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
PYTHONPATH=${S}/examples/flaskr:${S}/examples/minitwit${PYTHONPATH:+:${PYTHONPATH}} \
|
||||
py.test -v || die "Testing failed with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use examples && dodoc -r examples
|
||||
use doc && HTML_DOCS=( docs/_build/html/. )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST Werkzeug-0.12.2.tar.gz 1169770 BLAKE2B 12e7e422e7dae0ab2fc3cc52f80536362dea8edd61cdaec45a6cca35b789d731408e10cc46288b0c5c22138e20e9d52a88c2db78d22a215d5ab4bb9477526fcc SHA512 9ff45aeb51a71fd5115e8cdee40a7b2fddfa0574c356686050cb1bdced5c6c18f672b601ca2637010c7f59be75c66ee558efb4ea05052c550ec7da3644b88e0a
|
||||
DIST Werkzeug-0.14.1.tar.gz 1185546 BLAKE2B 4c358688752adce870e8b44ffede56e44ab26990f12c98cc75a7c7e0d40b1f39f4208237ed26a2acb1f78a3359272cb44bab4606c5bca55a5c5f5edfa22c9faa SHA512 64976cc46c1cee2203112c50aba6f9404d4e48d4a90f8b11837148b5415a28572b7e706095586045a46879e853fc5a80c63e7bf0c13eda29d564a37b4a554c0b
|
||||
DIST Werkzeug-0.15.4.tar.gz 925334 BLAKE2B ffb132026e5a43bdbbb6decf19c47b07bb38afe383fc6b769a793f9e72769bdb5a9507918590d485b9a84e8db392202fe985b0cd1fa00e8af17eccbf53bcdaec SHA512 b27b313cb29128ad1a1d0b04be7d1b29eacd4fb8280757510ce662b4f8743e7311966f7fb170531bd5dcb9668e9c6672f0cc0cf53bb4af3ec7328312a88b53ab
|
||||
DIST Werkzeug-0.15.5.tar.gz 926570 BLAKE2B 39d68f7ea2f99ffa60f5a2af7ebf8a01e68a83e32106abd8fcbba3a5402bf6c6c02f7bb9b84cd483aa061bb065a0f2f6d809db55a2f6950996d70cf62a620520 SHA512 e2980b649db0c246fa87b94972f1a1e00b19f20a90e34733267cb50b0d1c8e83701f4bde3e466f9f12243c47b3cc40c6977e63164f18ee5e518b75e952988edd
|
||||
|
@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{5,6,7} pypy pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN="Werkzeug"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="Collection of various utilities for WSGI applications"
|
||||
HOMEPAGE="http://werkzeug.pocoo.org/ https://pypi.org/project/Werkzeug/ https://github.com/pallets/werkzeug"
|
||||
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="dev-python/simplejson[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-xprocess[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
python_compile() {
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_test() {
|
||||
pytest -vv tests || die "Tests failed under ${EPYTHON}"
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST zipp-0.5.1.tar.gz 10763 BLAKE2B 4f70d6ed94203d4b9fb9127930a07797c3cbfa023e0cd472e9d3a18e1877619dbefee654cd0364592a594b6e9e0aabc813e0560695bb18f8e3a64cb4ce76f0e2 SHA512 d4486ae98159677cd481cddb3bd00d5d2237dc94f0f3129b03994800b0e136c12b05e02d2ca7d628043dabce323f34dd919b9ba731549656802527abdcfea120
|
||||
DIST zipp-0.5.2.tar.gz 10875 BLAKE2B 97e56b8e1cbff2344ee6b385085e6c821d61bd2c2510ac54e50a3f706515f1e22789168c97599787787b47f09dabe55abb594f5724d1d540f62d8d68fc32e36f SHA512 8c84b620844315ab1f1aa3c5bb29dcdf1271a0139198b5c3d6aa31ecb9a86f0dcef963819403d971ae0461c737312c064572c57ecf32d73dc973a5f69cf0375c
|
||||
DIST zipp-0.6.0.tar.gz 10778 BLAKE2B 165ae85f51fe0c0232f6cf2dde70e2d7f8064413c15616d15e1ebd65cfe3c345bbd5b1b9713fa1171cad18015b605862509790bedd734edf5a7d8c80c5378af3 SHA512 18bef5aa3388ab3901bf08888127fc9cc17d8972a52f23ccf9a8035f09ee5598e17ddff833a10b81b2118461e0c517e88413518736763425a728cd0b19cc2052
|
||||
|
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue