diff options
Diffstat (limited to 'dev-python/dulwich')
-rw-r--r-- | dev-python/dulwich/Manifest | 2 | ||||
-rw-r--r-- | dev-python/dulwich/dulwich-0.22.5-r1.ebuild (renamed from dev-python/dulwich/dulwich-0.22.5.ebuild) | 20 |
2 files changed, 8 insertions, 14 deletions
diff --git a/dev-python/dulwich/Manifest b/dev-python/dulwich/Manifest index 78a8d8bdd0a9..a96d66727259 100644 --- a/dev-python/dulwich/Manifest +++ b/dev-python/dulwich/Manifest @@ -31,5 +31,5 @@ DIST unicode-ident-1.0.13.crate 43279 BLAKE2B b5e935020d1c9f3aa24f7d382f6b73d651 DIST unindent-0.2.3.crate 7306 BLAKE2B a57407b117e99c230750c7d4a2a0899586c8271e4ba88ecb409c976905c014f42885372c234a75fbfbedf71dbed779f95f735975d150adacdcb61152a49db4c2 SHA512 2f1eb420ea3653b00d3e5fa0c2c105da8fd8a37cb3e699373c168604b799fccd5f0faf0cddce4212d119c2afb0c86b41efc3a50752b83ff7beda2bd84d360505 EBUILD dulwich-0.21.7-r1.ebuild 1663 BLAKE2B 7aec8e4ce4ae679b5c45b7162c6d4976f9a96cbf19c2137480f206e7107125bb9047a529edd22a0b0df73ab8926e3bd237c43c4c267b5aebc83a9091f495a66b SHA512 ddf38c8d28a17fe0332977dcf9407d6ecafecb9f08f0148fd2bb50be9ded1cd897c4108d34fb8f54bfeabf684d89048a9482ed7c99626c2eba2e811407248d12 EBUILD dulwich-0.22.4-r1.ebuild 2465 BLAKE2B ee055671ad413539031db7b6cf5ce123245300c366df7ca5de24a0c9127ea308cd7c62beff57682b263f31232fbb7336ac0746cbf6f3e96c6b87a6f6720e6e2c SHA512 48edf42bded1cef70dd5e7cae19aee8080b11797ec656472e9c639750df39e469189e0d851420d2572045f2b991c655828f92b12fd749d25e2d910386a6d434e -EBUILD dulwich-0.22.5.ebuild 2605 BLAKE2B 3e15e077d1d610c5a15643004e78e5b190f1d5bac7e512e348549ee5d11f6bb83ee4be4880bb9252e04c2b9ea0d8d9c64252b9c6cae396df201ef17352650ace SHA512 a730a3ccbfc405a7bfa8a9b099a9016fa98e74b7a44f497fb6f3f2817aded30900ab3b167f06c4ae331f6619d941ed6ac485e844edd19a0c641bc28487e0bec0 +EBUILD dulwich-0.22.5-r1.ebuild 2512 BLAKE2B 9ad1b7c8aac19b40a02e6777aaf4d37cc1aac697bbe6fc89e235d521d0ba1f0f27a2ebcd75f7ad6aeb9ee4c50f0a55e5cd6a2a2ff042ed75c0ce48dc265ae67c SHA512 3badca5f7819aa32a1d11c242d489a3ee6ac4d7dcc90cbd4726c453212629042b2c53c9f42b9c8c4b9e6283d46444c1f8ac05e8367999dc46ddb02a3f7bd8cb8 MISC metadata.xml 556 BLAKE2B 240554ff522160e9508bf6debadafcc44b5ccc4074dd4c9d3ce82358963084c60a1afae9fafee6ab1e6e5d898940ccb4d1b524cebff155e61bf6707c9396b647 SHA512 a7cdca224a01d5bd26bf4a5adb0273977ddff61f75cd02f5642132656fd0c6608114617efcb068d834f107804666cf4fb3725967e804b73d2ddcb67342dc30de diff --git a/dev-python/dulwich/dulwich-0.22.5.ebuild b/dev-python/dulwich/dulwich-0.22.5-r1.ebuild index db1bb455ba7f..a237b8715cf7 100644 --- a/dev-python/dulwich/dulwich-0.22.5.ebuild +++ b/dev-python/dulwich/dulwich-0.22.5-r1.ebuild @@ -74,21 +74,15 @@ distutils_enable_sphinx docs QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/dulwich/_.*.so" -src_unpack() { - cargo_src_unpack +pkg_setup() { + # avoid rust_pkg_setup which will die when there's no Rust found + if use native-extensions ; then + rust_pkg_setup # implicitly inherited through cargo + fi } -src_prepare() { - default - - if use !native-extensions; then - # avoid hard dep on rust via setuptools_rust - # https://github.com/jelmer/dulwich/issues/1405 - sed -i \ - -e '/from setuptools_rust/d' \ - -e '/^rust_extensions = \[/,/^\]/d' \ - setup.py || die - fi +src_unpack() { + cargo_src_unpack } python_compile() { |