diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-05-12 16:42:50 +0300 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-05-12 16:42:50 +0300 |
commit | 752d6256e5204b958b0ef7905675a940b5e9172f (patch) | |
tree | 330d16e6362a49cbed8875a777fe641a43376cd3 /dev-python/cvxopt | |
parent | 0c100b7dd2b30e75b799d806df4ef899fd98e1ea (diff) |
gentoo resync : 12.05.2022
Diffstat (limited to 'dev-python/cvxopt')
-rw-r--r-- | dev-python/cvxopt/Manifest | 3 | ||||
-rw-r--r-- | dev-python/cvxopt/cvxopt-1.3.0.ebuild | 2 | ||||
-rw-r--r-- | dev-python/cvxopt/files/cvxopt-1.3.0-versioneer-buildfix.patch | 33 |
3 files changed, 37 insertions, 1 deletions
diff --git a/dev-python/cvxopt/Manifest b/dev-python/cvxopt/Manifest index c356ab2fbb0d..22800564cc5c 100644 --- a/dev-python/cvxopt/Manifest +++ b/dev-python/cvxopt/Manifest @@ -1,5 +1,6 @@ +AUX cvxopt-1.3.0-versioneer-buildfix.patch 1302 BLAKE2B 40be5ad702350869162a9144504c37bae1af8375df08ca11197df2fae524876d43a37cf63566d3c3daf714034e17d5d64919e400b373b9e557907881e25d39dc SHA512 00ffcba4730e11a0860c91ae224a1c1731c2c41ebb5d3748107e17cb83fd5fef15d0568eff34901554a03666d9ecf2adc82251e455d7bf1c722be51cf28574ff DIST cvxopt-1.2.7.tar.gz 4115486 BLAKE2B 6db890b271d99709f433269190461291702a95874dd13b218d1529e02da80eee43385397c5dcc31099666441b51207557bc0a91c403c75aa11f04334358eefd4 SHA512 09b92e33eb69dccd4ce1ff8f63eb81973cce15804bbdede91c1f81d146d9a643d8a29315f324774f02fa0f0fed2edfd698ba9a1a7345aeae1f5a25d24b776274 DIST cvxopt-1.3.0.tar.gz 4120085 BLAKE2B f4cb23146897d3f4b24e0fc4d59bd89e2c5b49c83aecdbec02297abbea8a16ecab85a02e9c187debbf3a03cc62e4c46128acefbec2af7ea20558e7fa1d1c0bd0 SHA512 b719100abb0b049765963dc4ca9f646b508a319b5f8390aa7a0578056d32a32573e195c136ffb907a57135e337887d2256c9a0883e63dad966dab43cad0bf58a EBUILD cvxopt-1.2.7.ebuild 5308 BLAKE2B 57fdbf06dff84baeaa6b252aa03df34c9b492e0320d78197c481127d42423d990c775e5a596c82b593fc811e714c5e8bcd04d5523a7e361ff2fe617b056d9948 SHA512 86b7a57500849deb727507c0f7be457861f5d85f016bca4705bad0dba81470e680a8f816e2c50744b697ccbd078fd5e8aee1f330ab0d8fb87bbf53a726c017ce -EBUILD cvxopt-1.3.0.ebuild 5312 BLAKE2B 48808843144defc2c1790303eccfd8738b93ac78c9b972bc6cbfa896fdf7292a377ee035559e29112bbf8479f6601e253e111ac37542e58ab983dbe02e5c85ba SHA512 58967e27258540533a705cd9c9c1d260c8c8ac013ba72d40bbc907d0daeed03df316137ebdaa625a550c47e03506f6de6cf0e5409248f967d041d8985f57828b +EBUILD cvxopt-1.3.0.ebuild 5378 BLAKE2B 448a4e8ea0a53d96e10e2c94daef769ebafd939c1d57761c5ed88d6dda78f47714ae75c8bd478ad92e4d766a70e27ca97419f8dfab6ee215c004f4d09f39e0de SHA512 c77841649c095bdc8016366aa0a28604dc67e29f14d4af3dbcba1eabcb868e8264170c15c43e903e41ad5a0ab3a9de34c54d956b73c5bb135526b6059f70a4e6 MISC metadata.xml 836 BLAKE2B fea994c2d1aefd2bef56407cb9a915820c11a118e7f876b016eb2b4e2c405030eeb7bdb20a6174e2144198f766757b321de042363931bd4216d04371431f6a66 SHA512 ce92cb1df5f4983953fd862e876970a39bbb2487d683868d3e9c9922238c53222e61e0f55376d332b33c61dd0d17ce272aa610c449155dd23263dbdffd3bf035 diff --git a/dev-python/cvxopt/cvxopt-1.3.0.ebuild b/dev-python/cvxopt/cvxopt-1.3.0.ebuild index cef2dfd526c7..c9d48eb76775 100644 --- a/dev-python/cvxopt/cvxopt-1.3.0.ebuild +++ b/dev-python/cvxopt/cvxopt-1.3.0.ebuild @@ -31,6 +31,8 @@ DEPEND=" RDEPEND="${DEPEND}" BDEPEND="virtual/pkgconfig" +PATCHES=( "${FILESDIR}/cvxopt-1.3.0-versioneer-buildfix.patch" ) + distutils_enable_sphinx doc/source --no-autodoc distutils_enable_tests pytest diff --git a/dev-python/cvxopt/files/cvxopt-1.3.0-versioneer-buildfix.patch b/dev-python/cvxopt/files/cvxopt-1.3.0-versioneer-buildfix.patch new file mode 100644 index 000000000000..2cc28bc7f781 --- /dev/null +++ b/dev-python/cvxopt/files/cvxopt-1.3.0-versioneer-buildfix.patch @@ -0,0 +1,33 @@ +From 764665fb080e5aec235a64029246cb58becf5591 Mon Sep 17 00:00:00 2001 +From: Michael Orlitzky <michael@orlitzky.com> +Date: Sat, 7 May 2022 12:44:31 -0400 +Subject: [PATCH 1/1] FIX: skip version update on `build_ext` if .py does not + exist + +Upstream versioneer commit 280fb6ce89af73ac6ced3c66354a16506a57fc6c +ported to cvxopt's bundled copy. See also: + + https://github.com/python-versioneer/python-versioneer/issues/296 +--- + versioneer.py | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/versioneer.py b/versioneer.py +index 414cb9d..47bdd40 100644 +--- a/versioneer.py ++++ b/versioneer.py +@@ -1847,6 +1847,11 @@ def get_cmdclass(cmdclass=None): + # it with an updated value + target_versionfile = os.path.join(self.build_lib, + cfg.versionfile_build) ++ if not os.path.exists(target_versionfile): ++ print(f"Warning: {target_versionfile} does not exist, skipping " ++ "version update. This can happen if you are running build_ext " ++ "without first running build_py.") ++ return + print("UPDATING %s" % target_versionfile) + write_to_version_file(target_versionfile, versions) + cmds["build_ext"] = cmd_build_ext +-- +2.35.1 + |