diff options
Diffstat (limited to 'dev-util')
| -rw-r--r-- | dev-util/cppunit/cppunit-1.15.1-r2.ebuild | 2 | ||||
| -rw-r--r-- | dev-util/diffoscope/Manifest | 1 | ||||
| -rw-r--r-- | dev-util/diffoscope/diffoscope-168.ebuild | 73 | ||||
| -rw-r--r-- | dev-util/pkgdev/pkgdev-9999.ebuild | 6 | ||||
| -rw-r--r-- | dev-util/spirv-llvm-translator/Manifest | 1 | ||||
| -rw-r--r-- | dev-util/spirv-llvm-translator/spirv-llvm-translator-11.1.0_pre20210212.ebuild | 62 |
6 files changed, 144 insertions, 1 deletions
diff --git a/dev-util/cppunit/cppunit-1.15.1-r2.ebuild b/dev-util/cppunit/cppunit-1.15.1-r2.ebuild index d8fbd01e92c4..5e3684f870d7 100644 --- a/dev-util/cppunit/cppunit-1.15.1-r2.ebuild +++ b/dev-util/cppunit/cppunit-1.15.1-r2.ebuild @@ -12,7 +12,7 @@ if [[ "${PV}" == *9999 ]] ; then EGIT_REPO_URI="https://anongit.freedesktop.org/git/libreoffice/cppunit.git" else SRC_URI="https://dev-www.libreoffice.org/src/${P}.tar.gz" - KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" + KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" fi LICENSE="LGPL-2.1" SLOT="0/1.15" diff --git a/dev-util/diffoscope/Manifest b/dev-util/diffoscope/Manifest index 9e269e7d6b37..3381430b4417 100644 --- a/dev-util/diffoscope/Manifest +++ b/dev-util/diffoscope/Manifest @@ -1 +1,2 @@ DIST diffoscope-167.tar.gz 1569356 BLAKE2B 736da75d81fadc0a93cec4fed761751a9f1c539781d0fb5c1c3b465b2af71480978cd111ea729201b7eb892f23e900a26e99d84d1404cc23a5cc0f49fcd3fd20 SHA512 e5046ffba8ca27f56c2219ac5e6d4cdd0765778fdd71b0221113d65da8724028f2a1daf48ee1676a54c5c534f5e10de5867e9a9f51c10334d23772894f1d65e7 +DIST diffoscope-168.tar.gz 1569627 BLAKE2B ad0dcfeb40b4747877a5b0366706a57fea87229d23b4c7faa43e5dd12d8d950df52f42e74df862c52875e4722f046481ceb7204e74df11ed20188522e9874d9d SHA512 55025ff1a4e7664631d15c980aef46e6db4b22501989b1d58812a18eacb0e8c87028e6bed1599842b1ac072e0797d49a9d0796419a9678956c2f779b8909b6f4 diff --git a/dev-util/diffoscope/diffoscope-168.ebuild b/dev-util/diffoscope/diffoscope-168.ebuild new file mode 100644 index 000000000000..4a1329168b84 --- /dev/null +++ b/dev-util/diffoscope/diffoscope-168.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +PYTHON_REQ_USE="ncurses" +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +DESCRIPTION="Will try to get to the bottom of what makes files or directories different" +HOMEPAGE="https://diffoscope.org/ https://pypi.org/project/diffoscope/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86" +IUSE="acl binutils bzip2 libcaca colord cpio +diff docx dtc e2fsprogs file +find gettext gif gpg gzip haskell hdf5 hex imagemagick iso java llvm +mono opendocument pascal pdf postscript R rpm sqlite squashfs +ssh tar tcpdump xz zip zstd" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +RDEPEND="dev-python/python-magic[${PYTHON_USEDEP}] + dev-python/libarchive-c[${PYTHON_USEDEP}] + dev-python/distro[${PYTHON_USEDEP}] + acl? ( sys-apps/acl ) + binutils? ( sys-devel/binutils ) + bzip2? ( app-arch/bzip2 ) + libcaca? ( media-libs/libcaca ) + colord? ( x11-misc/colord ) + cpio? ( app-arch/cpio ) + diff? ( sys-apps/diffutils ) + docx? ( app-text/docx2txt ) + dtc? ( sys-apps/dtc ) + e2fsprogs? ( sys-fs/e2fsprogs ) + file? ( sys-apps/file ) + find? ( sys-apps/findutils ) + gettext? ( sys-devel/gettext ) + gif? ( media-libs/giflib ) + gpg? ( app-crypt/gnupg ) + gzip? ( app-arch/gzip ) + haskell? ( dev-lang/ghc ) + hdf5? ( sci-libs/hdf5 ) + hex? ( app-editors/vim-core ) + imagemagick? ( media-gfx/imagemagick ) + iso? ( app-cdr/cdrtools ) + java? ( virtual/jdk ) + llvm? ( sys-devel/llvm ) + mono? ( dev-lang/mono ) + opendocument? ( app-text/odt2txt ) + pascal? ( dev-lang/fpc ) + pdf? ( + app-text/pdftk + app-text/poppler + dev-python/PyPDF2[${PYTHON_USEDEP}] + ) + postscript? ( app-text/ghostscript-gpl ) + R? ( dev-lang/R ) + rpm? ( app-arch/rpm ) + sqlite? ( dev-db/sqlite:3 ) + squashfs? ( sys-fs/squashfs-tools ) + ssh? ( net-misc/openssh ) + tar? ( app-arch/tar ) + tcpdump? ( net-analyzer/tcpdump ) + xz? ( app-arch/xz-utils ) + zip? ( app-arch/unzip ) + zstd? ( app-arch/zstd ) +" +# Presence if filemagic's magic.py breaks imports +# of dev-python/python-magic: https://bugs.gentoo.org/716482 +RDEPEND+=" !dev-python/filemagic" diff --git a/dev-util/pkgdev/pkgdev-9999.ebuild b/dev-util/pkgdev/pkgdev-9999.ebuild index 366ada23396b..7d8ef7b73cd4 100644 --- a/dev-util/pkgdev/pkgdev-9999.ebuild +++ b/dev-util/pkgdev/pkgdev-9999.ebuild @@ -22,13 +22,19 @@ LICENSE="BSD MIT" SLOT="0" if [[ ${PV} == *9999 ]] ; then + # https://github.com/pkgcore/pkgdev/blob/main/requirements/dev.txt RDEPEND=" ~dev-python/snakeoil-9999[${PYTHON_USEDEP}] + ~dev-util/pkgcheck-9999[${PYTHON_USEDEP}] + dev-vcs/git ~sys-apps/pkgcore-9999[${PYTHON_USEDEP}] " fi +# Releases (in future): https://github.com/pkgcore/pkgdev/blob/main/requirements/install.txt + distutils_enable_sphinx doc +distutils_enable_tests pytest python_install_all() { # We'll generate man pages ourselves diff --git a/dev-util/spirv-llvm-translator/Manifest b/dev-util/spirv-llvm-translator/Manifest index b369b23a333c..ef6fb666c0d7 100644 --- a/dev-util/spirv-llvm-translator/Manifest +++ b/dev-util/spirv-llvm-translator/Manifest @@ -1,3 +1,4 @@ DIST spirv-llvm-translator-10.0.0.tar.gz 535828 BLAKE2B 0bce2f663b2f70a2db2b1ef0665d627716d63baa6cb47ced532ac2e30e8b0424934d273135581655445ea87f5c84c9df876da0490d7a302a6d00c86b78e05c22 SHA512 d6400bb3e4df780358b5d6d0af889e7654b7dfd472c8d41b77ff98e7ff1bd017c289ecacb59a3dd7bfddb1a5108e21028aa770bf645e06178610bb322de905be DIST spirv-llvm-translator-10.0.0_p20200909.tar.gz 599696 BLAKE2B 9407d0b3ea9f812a06d08b8fec6cecd73fcab5ebd8aaf10c38c7693207f161b4f1eb822e60b42521e3879cd34b95da7d37cec71fb891f8df13dc60783e655c49 SHA512 fe3e4a00d1ae3fd2324379bb92244399b18a4a31b1a2ec6b9bc60eec471a8ce2da7fbe2ea5a0d247590dd7ffb6e620072197a36631f384357e808fc9b96192f5 DIST spirv-llvm-translator-11.0.0.tar.gz 665804 BLAKE2B 826d13107efc28fc72e90761e3f4d5b718d4dda9376ce45a7db7a71494adfd293387ebd1fe473d177fb249ef7aca5b10394e200bf60b5de700ba6699e4199ce6 SHA512 e0f4c2f41d686cb574e1fc56fdebbbf4b40602219a9f941fab4c44cc86347e6f651d2fde2ea0fba81c871826f1e8ee92f07bdac5a7532f66fca25b9ed8354b05 +DIST spirv-llvm-translator-11.1.0_pre20210212.tar.gz 702962 BLAKE2B 0c46b898e2d6c293b1db7b4aa65af7830869329cebc35e930b73f98dc038ae50d6adbdd9c6951e2ad427982d2a565c0925ecd056105cc37222b0d8ce7eb2e43b SHA512 3b8503be3ad65422f59ddbfd715a913dd6dab9416a14aea9e6a6793b2c959edaaab5433a3e253ee84c0b3644024a1f8a6b563af65e7aaad209c5f51e524cc96b diff --git a/dev-util/spirv-llvm-translator/spirv-llvm-translator-11.1.0_pre20210212.ebuild b/dev-util/spirv-llvm-translator/spirv-llvm-translator-11.1.0_pre20210212.ebuild new file mode 100644 index 000000000000..cd852a9e7922 --- /dev/null +++ b/dev-util/spirv-llvm-translator/spirv-llvm-translator-11.1.0_pre20210212.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +CMAKE_ECLASS=cmake + +inherit cmake-multilib flag-o-matic llvm + +EGIT_COMMIT="677b40cdab276a0b15e048f4d6c7d20d8968dfac" +MY_PN="SPIRV-LLVM-Translator" +MY_P="${MY_PN}-${EGIT_COMMIT}" + +DESCRIPTION="Bi-directional translator between SPIR-V and LLVM IR" +HOMEPAGE="https://github.com/KhronosGroup/SPIRV-LLVM-Translator" +SRC_URI="https://github.com/KhronosGroup/${MY_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="UoI-NCSA" +SLOT="11" +KEYWORDS="~amd64" +IUSE="test tools" + +# I have yet to see a non-release spirv-llvm-translator ebuild pass ANY tests. +# This is probably something silly like the test suite expecting different +# directory names but I really can't be bothered to debug VCS snapshots. +RESTRICT="test" + +S="${WORKDIR}/${MY_P}" + +COMMON="sys-devel/clang:11=[${MULTILIB_USEDEP}]" +DEPEND="${COMMON}" +RDEPEND="${COMMON}" +BDEPEND="test? ( dev-python/lit )" + +REQUIRED_USE="test? ( tools )" + +LLVM_MAX_SLOT=11 + +PATCHES=( + "${FILESDIR}"/${PN}-8.0.0.1-no_pkgconfig_files.patch +) + +src_prepare() { + append-flags -fPIC + cmake_src_prepare +} + +multilib_src_configure() { + local mycmakeargs=( + -DCMAKE_INSTALL_PREFIX="$(get_llvm_prefix ${LLVM_MAX_SLOT})" + -DLLVM_BUILD_TOOLS=$(usex tools "ON" "OFF") + $(usex test "-DLLVM_INCLUDE_TESTS=ON" "") + ) + cmake_src_configure +} + +multilib_src_test() { + # Some tests fail on amd64 when ABI==x86 + if multilib_is_native_abi; then + lit "${BUILD_DIR}/test" || die "Error running tests for ABI ${ABI}" + fi +} |
