+++ /dev/null
-diff -Naur pyside-tools-0.2.13.orig/CMakeLists.txt pyside-tools-0.2.13/CMakeLists.txt
---- pyside-tools-0.2.13.orig/CMakeLists.txt 2012-03-09 00:46:56.377462594 +0100
-+++ pyside-tools-0.2.13/CMakeLists.txt 2012-03-09 00:48:08.888556082 +0100
-@@ -11,7 +11,7 @@
- set(pyside_tools_MICRO_VERSION "13")
- set(pyside_tools_VERSION "${pyside_tools_MAJOR_VERSION}.${pyside_tools_MINOR_VERSION}.${pyside_tools_MICRO_VERSION}")
-
--configure_file("pysideuic/__init__.py.in" "__init__.py" @ONLY)
-+configure_file("pysideuic/__init__.py.in" "pysideuic/__init__.py" @ONLY)
-
- option(BUILD_TESTS "Build tests." TRUE)
-
-@@ -34,13 +34,10 @@
- GROUP_EXECUTE GROUP_READ
- WORLD_EXECUTE WORLD_READ)
-
--install(FILES "${CMAKE_CURRENT_BINARY_DIR}/__init__.py"
-- DESTINATION "${SITE_PACKAGE}/pysideuic")
- install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/pysideuic
- DESTINATION ${SITE_PACKAGE}
- PATTERN "*.in" EXCLUDE
-- PATTERN "*pysideuic/__init__.py" EXCLUDE
-- PATTERN "*pysideuic\\__init__.py" EXCLUDE)
-+ PATTERN "*/pysideuic/*.1" EXCLUDE)
-
- # Man pages for pyside-uic
- if (NOT win32)
+++ /dev/null
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-CMAKE_IN_SOURCE_BUILD="1"
-CMAKE_MAKEFILE_GENERATOR="emake" # bug 558248
-
-PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
-
-inherit cmake-utils python-r1 vcs-snapshot virtualx
-
-DESCRIPTION="PySide development tools (lupdate, rcc, uic)"
-HOMEPAGE="http://wiki.qt.io/PySide"
-SRC_URI="https://github.com/PySide/Tools/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="test"
-
-RDEPEND="
- ${PYTHON_DEPS}
- >=dev-python/pyside-1.2.0:${SLOT}[X,${PYTHON_USEDEP}]
- >=dev-python/shiboken-1.2.0:${SLOT}[${PYTHON_USEDEP}]
- dev-qt/qtcore:4
- dev-qt/qtgui:4
-"
-DEPEND="${RDEPEND}
- test? ( virtual/pkgconfig )
-"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-PATCHES=(
- "${FILESDIR}"/0.2.13-fix-pysideuic-test-and-install.patch
-)
-
-src_prepare() {
- cmake-utils_src_prepare
-
- python_copy_sources
-
- preparation() {
- pushd "${BUILD_DIR}" >/dev/null || die
-
- if python_is_python3; then
- rm -fr pysideuic/port_v2 || die
-
- # need to run with -py3 to generate proper python 3 interfaces
- sed -i -e 's:${PYSIDERCC_EXECUTABLE}:"${PYSIDERCC_EXECUTABLE} -py3":' \
- tests/rcc/CMakeLists.txt || die
- else
- rm -fr pysideuic/port_v3 || die
- fi
-
- sed -i -e "/pkg-config/ s:shiboken:&-${EPYTHON}:" \
- tests/rcc/run_test.sh || die
-
- popd >/dev/null || die
- }
- python_foreach_impl preparation
-}
-
-src_configure() {
- configuration() {
- local mycmakeargs=(
- -DPYTHON_BASENAME="-${EPYTHON}"
- -DPYTHON_SUFFIX="-${EPYTHON}"
- -DBUILD_TESTS=$(usex test)
- )
- CMAKE_USE_DIR="${BUILD_DIR}" cmake-utils_src_configure
- }
- python_foreach_impl configuration
-}
-
-src_compile() {
- compilation() {
- CMAKE_USE_DIR="${BUILD_DIR}" cmake-utils_src_make
- }
- python_foreach_impl compilation
-}
-
-src_test() {
- testing() {
- CMAKE_USE_DIR="${BUILD_DIR}" virtx cmake-utils_src_test
- }
- python_foreach_impl testing
-}
-
-src_install() {
- installation() {
- CMAKE_USE_DIR="${BUILD_DIR}" cmake-utils_src_install DESTDIR="${D}"
- }
- python_foreach_impl installation
-}
# Use dev-libs/memcached istead. Removal in 30 days.
dev-libs/libmemcache
-# Andreas Sturmlechner <asturm@gentoo.org> (10 May 2018)
-# Depends on dead Qt4. Masked for removal in 30 days.
-dev-python/pyside-tools:0
-
# Hans de Graaff <graaff@gentoo.org> (7 May 2018)
# Old slots that are ruby23-only and no longer maintained
# upstream, and that do not have packages depend on them.