Created custom pyserial-3.5 package to keep it for Python 2.7.
This commit is contained in:
parent
9e37ded24d
commit
2bcf36214f
|
@ -1,3 +1,5 @@
|
||||||
DIST pyserial-3.4.tar.gz 151657 BLAKE2B cf47aba4a6f3bb2fe39d99e72907496faa1c9f37857810fef4d826cca72c361d0e43dbc33d9cf2291a589bf0193d17355d149e6eb61b4f9e28250207708ef09a SHA512 d71dffc330704e41caac6054adf192bee2f1c119691faf2ea93fe22e8e3ba000dc4a1434293f6f80d05a5577d85b96791f656e28d5c63fb0ce6a6605467a117f
|
DIST pyserial-3.4.tar.gz 151657 BLAKE2B cf47aba4a6f3bb2fe39d99e72907496faa1c9f37857810fef4d826cca72c361d0e43dbc33d9cf2291a589bf0193d17355d149e6eb61b4f9e28250207708ef09a SHA512 d71dffc330704e41caac6054adf192bee2f1c119691faf2ea93fe22e8e3ba000dc4a1434293f6f80d05a5577d85b96791f656e28d5c63fb0ce6a6605467a117f
|
||||||
|
DIST pyserial-3.5.tar.gz 159125 BLAKE2B 6be1930afc6cfecad54cd7a116a0e93085d166907acb4c2fa5b7b9485ec28cfb6dc9e7ffc13ae5628c344ef0f78c15bdd828b8d51048a484548538cf14b9da20 SHA512 c8df5e50d952d5a6dcf1d9253a6ba953e9763c545a867da66c22c90dfa015aba0194f2a8f29a229d0a5f4dc8bfeeaaab8bcfda4066ed78a18b151bc05e6ae327
|
||||||
EBUILD pyserial-3.4.ebuild 830 BLAKE2B ae1703116d7b0eb4841ac2f02395e5a249c37026b3bedd211cf317aa025d388473e43eb36619c158cd80fcd2d3808b60016a5d06e1ad32cdec8f9d2222e71b1d SHA512 178b0ba37a605e696d790886fc76aa6e3e86e8f883e471be706ae9b84c28982b2f32a27572738eaa95b5ea0cdca7e13e7b18d53462e8263aea18c6ac9d710625
|
EBUILD pyserial-3.4.ebuild 830 BLAKE2B ae1703116d7b0eb4841ac2f02395e5a249c37026b3bedd211cf317aa025d388473e43eb36619c158cd80fcd2d3808b60016a5d06e1ad32cdec8f9d2222e71b1d SHA512 178b0ba37a605e696d790886fc76aa6e3e86e8f883e471be706ae9b84c28982b2f32a27572738eaa95b5ea0cdca7e13e7b18d53462e8263aea18c6ac9d710625
|
||||||
|
EBUILD pyserial-3.5.ebuild 779 BLAKE2B 1ae2c4efc80a9ab986020b660b04944c4d547f676d9b5158e88d9e6068734e2efaf41d0185a6aeda3ac8fc37387c6a13e7d3396e17c5d33bc83079c1b9d62269 SHA512 1dfc3d3c6eb3ebceb681b3628f30ab113b97994079f325b4cd5c8ca92cabf95802422c79594a9261145b5efc3362afe291c486325a9d818702bf8eecbde331e3
|
||||||
MISC metadata.xml 421 BLAKE2B f3c94b0b72c3df17d9c539e8b76e1f644e0b4ae1bb3d905652b568084e449bf11cab07f27e7775031eee857095671debd28bf1d2eb8c1992c6b980620b32109b SHA512 30c1232aed930c665c2603443cbff9efbb843b1866d6a4d034a517e0669f28f1e6e7562103a8badbd8fb1efd9e69b058870b9c4fcea8fa5e74e7a1ec8ba17fde
|
MISC metadata.xml 421 BLAKE2B f3c94b0b72c3df17d9c539e8b76e1f644e0b4ae1bb3d905652b568084e449bf11cab07f27e7775031eee857095671debd28bf1d2eb8c1992c6b980620b32109b SHA512 30c1232aed930c665c2603443cbff9efbb843b1866d6a4d034a517e0669f28f1e6e7562103a8badbd8fb1efd9e69b058870b9c4fcea8fa5e74e7a1ec8ba17fde
|
||||||
|
|
30
dev-python/pyserial/pyserial-3.5.ebuild
Normal file
30
dev-python/pyserial/pyserial-3.5.ebuild
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
PYTHON_COMPAT=( python2_7 python3_{6..9} )
|
||||||
|
|
||||||
|
inherit xdistutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Python Serial Port extension"
|
||||||
|
HOMEPAGE="https://github.com/pyserial/pyserial https://pypi.org/project/pyserial/"
|
||||||
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="PSF-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86"
|
||||||
|
IUSE="examples"
|
||||||
|
|
||||||
|
DOCS=( CHANGES.rst README.rst )
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
"${EPYTHON}" test/run_all_tests.py loop:// -v || die "Testing failed with ${EPYTHON}"
|
||||||
|
}
|
||||||
|
|
||||||
|
python_install_all() {
|
||||||
|
distutils-r1_python_install_all
|
||||||
|
if use examples; then
|
||||||
|
dodoc -r examples
|
||||||
|
docompress -x /usr/share/doc/${PF}/examples
|
||||||
|
fi
|
||||||
|
}
|
1451
eclass/python-utils-r1.eclass
Normal file
1451
eclass/python-utils-r1.eclass
Normal file
File diff suppressed because it is too large
Load diff
7
eclass/xdistutils-r1.eclass
Normal file
7
eclass/xdistutils-r1.eclass
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
if [[ ! ${DISTUTILS_SINGLE_IMPL} ]]; then
|
||||||
|
inherit xpython-r1
|
||||||
|
else
|
||||||
|
inherit xpython-single-r1
|
||||||
|
fi
|
||||||
|
|
||||||
|
inherit distutils-r1
|
2
eclass/xpython-any-r1.eclass
Normal file
2
eclass/xpython-any-r1.eclass
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
inherit xpython-utils-r1
|
||||||
|
inherit python-any-r1
|
3
eclass/xpython-r1.eclass
Normal file
3
eclass/xpython-r1.eclass
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
inherit xpython-utils-r1
|
||||||
|
|
||||||
|
inherit python-r1
|
3
eclass/xpython-single-r1.eclass
Normal file
3
eclass/xpython-single-r1.eclass
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
inherit xpython-utils-r1
|
||||||
|
|
||||||
|
inherit python-single-r1
|
1451
eclass/xpython-utils-r1.eclass
Normal file
1451
eclass/xpython-utils-r1.eclass
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue