cadquery: version bump
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
DIST PyQt5_gpl-5.9.2.tar.gz 3102848 SHA256 c190dac598c97b0113ca5e7a37c71c623f02d1d713088addfacac4acfa4b8394 SHA512 5af2e65addaed7dd02d8dbf7a7c63767e565fc8edeb7b51e5991a00cda29f75b666529097646e821aaff556f350a929fd451f548bba76e97355b7fe10bd913bc WHIRLPOOL 9c982610dfdd1584803bb6d0deb1f3537f65abeaf0b0588f8f5c9dcdd631fa11bd5731cdd1a2b82bb2c7ab238f741c5610af72138c3341bf2fc77bfc1fcce664
|
||||
EBUILD PyQt5-5.9.2.ebuild 5687 SHA256 c48455768e77b80e82e3e4e71cde92c1957bf94b27f38ec12e9b25e78b08bdaa SHA512 d71ebc7f8f90b4e80566a31b8eca0a291f51aeef5cc66f8c860581e69ca70131339606f917e9a1f0e99beb5132796721bc9033667c977ca4a92023be5c5bca8c WHIRLPOOL 93daf7b232a0fbb6ee5cff30d00c0334f8ebb136c150d0a882f10fa07084db5217deec1c49b80378b48fd9d353784f2172cb0568bfa36bb1c12757f3e7f13f35
|
||||
MISC metadata.xml 2458 SHA256 76c968147d7a2e8135e38306261729f31498e340584f4442b119b0a46b5f3bd0 SHA512 8554c97aeb873a2a7e1d50b8aacc3638a87fdc0fdc367d61123b63bd506b1376873d88a967773e8f1050f0e8c35ae180d61c7eb2c213c345e5b17a3c0e4c7df8 WHIRLPOOL 2731d8a5af652bc6b372b12ed8ee714487abc542a2a1673a80b97110f800f453fcbd648124742a17463da6abb586359601016b70b2006bd8d68604e031b4bf5d
|
||||
@@ -1,198 +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} )
|
||||
|
||||
inherit multibuild python-r1 qmake-utils
|
||||
|
||||
DESCRIPTION="Python bindings for the Qt framework"
|
||||
HOMEPAGE="https://www.riverbankcomputing.com/software/pyqt/intro"
|
||||
|
||||
MY_P=${PN}_gpl-${PV/_pre/.dev}
|
||||
if [[ ${PV} == *_pre* ]]; then
|
||||
SRC_URI="https://dev.gentoo.org/~pesa/distfiles/${MY_P}.tar.xz"
|
||||
else
|
||||
SRC_URI="mirror://sourceforge/pyqt/${MY_P}.tar.gz"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86"
|
||||
|
||||
# TODO: QtNfc
|
||||
IUSE="bluetooth dbus debug declarative designer examples gles2 gui help location
|
||||
multimedia network opengl positioning printsupport sensors serialport sql svg
|
||||
testlib webchannel webengine webkit websockets widgets x11extras xmlpatterns"
|
||||
|
||||
# The requirements below were extracted from configure.py
|
||||
# and from the output of 'grep -r "%Import " "${S}"/sip'
|
||||
REQUIRED_USE="
|
||||
${PYTHON_REQUIRED_USE}
|
||||
bluetooth? ( gui )
|
||||
declarative? ( gui network )
|
||||
designer? ( widgets )
|
||||
help? ( gui widgets )
|
||||
location? ( positioning )
|
||||
multimedia? ( gui network )
|
||||
opengl? ( gui widgets )
|
||||
positioning? ( gui )
|
||||
printsupport? ( gui widgets )
|
||||
sensors? ( gui )
|
||||
serialport? ( gui )
|
||||
sql? ( widgets )
|
||||
svg? ( gui widgets )
|
||||
testlib? ( widgets )
|
||||
webchannel? ( network )
|
||||
webengine? ( network widgets? ( printsupport webchannel ) )
|
||||
webkit? ( gui network printsupport widgets )
|
||||
websockets? ( network )
|
||||
widgets? ( gui )
|
||||
xmlpatterns? ( network )
|
||||
"
|
||||
|
||||
# Minimal supported version of Qt.
|
||||
QT_PV="5.9.3:5"
|
||||
|
||||
RDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
>=dev-python/sip-4.19.6:=[${PYTHON_USEDEP}]
|
||||
>=dev-qt/qtcore-${QT_PV}
|
||||
>=dev-qt/qtxml-${QT_PV}
|
||||
bluetooth? ( >=dev-qt/qtbluetooth-${QT_PV} )
|
||||
dbus? (
|
||||
dev-python/dbus-python[${PYTHON_USEDEP}]
|
||||
>=dev-qt/qtdbus-${QT_PV}
|
||||
)
|
||||
declarative? ( >=dev-qt/qtdeclarative-${QT_PV}[widgets?] )
|
||||
designer? ( >=dev-qt/designer-${QT_PV} )
|
||||
gui? ( >=dev-qt/qtgui-${QT_PV}[gles2=] )
|
||||
help? ( >=dev-qt/qthelp-${QT_PV} )
|
||||
location? ( >=dev-qt/qtlocation-${QT_PV} )
|
||||
multimedia? ( >=dev-qt/qtmultimedia-${QT_PV}[widgets?] )
|
||||
network? ( >=dev-qt/qtnetwork-${QT_PV} )
|
||||
opengl? ( >=dev-qt/qtopengl-${QT_PV} )
|
||||
positioning? ( >=dev-qt/qtpositioning-${QT_PV} )
|
||||
printsupport? ( >=dev-qt/qtprintsupport-${QT_PV} )
|
||||
sensors? ( >=dev-qt/qtsensors-${QT_PV} )
|
||||
serialport? ( >=dev-qt/qtserialport-${QT_PV} )
|
||||
sql? ( >=dev-qt/qtsql-${QT_PV} )
|
||||
svg? ( >=dev-qt/qtsvg-${QT_PV} )
|
||||
testlib? ( >=dev-qt/qttest-${QT_PV} )
|
||||
webchannel? ( >=dev-qt/qtwebchannel-${QT_PV} )
|
||||
webengine? ( >=dev-qt/qtwebengine-${QT_PV}[widgets?] )
|
||||
webkit? ( >=dev-qt/qtwebkit-5.9:5[printsupport] )
|
||||
websockets? ( >=dev-qt/qtwebsockets-${QT_PV} )
|
||||
widgets? ( >=dev-qt/qtwidgets-${QT_PV} )
|
||||
x11extras? ( >=dev-qt/qtx11extras-${QT_PV} )
|
||||
xmlpatterns? ( >=dev-qt/qtxmlpatterns-${QT_PV} )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dbus? ( virtual/pkgconfig )
|
||||
"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
DOCS=( "${S}"/{ChangeLog,NEWS} )
|
||||
|
||||
pyqt_use_enable() {
|
||||
use "$1" || return
|
||||
|
||||
if [[ $# -eq 1 ]]; then
|
||||
echo --enable=Qt$(tr 'a-z' 'A-Z' <<< ${1:0:1})${1:1}
|
||||
else
|
||||
shift
|
||||
echo ${@/#/--enable=}
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
configuration() {
|
||||
# Fix out-of-source build
|
||||
ln -s "${S}"/config-tests || die
|
||||
|
||||
local myconf=(
|
||||
"${PYTHON}"
|
||||
"${S}"/configure.py
|
||||
$(usex debug '--debug --qml-debug --trace' '')
|
||||
--verbose
|
||||
--confirm-license
|
||||
--qmake="$(qt5_get_bindir)"/qmake
|
||||
--bindir="${EPREFIX}/usr/bin"
|
||||
--destdir="$(python_get_sitedir)"
|
||||
--sip-incdir="$(python_get_includedir)"
|
||||
--qsci-api
|
||||
--enable=QtCore
|
||||
--enable=QtXml
|
||||
$(pyqt_use_enable bluetooth)
|
||||
$(pyqt_use_enable dbus QtDBus)
|
||||
$(usex dbus '' --no-python-dbus)
|
||||
$(pyqt_use_enable declarative QtQml QtQuick $(usex widgets QtQuickWidgets ''))
|
||||
$(usex declarative '' --no-qml-plugin)
|
||||
$(pyqt_use_enable designer)
|
||||
$(usex designer '' --no-designer-plugin)
|
||||
$(pyqt_use_enable gui)
|
||||
$(pyqt_use_enable gui $(use gles2 && echo _QOpenGLFunctions_ES2 || echo _QOpenGLFunctions_{2_0,2_1,4_1_Core}))
|
||||
$(pyqt_use_enable help)
|
||||
$(pyqt_use_enable location)
|
||||
$(pyqt_use_enable multimedia QtMultimedia $(usex widgets QtMultimediaWidgets ''))
|
||||
$(pyqt_use_enable network)
|
||||
$(pyqt_use_enable opengl QtOpenGL)
|
||||
$(pyqt_use_enable positioning)
|
||||
$(pyqt_use_enable printsupport QtPrintSupport)
|
||||
$(pyqt_use_enable sensors)
|
||||
$(pyqt_use_enable serialport QtSerialPort)
|
||||
$(pyqt_use_enable sql)
|
||||
$(pyqt_use_enable svg)
|
||||
$(pyqt_use_enable testlib QtTest)
|
||||
$(pyqt_use_enable webchannel QtWebChannel)
|
||||
$(pyqt_use_enable webengine QtWebEngine QtWebEngineCore $(usex widgets QtWebEngineWidgets ''))
|
||||
$(pyqt_use_enable webkit QtWebKit QtWebKitWidgets)
|
||||
$(pyqt_use_enable websockets QtWebSockets)
|
||||
$(pyqt_use_enable widgets)
|
||||
$(pyqt_use_enable x11extras QtX11Extras)
|
||||
$(pyqt_use_enable xmlpatterns QtXmlPatterns)
|
||||
)
|
||||
echo "${myconf[@]}"
|
||||
"${myconf[@]}" || die
|
||||
|
||||
eqmake5 -recursive ${PN}.pro
|
||||
}
|
||||
python_foreach_impl run_in_build_dir configuration
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
python_foreach_impl run_in_build_dir default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
installation() {
|
||||
local tmp_root=${D%/}/tmp
|
||||
emake INSTALL_ROOT="${tmp_root}" install
|
||||
|
||||
local bin_dir=${tmp_root}${EPREFIX}/usr/bin
|
||||
local exe
|
||||
for exe in pylupdate5 pyrcc5 pyuic5; do
|
||||
python_doexe "${bin_dir}/${exe}"
|
||||
rm "${bin_dir}/${exe}" || die
|
||||
done
|
||||
|
||||
local uic_dir=${tmp_root}$(python_get_sitedir)/${PN}/uic
|
||||
if python_is_python3; then
|
||||
rm -r "${uic_dir}"/port_v2 || die
|
||||
else
|
||||
rm -r "${uic_dir}"/port_v3 || die
|
||||
fi
|
||||
|
||||
multibuild_merge_root "${tmp_root}" "${D}"
|
||||
python_optimize
|
||||
}
|
||||
python_foreach_impl run_in_build_dir installation
|
||||
|
||||
einstalldocs
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r examples
|
||||
fi
|
||||
}
|
||||
@@ -1,45 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>qt@gentoo.org</email>
|
||||
<name>Gentoo Qt Project</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="bluetooth">Build bindings for the QtBluetooth module</flag>
|
||||
<flag name="dbus">Build bindings for the QtDBus module</flag>
|
||||
<flag name="declarative">Build bindings for the QtQml/QtQuick modules and enable the qmlscene plugin</flag>
|
||||
<flag name="designer">Build bindings for the QtDesigner module and enable the designer plugin</flag>
|
||||
<flag name="gles2">Use GLES 2.0 or later instead of full OpenGL</flag>
|
||||
<flag name="gui">Build bindings for the QtGui module</flag>
|
||||
<flag name="help">Build bindings for the QtHelp module</flag>
|
||||
<flag name="location">Build bindings for the QtLocation module</flag>
|
||||
<flag name="multimedia">Build bindings for the QtMultimedia module</flag>
|
||||
<flag name="network">Build bindings for the QtNetwork module</flag>
|
||||
<flag name="opengl">Build bindings for the QtOpenGL module</flag>
|
||||
<flag name="positioning">Build bindings for the QtPositioning module</flag>
|
||||
<flag name="printsupport">Build bindings for the QtPrintSupport module</flag>
|
||||
<flag name="sensors">Build bindings for the QtSensors module</flag>
|
||||
<flag name="serialport">Build bindings for the QtSerialPort module</flag>
|
||||
<flag name="sql">Build bindings for the QtSql module</flag>
|
||||
<flag name="svg">Build bindings for the QtSvg module</flag>
|
||||
<flag name="testlib">Build bindings for the QtTest module</flag>
|
||||
<flag name="webchannel">Build bindings for the QtWebChannel module</flag>
|
||||
<flag name="webengine">Build bindings for the QtWebEngine module</flag>
|
||||
<flag name="webkit">Build bindings for the QtWebKit module</flag>
|
||||
<flag name="websockets">Build bindings for the QtWebSockets module</flag>
|
||||
<flag name="widgets">Build bindings for the QtWidgets module</flag>
|
||||
<flag name="x11extras">Build bindings for the QtX11Extras module</flag>
|
||||
<flag name="xmlpatterns">Build bindings for the QtXmlPatterns module</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<maintainer status="active">
|
||||
<email>phil@riverbankcomputing.com</email>
|
||||
<name>Phil Thompson</name>
|
||||
</maintainer>
|
||||
<bugs-to>mailto:pyqt@riverbankcomputing.com</bugs-to>
|
||||
<doc>http://pyqt.sourceforge.net/Docs/PyQt5/</doc>
|
||||
<remote-id type="pypi">PyQt5</remote-id>
|
||||
<remote-id type="sourceforge">pyqt</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1,3 +1,3 @@
|
||||
AUX cadquery-0.1.5-no-tests.patch 711 SHA256 096a0856f6ed4079ebb30bc0e02b8466ace4b8d52b48a4609d63cfa4689a68eb SHA512 0e9cda11de72051a506610474a412d672e94d55f4d5a8c1873c3fc4350d4efcbe10e9b4bb33717c024c1c16646085d203ff2765073b74ee9523f7328ef888a92 WHIRLPOOL 95579be001c7c6e562c91d1924aab6c31369b2258f801de18825cd6cae840207ee8c9cc04df145a42c126b98661b148570bbfe7da222d80bef285a4c85fab875
|
||||
DIST cadquery-0.1.5.tar.gz 1500724 SHA256 40d5a71a95ce2e54b39fa1f38700562a7598fae353ac1faaf3a24f2e6b875ea8 SHA512 6d0af252ce20f548b9edb474badedafdab924061178cce3dd7234c153391a9250ac98d0da9e2e39096b6639f0376d240a4581e02589802275c231f4014984539 WHIRLPOOL f61159b84cb66d11f4ea534302eeba8b67eb76bba315c83c430e523f2dd1d881720cdfa56a1e232ab144480008ab851c9b3c78a7a4b8f0afd75097ad6f8714d9
|
||||
EBUILD cadquery-0.1.5.ebuild 494 SHA256 993f26d3ffef6088ade2a0febd98ee7eb90c1465771f89c07aaeb68224b3d4ae SHA512 76412c4af7a11c3e8befa806c1b1d81d33617f2c1f1059d22a51bca9992d2da7ffa2e66ae7740c4715a9dc0649fea5cea0a794dfe18c36e70a9b092bee9f967e WHIRLPOOL 968bb2fcdae1588660f928e240ed84e33b7bd7548e042e95bc3876290d0359159a578e3cdad641c56b5d8d99ff2b21c9c137b6d5b5688049c1cf0692d7c5c82e
|
||||
AUX cadquery-2.0-no-tests.patch 457 SHA256 93bcecbb426d156010b880eb3d31b10d6fd0d885dc9c6e1c081180040f7e1e85 SHA512 3bb92f44454280007d9323a957fcb5ab29f33a6b14ede23b971ecf94c38d9d406385c9c4c03c48547781ea66777d80aee8a6702d6851b9634896fe74612fb0fc WHIRLPOOL b437a421d3ebc4fc0b0021084d473d3a586375b2d4d090501e957e934b8e0dd1544a4f6a68bf21b2070183428a4af2441df63dca2a305b382e8d175657f89326
|
||||
DIST cadquery-2.0.tar.gz 1667468 SHA256 316cf53fe41056962617e116f4d0eb3bb3d05ec674c5fc055cb3595d7fc61e72 SHA512 d613912ef434201a7390239e8301f2408b53bd5c7b67279573ad141f8f7171883865de3cdd0948f9548b554c9ce1ee861ed5358b0c910b625903829f48e16d3c WHIRLPOOL 0443adf5bf94773bdf31968a278e828d9079d748fd9476c6c6cbe94830df8163dd8040f5619ab190499f3f1c696153bf47e5b831e37f006e43fba581538dd2e4
|
||||
EBUILD cadquery-2.0.ebuild 416 SHA256 015409e7c97c9793f419585e8e197cfe9f28d6a61e42de6b5ba843eb14de7ff7 SHA512 dcf1e861a2a5a2528592d0c93af114c8fa6ff41b525125a486e494f429054194362bed8b3a3a3b0823fdb0ba6afab1587bf8472090d21c5aa3b749d0cd0c3c40 WHIRLPOOL e0c62a9f39b436e36f73c7839a6e4fa95e73cf33b2388a15dc8c3b076b1f2023437927612d25f2b1a8a360e503d5da684caec36d67d6dc40777648a57202e98b
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python3_{5,6,7} )
|
||||
PYTHON_COMPAT=( python3_{5,6,7,8,9} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
@@ -17,9 +17,3 @@ RDEPEND=">=sci-libs/pythonocc-0.18.1
|
||||
DEPEND=""
|
||||
PATCHES="$FILESDIR/$P-no-tests.patch"
|
||||
|
||||
python_prepare_all()
|
||||
{
|
||||
rm runtests.py || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
--- a/setup.py 2018-08-28 12:39:18.000000000 -0700
|
||||
+++ a/setup.py 2020-01-10 15:27:34.594080172 -0800
|
||||
@@ -30,12 +30,11 @@
|
||||
author_email='dave.cowden@gmail.com',
|
||||
description='CadQuery is a parametric scripting language for creating and traversing CAD models',
|
||||
long_description=open('README.md').read(),
|
||||
- packages=['cadquery','cadquery.contrib','cadquery.occ_impl','cadquery.plugins','tests'],
|
||||
+ packages=['cadquery','cadquery.contrib','cadquery.occ_impl','cadquery.plugins'],
|
||||
install_requires=['pyparsing'],
|
||||
include_package_data=True,
|
||||
zip_safe=False,
|
||||
platforms='any',
|
||||
- test_suite='tests',
|
||||
|
||||
classifiers=[
|
||||
'Development Status :: 5 - Production/Stable',
|
||||
15
sci-libs/cadquery/files/cadquery-2.0-no-tests.patch
Normal file
15
sci-libs/cadquery/files/cadquery-2.0-no-tests.patch
Normal file
@@ -0,0 +1,15 @@
|
||||
--- a/setup.py 2020-04-23 18:33:31.000000000 -0700
|
||||
+++ a/setup.py 2020-12-07 22:10:12.460000000 -0800
|
||||
@@ -35,12 +35,10 @@
|
||||
"cadquery.contrib",
|
||||
"cadquery.occ_impl",
|
||||
"cadquery.plugins",
|
||||
- "tests",
|
||||
],
|
||||
include_package_data=True,
|
||||
zip_safe=False,
|
||||
platforms="any",
|
||||
- test_suite="tests",
|
||||
classifiers=[
|
||||
"Development Status :: 5 - Production/Stable",
|
||||
#'Development Status :: 6 - Mature',
|
||||
Reference in New Issue
Block a user