From bf99f8024d68382f76665735c70ae912331bc2ca Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 4 Oct 2022 07:16:51 +0100 Subject: gentoo auto-resync : 04:10:2022 - 07:16:51 --- sci-astronomy/Manifest.gz | Bin 6841 -> 6844 bytes sci-astronomy/pyephem/Manifest | 5 +-- .../pyephem/files/pyephem-4.1.3-clang-15.patch | 36 +++++++++++++++++++++ sci-astronomy/pyephem/metadata.xml | 1 + sci-astronomy/pyephem/pyephem-4.1.3.ebuild | 4 +++ 5 files changed, 44 insertions(+), 2 deletions(-) create mode 100644 sci-astronomy/pyephem/files/pyephem-4.1.3-clang-15.patch (limited to 'sci-astronomy') diff --git a/sci-astronomy/Manifest.gz b/sci-astronomy/Manifest.gz index 4459cba8caa7..2022a201f94e 100644 Binary files a/sci-astronomy/Manifest.gz and b/sci-astronomy/Manifest.gz differ diff --git a/sci-astronomy/pyephem/Manifest b/sci-astronomy/pyephem/Manifest index c9306878ec42..f2e01ee33621 100644 --- a/sci-astronomy/pyephem/Manifest +++ b/sci-astronomy/pyephem/Manifest @@ -1,7 +1,8 @@ +AUX pyephem-4.1.3-clang-15.patch 1126 BLAKE2B 2a976402626fa74e1c9304230b996980f6364e0a82e0316f1994317bad9966fb5ca10cc1ddc1480c405a140a0196854ab7baa1a5e06b3287e2921dd650b4b741 SHA512 f5cfade697342512d8b8386eb73a766ad3730007546759dbe1d79b59609ef697baea7b910d8ebfe53949d5406c1135673b8108fb0482ac81d4fcc7048c65d20b DIST pyephem-3.7.7.1.tar.gz 1622306 BLAKE2B aefdd7b7e4471140f1c2b5c065f663dfb1095d8d8325e23d4b5b9c683ff7a91020151429a992ad78be897ab738d9bc207afa337b7806fb244d6d6c8a1c680b7f SHA512 ae0d9562f33ee25065b33ea3d4b24a74e32259bebb07edf37deacaa77e6d24b3a7a49e4602393b45a3c7cfc7d8088f038e68e96ec3576a796b5486fc2946ac5a DIST pyephem-4.1.1.gh.tar.gz 2659977 BLAKE2B e373857d3fb66e742f9db992165dbd1d50afbb6b91588f2cfcd299409d491ef1174c54a182dd59b5a8e298a07312899c8f8b5a8aaa63e6b31deb5f8b1cd3131e SHA512 2539f36b7110cacd6cf95e9ba0be26ca837a66ba81f092d4be01405029adf22478184861f46ecf09d6cd35927140874e0f0d228b06537d05f3e2eddbcb35da85 DIST pyephem-4.1.3.gh.tar.gz 2660800 BLAKE2B 272a96dfe5debe083274f911737246ea90dc15b12b141e41c018d0b4eff13e548fe1d99cfb75ea7d06d7784cd9cbce7f43149a08de051cd9e12a4b5d6a306607 SHA512 1d113e1adbe5c8175364a29ae405d80005e54a4f60d475534d6721dc51b4f58d314ad161ddaf791614fcd4b0550e4b2142f4e52ec4771ca0d1be6b10f3f8cc4d EBUILD pyephem-3.7.7.1.ebuild 1067 BLAKE2B 45c390e9a9e361bc8c817b83c07b240c1706a182e47f3455f75cf0e6559207c6d177cd170f902c08c287df40308df7fe73ca666b5c802a192549673b46f164c2 SHA512 d4555ab691276a8e5557f34ad36f0fdc541b4029e89a1be166730dc7987fe1cf3644fea30d182d19067b2d19bff56032457d16981921307bd4583d4f2443f324 EBUILD pyephem-4.1.1.ebuild 1215 BLAKE2B 969f13d53df7534d38ccc6d4f665c8fcfc42ef438886618f93bce50f9dfefc3631d32c2c8c2eea121a7efe02d60627438f287a7781cff7431ac8989dc11168da SHA512 d67c63022b7839cfdd3f5ecd45b483837ac4fefcce2def5c53341c3744ab2451b744ed587c195eb14374c335eb1c03e3303a71d473b92f8f741c7bdc0d4861c7 -EBUILD pyephem-4.1.3.ebuild 1217 BLAKE2B 5cfd5c9545b4fbf16b5e432cb79ebbf0007be8d931ea9c668b7e731ede84dd542ae726d5050d756a0c29de37700e6af39df6dca2b6a707745d0f023f952ff225 SHA512 51d1dce42ae410d84603a1216a162e62af1fd7c8a8e392746f691f0eb069c45c2e7db241c76580c76aa72c036b4bb5014fd9786e010b2a32ff09a56e0851468d -MISC metadata.xml 948 BLAKE2B f59f025e5ef3d44d0d7b53a82cbbe217b16a1fcf8ffad27e8c00a7faf705aa9d61434b0bc732bdb8b13917ea68532584809aac031f6884252c456fe025d3b07e SHA512 7f0a1edc80a06ac1ef41a18adfa0237700b4b2aef1d8ca48c51242ff8b2ef0d4bc983b7a2419d5f6033fdbaf5a7d8e3a53b57e40b315b8e1a5717572c2811c24 +EBUILD pyephem-4.1.3.ebuild 1265 BLAKE2B e0e2038cafddc129766d10af59d4f64ebc02a9de3d41ffe547bc96f94a24779f992509783f9a2fdeb465951181786d62277227708a7d2887e16b2b57cacb200d SHA512 446676a2b1d0d2aeee64e69efbfa2e4f4937b50be48e3f5a1c92d212652f53d589e3cdc6e5de9e59f782cffd2addded75d2728d5152e22e08b8bbb1fceeb9bbf +MISC metadata.xml 1010 BLAKE2B 3d603ea6d647cc50bcc0a0f31704a6e201e6deff6694f7604b3dd39184eeb6ca7fe72b38772aca9c89f0d7185b5ed14f9ff67ba624aba68baaa358ad893bbc59 SHA512 c09f86ba1462ad279f3336165a7b8be4cae8499de3a16282e658bf76eb60ddbe0cb86b9d8f5a74edec2dd4c148c66d687c6becd5f84df9483b0f9bf1beb9eec5 diff --git a/sci-astronomy/pyephem/files/pyephem-4.1.3-clang-15.patch b/sci-astronomy/pyephem/files/pyephem-4.1.3-clang-15.patch new file mode 100644 index 000000000000..0e780dac1ed3 --- /dev/null +++ b/sci-astronomy/pyephem/files/pyephem-4.1.3-clang-15.patch @@ -0,0 +1,36 @@ +https://github.com/brandon-rhodes/pyephem/commit/df7bba8e27208fbe335b0ac2f79ae77818f52dd3 +https://bugs.gentoo.org/874543 + +From df7bba8e27208fbe335b0ac2f79ae77818f52dd3 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Wed, 31 Aug 2022 02:58:26 -0700 +Subject: [PATCH] Don't set tp_print on Python 3 (#245) + +In 3.8 it produces a compilation warning; in earlier versions it is ignored. +--- a/extensions/_libastro.c ++++ b/extensions/_libastro.c +@@ -372,7 +372,11 @@ static PyTypeObject AngleType = { + sizeof(AngleObject), + 0, + 0, /* tp_dealloc */ ++#if PY_MAJOR_VERSION < 3 + Angle_print, /* tp_print */ ++#else ++ 0, /* reserved in 3.x */ ++#endif + 0, /* tp_getattr */ + 0, /* tp_setattr */ + 0, /* tp_compare */ +@@ -669,7 +673,11 @@ static PyTypeObject DateType = { + sizeof(PyFloatObject), + 0, + 0, /* tp_dealloc */ ++#if PY_MAJOR_VERSION < 3 + Date_print, /* tp_print */ ++#else ++ 0, /* tp_print slot is reserved and unused in Python 3 */ ++#endif + 0, /* tp_getattr */ + 0, /* tp_setattr */ + 0, /* tp_compare */ + diff --git a/sci-astronomy/pyephem/metadata.xml b/sci-astronomy/pyephem/metadata.xml index 1b4ce5d0fbf1..bde9628b61e6 100644 --- a/sci-astronomy/pyephem/metadata.xml +++ b/sci-astronomy/pyephem/metadata.xml @@ -17,6 +17,7 @@ day. + brandon-rhodes/pyephem pyephem diff --git a/sci-astronomy/pyephem/pyephem-4.1.3.ebuild b/sci-astronomy/pyephem/pyephem-4.1.3.ebuild index 423ccb34c62e..1cece963befb 100644 --- a/sci-astronomy/pyephem/pyephem-4.1.3.ebuild +++ b/sci-astronomy/pyephem/pyephem-4.1.3.ebuild @@ -19,6 +19,10 @@ IUSE="doc" BDEPEND="doc? ( dev-python/sphinx )" +PATCHES=( + "${FILESDIR}"/${P}-clang-15.patch +) + EPYTEST_DESELECT=( # Can't find its test files (class not loaded properly in test env?) # bug #855461 -- cgit v1.2.3