diff options
author | Davide Pesavento <pesa@gentoo.org> | 2012-06-02 13:42:45 +0000 |
---|---|---|
committer | Davide Pesavento <pesa@gentoo.org> | 2012-06-02 13:42:45 +0000 |
commit | aa568436628f80cc58c7fe806401c90e11294505 (patch) | |
tree | 78de0f3fb394cc7215743713b6dc24da6f98df57 /dev-python/pyside-tools | |
parent | Fix HOMEPAGE wrt bug #416283 by df. (diff) | |
download | historical-aa568436628f80cc58c7fe806401c90e11294505.tar.gz historical-aa568436628f80cc58c7fe806401c90e11294505.tar.bz2 historical-aa568436628f80cc58c7fe806401c90e11294505.zip |
Version bump, adds python3 support in pysideuic. Thanks to Rafał Mużyło in bug 419179.
Package-Manager: portage-2.2.0_alpha108/cvs/Linux x86_64
Diffstat (limited to 'dev-python/pyside-tools')
-rw-r--r-- | dev-python/pyside-tools/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/pyside-tools/Manifest | 24 | ||||
-rw-r--r-- | dev-python/pyside-tools/pyside-tools-0.2.14.ebuild | 97 |
3 files changed, 127 insertions, 2 deletions
diff --git a/dev-python/pyside-tools/ChangeLog b/dev-python/pyside-tools/ChangeLog index d9689bad2803..867321cfb5fc 100644 --- a/dev-python/pyside-tools/ChangeLog +++ b/dev-python/pyside-tools/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/pyside-tools # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyside-tools/ChangeLog,v 1.20 2012/05/04 15:12:16 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyside-tools/ChangeLog,v 1.21 2012/06/02 13:42:45 pesa Exp $ + +*pyside-tools-0.2.14 (02 Jun 2012) + + 02 Jun 2012; Davide Pesavento <pesa@gentoo.org> +pyside-tools-0.2.14.ebuild: + Version bump, adds python3 support in pysideuic. Thanks to Rafał Mużyło in bug + 419179. 04 May 2012; Patrick Lauer <patrick@gentoo.org> pyside-tools-0.2.13-r2.ebuild: Migrating dev-util/pkgconfig -> virtual/pkgconfig diff --git a/dev-python/pyside-tools/Manifest b/dev-python/pyside-tools/Manifest index 54698ba0bc14..ca515e0f3eb0 100644 --- a/dev-python/pyside-tools/Manifest +++ b/dev-python/pyside-tools/Manifest @@ -1,5 +1,27 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA512 + AUX 0.2.13-fix-pysideuic-test-and-install.patch 1117 RMD160 cb7dca8760eeab9499b85d72be004171622cd892 SHA1 ecbbfa154d11da85112659d778020f4671595484 SHA256 f03cfa89cdef59b5e94713297aecb5e9cb66d0d6793c21078ebf27df4adc14c6 DIST pyside-tools-0.2.13.tar.bz2 75634 RMD160 e1ba20a7d45cf6a69f82f7c5f9c9306842ea9e52 SHA1 4d05444300331518c3b66536aec3048454db3380 SHA256 091e8d09f144626d64671ce8c59e165d81b3443a8538102729fc72fb5b5b364c +DIST pyside-tools-0.2.14.tar.bz2 76575 RMD160 94c593f12bddc9d9ab21a189f6a89663488b27e6 SHA1 f654553bc9bfb35dbc5673da26830969393f9fe8 SHA256 cbd5d2ecf872434442f095766d5abf29733e3cc474da3e2e679e93b6bc0bb600 EBUILD pyside-tools-0.2.13-r2.ebuild 2042 RMD160 30c50e0cb13a42b8ab9cf1ab2d2dda6562cb493d SHA1 b422d30175c3af0ad9c24bb67d045b0606f2240d SHA256 72ec610dd8d52de986a4208d42eecc770016fa6d4f6e4ce66380c6f537c3cf0a -MISC ChangeLog 3582 RMD160 e6ea3b649054ccddda0b7077cecfac84bc779f99 SHA1 e0cc970598a0da612f255bb506f83e1942faa0ce SHA256 0d265bbb16b9714bdfbfddfca9152ac9bf19d25e53349383dc2be0f49a336ff2 +EBUILD pyside-tools-0.2.14.ebuild 2169 RMD160 a3399ab05f0c3a27b3303f3aa719bc12cbc75d7e SHA1 848cac6fc6744932917ca47b31e29e312f11e018 SHA256 d75efb83ddd44b0e87535efcb31a89326d6a2e734eac9656cc4432d0326e3355 +MISC ChangeLog 3789 RMD160 83f25316368bf5df9b3429b40486963c973391a4 SHA1 4e534b09a172d5c25722f5122acaeb7e7b56fb7a SHA256 7b1620f79fa83f8b626b4f9261d1cb9277e93c1bc11a2cb16bacf673d19dbcf8 MISC metadata.xml 155 RMD160 654eebe07944b4d18c58e4a54c50758eceead53e SHA1 967490b59f5185a6849cb5583390dd0d0b0dd512 SHA256 94ed5876ef16dbc191744ff6b8939a0f428fcb8add316d898880e1c4c880b9e7 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.19 (GNU/Linux) + +iQIcBAEBCgAGBQJPyhhnAAoJENXLsxwXqFxyorcP/jvSBfBoajLylOxDcF5Ylf1v +e+6KjfmPdrDEsZ/DbTPCo0LTKhXoAkIK5oBb/jH0r3l+ugidtBesUmgauRID2mhf +AagcZSkvsdArjfwdAjtHhOFimNmv4PhaH0USuqgvLI9VNmik7rNqcpwiihCO6r8a +mntE+Op9hAwfsybQQsZRNA3aAkn7fDsQeWkNgww2laNGdirKfpiBVS0e7n9VFcbD +zvU/L0NWoix/ql7xmfJSykJPFQ7hvTL51z1vfBFDFdqwBQdSedrDeRg7I02P6TYu +x4j144XzAQ8qDLDI5AN7tsVCu17e5ZzvQng+g20uxU3ZnegpPk7hyXScYl06/DbY +c8Sb7+etLG+j/5QJgnHIVnGq8QzvJujzQAibSRoHeQfLv9Lx7IyDAQxFOCpcsrQM +99KYgsS04kw0QH9YyUk+xR2XFITzsR9pl0JzERo2jVDE6drYzdbdjZ0VAxc2vZeS +MvJcudKjVmsnySkoPOakBSesARFEZNfFDWtamvKHG8K0H4yzgMC678chu1E3VyMF +YaPQiX5HYOdLb8kWGzb9GCU/ySee7rl2WImhEozLxvZvRnktuqHPhiCh8R7pz9cZ +gxrwhW38LRrJYiybFbtxuHs0OWU3JKmlXPHwhEy0CxbSR7x7DScfdB3L/yI4O65h +BnkbKF5OX6qPfZv6gV1Y +=h5Sv +-----END PGP SIGNATURE----- diff --git a/dev-python/pyside-tools/pyside-tools-0.2.14.ebuild b/dev-python/pyside-tools/pyside-tools-0.2.14.ebuild new file mode 100644 index 000000000000..fd215bd276cf --- /dev/null +++ b/dev-python/pyside-tools/pyside-tools-0.2.14.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyside-tools/pyside-tools-0.2.14.ebuild,v 1.1 2012/06/02 13:42:45 pesa Exp $ + +EAPI=4 + +CMAKE_IN_SOURCE_BUILD="1" + +PYTHON_DEPEND="2:2.6 3:3.2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="2.4 2.5 3.1 *-jython 2.7-pypy-*" + +VIRTUALX_COMMAND="cmake-utils_src_test" + +inherit eutils cmake-utils python virtualx + +DESCRIPTION="PySide development tools (lupdate, rcc, uic)" +HOMEPAGE="http://www.pyside.org/" +SRC_URI="http://www.pyside.org/files/${P}.tar.bz2" + +LICENSE="BSD GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND=" + >=dev-python/pyside-1.1.0-r1[X] + >=dev-python/shiboken-1.1.0-r1 + >=x11-libs/qt-core-4.7.0:4 + >=x11-libs/qt-gui-4.7.0:4 +" +DEPEND="${RDEPEND} + test? ( virtual/pkgconfig ) +" + +src_prepare() { + epatch "${FILESDIR}"/0.2.13-fix-pysideuic-test-and-install.patch + + python_copy_sources + + preparation() { + if [[ $(python_get_version -l --major) == 3 ]]; then + rm -fr pysideuic/port_v2 + else + rm -fr pysideuic/port_v3 + fi + + sed -i -e "/pkg-config/ s:shiboken:&-python${PYTHON_ABI}:" \ + tests/rcc/run_test.sh || die + } + python_execute_function -s preparation +} + +src_configure() { + configuration() { + local mycmakeargs=( + -DPYTHON_BASENAME="-python${PYTHON_ABI}" + -DPYTHON_SUFFIX="-python${PYTHON_ABI}" + -DSITE_PACKAGE="$(python_get_sitedir)" + $(cmake-utils_use_build test TESTS) + ) + CMAKE_USE_DIR="${BUILDDIR}" cmake-utils_src_configure + } + python_execute_function -s configuration +} + +src_compile() { + compilation() { + CMAKE_USE_DIR="${BUILDDIR}" cmake-utils_src_make + } + python_execute_function -s compilation +} + +src_test() { + testing() { + CMAKE_USE_DIR="${BUILDDIR}" virtualmake + } + python_execute_function -s testing +} + +src_install() { + installation() { + CMAKE_USE_DIR="${BUILDDIR}" cmake-utils_src_install DESTDIR="${T}/images/${PYTHON_ABI}" + } + python_execute_function -s installation + python_merge_intermediate_installation_images "${T}/images" + + dodoc AUTHORS ChangeLog +} + +pkg_postinst() { + python_mod_optimize pysideuic +} + +pkg_postrm() { + python_mod_cleanup pysideuic +} |