Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 469856 - dev-python/python-memcached: migrate to distutils-r1
Summary: dev-python/python-memcached: migrate to distutils-r1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2013-05-14 16:29 UTC by Michael Palimaka (kensington)
Modified: 2013-05-22 14:46 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
python-memcached-1.48-distutils-r1.patch (python-memcached-1.48-distutils-r1.patch,1.50 KB, patch)
2013-05-14 16:29 UTC, Michael Palimaka (kensington)
Details | Diff
python-memcached-1.48-distutils-r1.patch (python-memcached-1.48-distutils-r1.patch,1.48 KB, patch)
2013-05-14 16:49 UTC, Michael Palimaka (kensington)
Details | Diff
python-memcached-1.48-distutils-r1.patch (python-memcached-1.48-distutils-r1.patch,1.50 KB, patch)
2013-05-14 17:55 UTC, Michael Palimaka (kensington)
Details | Diff
python-memcached-1.48-r1.patch (python-memcached-1.48-r1.patch,1.52 KB, patch)
2013-05-22 09:06 UTC, Michael Palimaka (kensington)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Palimaka (kensington) gentoo-dev 2013-05-14 16:29:54 UTC
Created attachment 348324 [details, diff]
python-memcached-1.48-distutils-r1.patch

Attached is a suggested patch.
Comment 1 Michael Palimaka (kensington) gentoo-dev 2013-05-14 16:49:57 UTC
Created attachment 348326 [details, diff]
python-memcached-1.48-distutils-r1.patch

Slightly revised patch.
Comment 2 Mike Gilbert gentoo-dev 2013-05-14 17:29:38 UTC
There is no need to override src_test and call python_foreach_impl manually; please define a python_test() function and run the test from that.
Comment 3 Michael Palimaka (kensington) gentoo-dev 2013-05-14 17:55:50 UTC
Created attachment 348340 [details, diff]
python-memcached-1.48-distutils-r1.patch

Updated patch based on feedback.
Comment 4 Ian Delaney (RETIRED) gentoo-dev 2013-05-19 05:26:39 UTC
looks good; couple of little ones;
${BUILD_DIR}/lib needs the usual "" -> "${BUILD_DIR}"/lib
popd > /dev/null is correct but in the flow, it's the last step of python_test, the next step will cd anyway, so it can be simply left out.
I ran it, the test phase works fine & fails horribly.
Anyone else before adding to portage?
Comment 5 Michael Palimaka (kensington) gentoo-dev 2013-05-22 09:06:11 UTC
Created attachment 348884 [details, diff]
python-memcached-1.48-r1.patch

Revised patch to fix quoting and test issue - they cannot be run in parallel.
Comment 6 Ian Delaney (RETIRED) gentoo-dev 2013-05-22 14:46:32 UTC
  22 May 2013; Ian Delaney <idella4@gentoo.org>
  +python-memcached-1.48-r1.ebuild:
  revbump, migrate -> distutils-r1, closes Bug #469856 by kensington