[gentoo-commits] repo/gentoo:master commit in: dev-python/pycdio/
commit: b7ed733baf715a81929aada2d45c5cae39ee0592 Author: Michał Górny gentoo org> AuthorDate: Sat May 18 07:18:58 2024 + Commit: Michał Górny gentoo org> CommitDate: Sat May 18 07:26:01 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7ed733b dev-python/pycdio: Enable py3.13 Signed-off-by: Michał Górny gentoo.org> dev-python/pycdio/pycdio-2.1.1-r1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-python/pycdio/pycdio-2.1.1-r1.ebuild b/dev-python/pycdio/pycdio-2.1.1-r1.ebuild index 48f92c3847e4..4fd44fc961b7 100644 --- a/dev-python/pycdio/pycdio-2.1.1-r1.ebuild +++ b/dev-python/pycdio/pycdio-2.1.1-r1.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 pypi
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycdio/
commit: 78e5d8a52663403731dc0f819c3d53bc64f7d405 Author: Michał Górny gentoo org> AuthorDate: Tue Nov 7 16:31:16 2023 + Commit: Michał Górny gentoo org> CommitDate: Tue Nov 7 16:31:16 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78e5d8a5 dev-python/pycdio: Enable py3.12 Signed-off-by: Michał Górny gentoo.org> dev-python/pycdio/pycdio-2.1.1-r1.ebuild | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dev-python/pycdio/pycdio-2.1.1-r1.ebuild b/dev-python/pycdio/pycdio-2.1.1-r1.ebuild index 3555b2842eb3..48f92c3847e4 100644 --- a/dev-python/pycdio/pycdio-2.1.1-r1.ebuild +++ b/dev-python/pycdio/pycdio-2.1.1-r1.ebuild @@ -5,13 +5,14 @@ EAPI=8 DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{10..12} ) inherit distutils-r1 pypi DESCRIPTION="Python OO interface to libcdio (CD Input and Control library)" HOMEPAGE=" https://savannah.gnu.org/projects/libcdio/ + https://github.com/rocky/pycdio/ https://pypi.org/project/pycdio/ " @@ -38,6 +39,8 @@ python_prepare_all() { -e "s:^sys.path.insert.*::" \ -e "s:\.\./data:./data:g" \ example/*.py || die + # https://github.com/rocky/pycdio/pull/5 + sed -i -e 's:assertEquals:assertEqual:' test/test-*.py || die distutils-r1_python_prepare_all }
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycdio/
commit: 759c1acda9ef79f4d428d818c0d05626bdc71209 Author: Michał Górny gentoo org> AuthorDate: Thu May 4 16:20:09 2023 + Commit: Michał Górny gentoo org> CommitDate: Thu May 4 16:20:09 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=759c1acd dev-python/pycdio: Set DISTUTILS_EXT=1 Signed-off-by: Michał Górny gentoo.org> dev-python/pycdio/pycdio-2.1.1-r1.ebuild | 1 + 1 file changed, 1 insertion(+) diff --git a/dev-python/pycdio/pycdio-2.1.1-r1.ebuild b/dev-python/pycdio/pycdio-2.1.1-r1.ebuild index 056fc78684ad..3555b2842eb3 100644 --- a/dev-python/pycdio/pycdio-2.1.1-r1.ebuild +++ b/dev-python/pycdio/pycdio-2.1.1-r1.ebuild @@ -3,6 +3,7 @@ EAPI=8 +DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{9..11} )
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycdio/
commit: 3f64e11797d30cd54100ffeca585b09b549c328f Author: Michał Górny gentoo org> AuthorDate: Sat Dec 31 15:49:58 2022 + Commit: Michał Górny gentoo org> CommitDate: Sat Dec 31 15:54:51 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f64e117 dev-python/pycdio: PEP517, pytest Closes: https://bugs.gentoo.org/888255 Signed-off-by: Michał Górny gentoo.org> dev-python/pycdio/pycdio-2.1.1-r1.ebuild | 55 1 file changed, 55 insertions(+) diff --git a/dev-python/pycdio/pycdio-2.1.1-r1.ebuild b/dev-python/pycdio/pycdio-2.1.1-r1.ebuild new file mode 100644 index ..94f8d9a685c4 --- /dev/null +++ b/dev-python/pycdio/pycdio-2.1.1-r1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} ) + +inherit distutils-r1 + +DESCRIPTION="Python OO interface to libcdio (CD Input and Control library)" +HOMEPAGE=" + https://savannah.gnu.org/projects/libcdio/ + https://pypi.org/project/pycdio/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples" + +DEPEND=" + >=dev-libs/libcdio-2.0.0 +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + dev-lang/swig +" + +distutils_enable_tests pytest + +python_prepare_all() { + # Remove obsolete sys.path and adjust 'data' paths in examples. + sed -i \ + -e "s:^sys.path.insert.*::" \ + -e "s:\.\./data:./data:g" \ + example/*.py || die + distutils-r1_python_prepare_all +} + +python_test() { + epytest -opython_files='test-*.py' +} + +python_install_all() { + distutils-r1_python_install_all + if use examples; then + docinto examples + dodoc -r example/. + docompress -x /usr/share/doc/${PF}/examples + fi +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycdio/
commit: 64e531ec416cb7ec72f58b6682b1e08732663b48 Author: Arthur Zamarin gentoo org> AuthorDate: Sun Oct 30 20:26:38 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Sun Oct 30 20:28:29 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64e531ec dev-python/pycdio: add savannah upstream metadata Signed-off-by: Arthur Zamarin gentoo.org> dev-python/pycdio/metadata.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/dev-python/pycdio/metadata.xml b/dev-python/pycdio/metadata.xml index a57793df4e86..541fb17e2ec1 100644 --- a/dev-python/pycdio/metadata.xml +++ b/dev-python/pycdio/metadata.xml @@ -11,5 +11,6 @@ pycdio rocky/pycdio + libcdio
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycdio/
commit: edab9e6b687bc4a7391466a9a0f522d65705fcc7 Author: Michał Górny gentoo org> AuthorDate: Sun Oct 17 09:12:26 2021 + Commit: Michał Górny gentoo org> CommitDate: Sun Oct 17 09:12:26 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edab9e6b dev-python/pycdio: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/pycdio/Manifest| 1 - dev-python/pycdio/pycdio-2.1.0.ebuild | 44 --- 2 files changed, 45 deletions(-) diff --git a/dev-python/pycdio/Manifest b/dev-python/pycdio/Manifest index 2ea8c840bd4..3b5fdc0a5f1 100644 --- a/dev-python/pycdio/Manifest +++ b/dev-python/pycdio/Manifest @@ -1,2 +1 @@ -DIST pycdio-2.1.0.tar.gz 241434 BLAKE2B eb981fdf52b205e14c6dd353ac4aca9a9e82dba6967a53b9059f8a265ef80832fe7236d68b2af7a6e408665fce0f5ed3541289e0b7d282834c4feb8e6b428fc4 SHA512 dc18fbd212f7040b8b06efaf263b17568e9c2d089cff7dfc4dda50a7225059e44c9c86e2d81ade92cf09c823f7189b5723fb601cb12f0884dc04e9f5418c5927 DIST pycdio-2.1.1.tar.gz 246562 BLAKE2B 7dbbf384f9d70aade922172c6dd070229c1ffc65a76a491c45f91ec176bced9af0dc0e08f50f8ad78828273de14166eae886b402f282a10bdad3f8302276ef01 SHA512 4c756b1c2f39332add86e01af129ccb608178306be42c9719c163b6bad0ba4de3916ac477c6866450890e094b14a2689a24e7d19bcf13846330555c2bb1feaa7 diff --git a/dev-python/pycdio/pycdio-2.1.0.ebuild b/dev-python/pycdio/pycdio-2.1.0.ebuild deleted file mode 100644 index 5652e3e6c98..000 --- a/dev-python/pycdio/pycdio-2.1.0.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7..10} ) -inherit distutils-r1 - -DESCRIPTION="Python OO interface to libcdio (CD Input and Control library)" -HOMEPAGE="https://savannah.gnu.org/projects/libcdio/ https://pypi.org/project/pycdio/; -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="examples" - -BDEPEND="dev-lang/swig" -RDEPEND=">=dev-libs/libcdio-2.0.0" -DEPEND="${RDEPEND}" - -distutils_enable_tests nose - -python_prepare_all() { - # Remove obsolete sys.path and adjust 'data' paths in examples. - sed -i \ - -e "s:^sys.path.insert.*::" \ - -e "s:\.\./data:./data:g" \ - example/*.py || die - - # Disable failing tests. - sed -i -e "s/test_get_set/_&/" test/test-cdtext.py || die - sed -i -e "s/test_fs/_&/" test/test-isocopy.py || die - distutils-r1_python_prepare_all -} - -python_install_all() { - distutils-r1_python_install_all - if use examples; then - docinto examples - dodoc -r example/. - docompress -x /usr/share/doc/${PF}/examples - fi -}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycdio/
commit: 4d7197ad5d12014ff208d9a8af9d4f10142516ee Author: Michał Górny gentoo org> AuthorDate: Sun Aug 1 06:42:27 2021 + Commit: Michał Górny gentoo org> CommitDate: Sun Aug 1 08:14:51 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d7197ad dev-python/pycdio: Bump to 2.1.1 Signed-off-by: Michał Górny gentoo.org> dev-python/pycdio/Manifest| 1 + dev-python/pycdio/pycdio-2.1.1.ebuild | 40 +++ 2 files changed, 41 insertions(+) diff --git a/dev-python/pycdio/Manifest b/dev-python/pycdio/Manifest index 2a11f3cf007..2ea8c840bd4 100644 --- a/dev-python/pycdio/Manifest +++ b/dev-python/pycdio/Manifest @@ -1 +1,2 @@ DIST pycdio-2.1.0.tar.gz 241434 BLAKE2B eb981fdf52b205e14c6dd353ac4aca9a9e82dba6967a53b9059f8a265ef80832fe7236d68b2af7a6e408665fce0f5ed3541289e0b7d282834c4feb8e6b428fc4 SHA512 dc18fbd212f7040b8b06efaf263b17568e9c2d089cff7dfc4dda50a7225059e44c9c86e2d81ade92cf09c823f7189b5723fb601cb12f0884dc04e9f5418c5927 +DIST pycdio-2.1.1.tar.gz 246562 BLAKE2B 7dbbf384f9d70aade922172c6dd070229c1ffc65a76a491c45f91ec176bced9af0dc0e08f50f8ad78828273de14166eae886b402f282a10bdad3f8302276ef01 SHA512 4c756b1c2f39332add86e01af129ccb608178306be42c9719c163b6bad0ba4de3916ac477c6866450890e094b14a2689a24e7d19bcf13846330555c2bb1feaa7 diff --git a/dev-python/pycdio/pycdio-2.1.1.ebuild b/dev-python/pycdio/pycdio-2.1.1.ebuild new file mode 100644 index 000..635e1a54c83 --- /dev/null +++ b/dev-python/pycdio/pycdio-2.1.1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +inherit distutils-r1 + +DESCRIPTION="Python OO interface to libcdio (CD Input and Control library)" +HOMEPAGE="https://savannah.gnu.org/projects/libcdio/ https://pypi.org/project/pycdio/; +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples" + +BDEPEND="dev-lang/swig" +DEPEND=">=dev-libs/libcdio-2.0.0" +RDEPEND="${DEPEND}" + +distutils_enable_tests nose + +python_prepare_all() { + # Remove obsolete sys.path and adjust 'data' paths in examples. + sed -i \ + -e "s:^sys.path.insert.*::" \ + -e "s:\.\./data:./data:g" \ + example/*.py || die + distutils-r1_python_prepare_all +} + +python_install_all() { + distutils-r1_python_install_all + if use examples; then + docinto examples + dodoc -r example/. + docompress -x /usr/share/doc/${PF}/examples + fi +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycdio/
commit: fc56f48aae14e9c24bdbdfe07950902c3987bc96 Author: Zamarin Arthur gmail com> AuthorDate: Wed May 26 05:23:22 2021 + Commit: Michał Górny gentoo org> CommitDate: Fri May 28 14:19:19 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc56f48a dev-python/pycdio: add github remote-id Signed-off-by: Zamarin Arthur gmail.com> Signed-off-by: Michał Górny gentoo.org> dev-python/pycdio/metadata.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/dev-python/pycdio/metadata.xml b/dev-python/pycdio/metadata.xml index 6d6623b91d3..c20b0e40f33 100644 --- a/dev-python/pycdio/metadata.xml +++ b/dev-python/pycdio/metadata.xml @@ -10,5 +10,6 @@ device-dependent properties of a CD-ROM can use this library. pycdio + rocky/pycdio
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycdio/
commit: 28777e293be79d91f05305f4104ba61d0fd75422 Author: Zamarin Arthur gmail com> AuthorDate: Wed May 26 05:22:24 2021 + Commit: Michał Górny gentoo org> CommitDate: Fri May 28 14:19:18 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28777e29 dev-python/pycdio: bump to python 3.{9,10}, enable tests passes tests Signed-off-by: Zamarin Arthur gmail.com> Signed-off-by: Michał Górny gentoo.org> dev-python/pycdio/pycdio-2.1.0.ebuild | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dev-python/pycdio/pycdio-2.1.0.ebuild b/dev-python/pycdio/pycdio-2.1.0.ebuild index 827ab287441..5652e3e6c98 100644 --- a/dev-python/pycdio/pycdio-2.1.0.ebuild +++ b/dev-python/pycdio/pycdio-2.1.0.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{7,8} ) +PYTHON_COMPAT=( python3_{7..10} ) inherit distutils-r1 DESCRIPTION="Python OO interface to libcdio (CD Input and Control library)" @@ -19,6 +19,8 @@ BDEPEND="dev-lang/swig" RDEPEND=">=dev-libs/libcdio-2.0.0" DEPEND="${RDEPEND}" +distutils_enable_tests nose + python_prepare_all() { # Remove obsolete sys.path and adjust 'data' paths in examples. sed -i \
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycdio/
commit: 424df8c915d834ad80db97b6f3434063ccd6fd57 Author: Andreas Sturmlechner gentoo org> AuthorDate: Thu Dec 12 18:41:03 2019 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Thu Dec 12 18:41:03 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=424df8c9 dev-python/pycdio: Drop 0.20-r1 and 2.0.0 Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Andreas Sturmlechner gentoo.org> dev-python/pycdio/Manifest | 2 -- dev-python/pycdio/pycdio-0.20-r1.ebuild | 43 --- dev-python/pycdio/pycdio-2.0.0.ebuild | 45 - 3 files changed, 90 deletions(-) diff --git a/dev-python/pycdio/Manifest b/dev-python/pycdio/Manifest index 6cfe1b0d236..2a11f3cf007 100644 --- a/dev-python/pycdio/Manifest +++ b/dev-python/pycdio/Manifest @@ -1,3 +1 @@ -DIST pycdio-0.20.tar.gz 197736 BLAKE2B 98ca603dba80a13dc3d1805869e190b9defa1a5c50b398ac4c7122629101df92ca8ad0071101bd8d53cbf48f41211017350a89944944028052899911b32d54e8 SHA512 b53a535440008dc637b31fd2cda22845c91b98e78c30f90c866af3b9bf7cb3faad39f0784b5063a39bd97bb18fc58c75ad0833d53421182d408c2889c491846b -DIST pycdio-2.0.0.tar.gz 242131 BLAKE2B cbe014ea42ecf2b84f736d4b714f0fa76c94b10e0b16da148334521ac4a141db606793be541ee532b7542e58256377bbc6139945232942ef2ef0beeda4b66ef5 SHA512 b73d49e143e4b5ebf5e8514d526a57f71d004b9ce4298743bb109902ee9551fa586384a236b26da9cd86284b2aa8c31fb02a324a1cebc03f2071d06fbd3e3285 DIST pycdio-2.1.0.tar.gz 241434 BLAKE2B eb981fdf52b205e14c6dd353ac4aca9a9e82dba6967a53b9059f8a265ef80832fe7236d68b2af7a6e408665fce0f5ed3541289e0b7d282834c4feb8e6b428fc4 SHA512 dc18fbd212f7040b8b06efaf263b17568e9c2d089cff7dfc4dda50a7225059e44c9c86e2d81ade92cf09c823f7189b5723fb601cb12f0884dc04e9f5418c5927 diff --git a/dev-python/pycdio/pycdio-0.20-r1.ebuild b/dev-python/pycdio/pycdio-0.20-r1.ebuild deleted file mode 100644 index 3e7c2067889..000 --- a/dev-python/pycdio/pycdio-0.20-r1.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=( python2_7 ) - -inherit distutils-r1 flag-o-matic - -DESCRIPTION="Python OO interface to libcdio (CD Input and Control library)" -HOMEPAGE="https://savannah.gnu.org/projects/libcdio/ https://pypi.org/project/pycdio/; -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="examples" - -RDEPEND=">=dev-libs/libcdio-0.90" -DEPEND="${RDEPEND} - dev-lang/swig - dev-python/setuptools[${PYTHON_USEDEP}]" - -RESTRICT="test" # currently tests fail - -python_prepare_all() { - append-cflags -fno-strict-aliasing - # Remove obsolete sys.path and adjust 'data' paths in examples. - sed -i \ - -e "s:^sys.path.insert.*::" \ - -e "s:\.\./data:./data:g" \ - example/*.py || die - - # Disable failing tests. - sed -i -e "s/test_get_set/_&/" test/test-cdtext.py || die - sed -i -e "s/test_fs/_&/" test/test-isocopy.py || die - distutils-r1_python_prepare_all -} - -python_install_all(){ - use examples && local EXAMPLES=( example/. ) - distutils-r1_python_install_all -} diff --git a/dev-python/pycdio/pycdio-2.0.0.ebuild b/dev-python/pycdio/pycdio-2.0.0.ebuild deleted file mode 100644 index dbde3585e0e..000 --- a/dev-python/pycdio/pycdio-2.0.0.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 ) - -inherit distutils-r1 flag-o-matic - -DESCRIPTION="Python OO interface to libcdio (CD Input and Control library)" -HOMEPAGE="https://savannah.gnu.org/projects/libcdio/ https://pypi.org/project/pycdio/; -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="examples" - -RDEPEND=">=dev-libs/libcdio-2.0.0" - -DEPEND=" - ${RDEPEND} - dev-lang/swig - dev-python/setuptools[${PYTHON_USEDEP}]" - -RESTRICT="test" # currently tests fail - -python_prepare_all() { - append-cflags -fno-strict-aliasing - # Remove obsolete sys.path and adjust 'data' paths in examples. - sed -i \ - -e "s:^sys.path.insert.*::" \ - -e "s:\.\./data:./data:g" \ - example/*.py || die - - # Disable failing tests. - sed -i -e "s/test_get_set/_&/" test/test-cdtext.py || die - sed -i -e "s/test_fs/_&/" test/test-isocopy.py || die - distutils-r1_python_prepare_all -} - -python_install_all(){ - use examples && local EXAMPLES=( example/. ) - distutils-r1_python_install_all -}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycdio/
commit: 450571447e3002e8d9f3388124d357b3ba943269 Author: Quentin Retornaz retornaz com> AuthorDate: Wed Dec 4 23:53:51 2019 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Dec 8 18:27:38 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45057144 dev-python/pycdio: bump version to 2.1.0 Closes: https://bugs.gentoo.org/701998 Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Quentin Retornaz retornaz.com> Closes: https://github.com/gentoo/gentoo/pull/13873 Signed-off-by: Andreas Sturmlechner gentoo.org> dev-python/pycdio/Manifest| 1 + dev-python/pycdio/pycdio-2.1.0.ebuild | 45 +++ 2 files changed, 46 insertions(+) diff --git a/dev-python/pycdio/Manifest b/dev-python/pycdio/Manifest index 423ecc934cb..6cfe1b0d236 100644 --- a/dev-python/pycdio/Manifest +++ b/dev-python/pycdio/Manifest @@ -1,2 +1,3 @@ DIST pycdio-0.20.tar.gz 197736 BLAKE2B 98ca603dba80a13dc3d1805869e190b9defa1a5c50b398ac4c7122629101df92ca8ad0071101bd8d53cbf48f41211017350a89944944028052899911b32d54e8 SHA512 b53a535440008dc637b31fd2cda22845c91b98e78c30f90c866af3b9bf7cb3faad39f0784b5063a39bd97bb18fc58c75ad0833d53421182d408c2889c491846b DIST pycdio-2.0.0.tar.gz 242131 BLAKE2B cbe014ea42ecf2b84f736d4b714f0fa76c94b10e0b16da148334521ac4a141db606793be541ee532b7542e58256377bbc6139945232942ef2ef0beeda4b66ef5 SHA512 b73d49e143e4b5ebf5e8514d526a57f71d004b9ce4298743bb109902ee9551fa586384a236b26da9cd86284b2aa8c31fb02a324a1cebc03f2071d06fbd3e3285 +DIST pycdio-2.1.0.tar.gz 241434 BLAKE2B eb981fdf52b205e14c6dd353ac4aca9a9e82dba6967a53b9059f8a265ef80832fe7236d68b2af7a6e408665fce0f5ed3541289e0b7d282834c4feb8e6b428fc4 SHA512 dc18fbd212f7040b8b06efaf263b17568e9c2d089cff7dfc4dda50a7225059e44c9c86e2d81ade92cf09c823f7189b5723fb601cb12f0884dc04e9f5418c5927 diff --git a/dev-python/pycdio/pycdio-2.1.0.ebuild b/dev-python/pycdio/pycdio-2.1.0.ebuild new file mode 100644 index 000..0b249b5bcee --- /dev/null +++ b/dev-python/pycdio/pycdio-2.1.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{5,6,7} ) + +inherit distutils-r1 + +DESCRIPTION="Python OO interface to libcdio (CD Input and Control library)" +HOMEPAGE="https://savannah.gnu.org/projects/libcdio/ https://pypi.org/project/pycdio/; +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples" + +RDEPEND=">=dev-libs/libcdio-2.0.0" + +BDEPEND="dev-lang/swig" + +DEPEND="${RDEPEND}" + +python_prepare_all() { + # Remove obsolete sys.path and adjust 'data' paths in examples. + sed -i \ + -e "s:^sys.path.insert.*::" \ + -e "s:\.\./data:./data:g" \ + example/*.py || die + + # Disable failing tests. + sed -i -e "s/test_get_set/_&/" test/test-cdtext.py || die + sed -i -e "s/test_fs/_&/" test/test-isocopy.py || die + distutils-r1_python_prepare_all +} + +python_install_all(){ + distutils-r1_python_install_all + if use examples; then + docinto examples + dodoc -r example/. + docompress -x /usr/share/doc/${PF}/examples + fi +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycdio/
commit: 8763071a19a0d95589fafe206fed4f01965b04bc Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Dec 8 18:21:52 2019 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Dec 8 18:27:38 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8763071a dev-python/pycdio: Add python3_8, drop python3_5 No test failure. Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Andreas Sturmlechner gentoo.org> dev-python/pycdio/pycdio-2.1.0.ebuild | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/dev-python/pycdio/pycdio-2.1.0.ebuild b/dev-python/pycdio/pycdio-2.1.0.ebuild index 0b249b5bcee..bf82efeba6a 100644 --- a/dev-python/pycdio/pycdio-2.1.0.ebuild +++ b/dev-python/pycdio/pycdio-2.1.0.ebuild @@ -3,8 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{5,6,7} ) - +PYTHON_COMPAT=( python3_{6,7,8} ) inherit distutils-r1 DESCRIPTION="Python OO interface to libcdio (CD Input and Control library)" @@ -16,10 +15,8 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="examples" -RDEPEND=">=dev-libs/libcdio-2.0.0" - BDEPEND="dev-lang/swig" - +RDEPEND=">=dev-libs/libcdio-2.0.0" DEPEND="${RDEPEND}" python_prepare_all() {
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycdio/
commit: 21f2529865206e5bcc7539389863bad706e3c16a Author: Patrice Clement gentoo org> AuthorDate: Thu Aug 9 21:54:32 2018 + Commit: Patrice Clement gentoo org> CommitDate: Thu Aug 9 21:56:12 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21f25298 dev-python/pycdio: fix dependency. Courtesy of Sam May gmail.com>. Package-Manager: Portage-2.3.40, Repoman-2.3.9 dev-python/pycdio/pycdio-2.0.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pycdio/pycdio-2.0.0.ebuild b/dev-python/pycdio/pycdio-2.0.0.ebuild index 38c8a750aa2..dbde3585e0e 100644 --- a/dev-python/pycdio/pycdio-2.0.0.ebuild +++ b/dev-python/pycdio/pycdio-2.0.0.ebuild @@ -16,7 +16,7 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="examples" -RDEPEND=">=dev-libs/libcdio-0.90" +RDEPEND=">=dev-libs/libcdio-2.0.0" DEPEND=" ${RDEPEND}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycdio/
commit: 4a0099d2e2d9e4c5678bbd32df2b4540c959a23c Author: Patrice Clement gentoo org> AuthorDate: Fri Jun 15 18:34:28 2018 + Commit: Patrice Clement gentoo org> CommitDate: Sat Jun 16 20:01:59 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a0099d2 dev-python/pycdio: version bump. Closes: https://bugs.gentoo.org/651292 Package-Manager: Portage-2.3.40, Repoman-2.3.9 dev-python/pycdio/Manifest| 1 + dev-python/pycdio/pycdio-2.0.0.ebuild | 45 +++ 2 files changed, 46 insertions(+) diff --git a/dev-python/pycdio/Manifest b/dev-python/pycdio/Manifest index de1942dd5c1..423ecc934cb 100644 --- a/dev-python/pycdio/Manifest +++ b/dev-python/pycdio/Manifest @@ -1 +1,2 @@ DIST pycdio-0.20.tar.gz 197736 BLAKE2B 98ca603dba80a13dc3d1805869e190b9defa1a5c50b398ac4c7122629101df92ca8ad0071101bd8d53cbf48f41211017350a89944944028052899911b32d54e8 SHA512 b53a535440008dc637b31fd2cda22845c91b98e78c30f90c866af3b9bf7cb3faad39f0784b5063a39bd97bb18fc58c75ad0833d53421182d408c2889c491846b +DIST pycdio-2.0.0.tar.gz 242131 BLAKE2B cbe014ea42ecf2b84f736d4b714f0fa76c94b10e0b16da148334521ac4a141db606793be541ee532b7542e58256377bbc6139945232942ef2ef0beeda4b66ef5 SHA512 b73d49e143e4b5ebf5e8514d526a57f71d004b9ce4298743bb109902ee9551fa586384a236b26da9cd86284b2aa8c31fb02a324a1cebc03f2071d06fbd3e3285 diff --git a/dev-python/pycdio/pycdio-2.0.0.ebuild b/dev-python/pycdio/pycdio-2.0.0.ebuild new file mode 100644 index 000..38c8a750aa2 --- /dev/null +++ b/dev-python/pycdio/pycdio-2.0.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 flag-o-matic + +DESCRIPTION="Python OO interface to libcdio (CD Input and Control library)" +HOMEPAGE="https://savannah.gnu.org/projects/libcdio/ https://pypi.org/project/pycdio/; +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples" + +RDEPEND=">=dev-libs/libcdio-0.90" + +DEPEND=" + ${RDEPEND} + dev-lang/swig + dev-python/setuptools[${PYTHON_USEDEP}]" + +RESTRICT="test" # currently tests fail + +python_prepare_all() { + append-cflags -fno-strict-aliasing + # Remove obsolete sys.path and adjust 'data' paths in examples. + sed -i \ + -e "s:^sys.path.insert.*::" \ + -e "s:\.\./data:./data:g" \ + example/*.py || die + + # Disable failing tests. + sed -i -e "s/test_get_set/_&/" test/test-cdtext.py || die + sed -i -e "s/test_fs/_&/" test/test-isocopy.py || die + distutils-r1_python_prepare_all +} + +python_install_all(){ + use examples && local EXAMPLES=( example/. ) + distutils-r1_python_install_all +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycdio/
commit: 8a923da7c50a872f520485f5f41c771a696f12a9 Author: Justin Lecher gentoo org> AuthorDate: Wed Sep 2 16:34:25 2015 + Commit: Justin Lecher gentoo org> CommitDate: Wed Sep 2 16:53:41 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a923da7 dev-python/pycdio: Use append-cflags Package-Manager: portage-2.2.20.1 Signed-off-by: Justin Lecher gentoo.org> dev-python/pycdio/pycdio-0.20-r1.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dev-python/pycdio/pycdio-0.20-r1.ebuild b/dev-python/pycdio/pycdio-0.20-r1.ebuild index d7094c2..5d6a6d4 100644 --- a/dev-python/pycdio/pycdio-0.20-r1.ebuild +++ b/dev-python/pycdio/pycdio-0.20-r1.ebuild @@ -3,9 +3,10 @@ # $Id$ EAPI=5 + PYTHON_COMPAT=( python2_7 ) -inherit distutils-r1 +inherit distutils-r1 flag-o-matic DESCRIPTION="Python OO interface to libcdio (CD Input and Control library)" HOMEPAGE="http://savannah.gnu.org/projects/libcdio/ https://pypi.python.org/pypi/pycdio; @@ -21,11 +22,10 @@ DEPEND="${RDEPEND} dev-lang/swig dev-python/setuptools[${PYTHON_USEDEP}]" -CFLAGS="${CFLAGS} -fno-strict-aliasing" - RESTRICT="test" # currently tests fail python_prepare_all() { + append-cflags -fno-strict-aliasing # Remove obsolete sys.path and adjust 'data' paths in examples. sed -i \ -e "s:^sys.path.insert.*::" \