Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 524212 - dev-python/pyrax-1.9.2_p9999 live ebuild
Summary: dev-python/pyrax-1.9.2_p9999 live ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Alex Brandt (RETIRED)
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2014-10-01 15:55 UTC by Chicago
Modified: 2014-11-01 19:58 UTC (History)
3 users (show)

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


Attachments
pyrax-1.9.2_p9999.ebuild (pyrax-1.9.2_p9999.ebuild,1.31 KB, text/plain)
2014-10-01 15:56 UTC, Chicago
Details
ChangeLog for pyrax-1.9.2_p9999 (ChangeLog,2.66 KB, text/plain)
2014-10-01 15:58 UTC, Chicago
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chicago 2014-10-01 15:55:02 UTC
Updated the existing dev-python/pyrax-9999 ebuild so it will run the test suite - adding dependencies for dev-python/nose and dev-python/rax-scheduled-images-python-novaclient-ext.

pyrax-9999.ebuild does not have full dependencies to pass the test suite with version 1.9.2 so dev-python/pyrax-1.9.2_p9999 has been submitted for consideration.

Reproducible: Always

Steps to Reproduce:
1. emerge =dev-python/pyrax-9999.ebuild with FEATURES="test" USE="test"
2. dev-python/nose missing from dependencies causes tests to fail
3. dev-python/rax-scheduled-images-python-novaclient-ext missing from dependencies causes tests to fail
Actual Results:  
Test suite fails.

Expected Results:  
Test suite passes.

Portage 2.2.8-r2 (hardened/linux/amd64/no-multilib, gcc-4.7.3, glibc-2.19-r1, 3.15.8-hardened x86_64)
=================================================================
System uname: Linux-3.15.8-hardened-x86_64-Intel-R-_Xeon-R-_CPU_X3360_@_2.83GHz-with-gentoo-2.2
KiB Mem:     8229860 total,   6354844 free
KiB Swap:   12582908 total,  12582908 free
Timestamp of tree: Wed, 01 Oct 2014 14:45:01 +0000
ld GNU ld (Gentoo 2.23.2 p1.0) 2.23.2
app-shells/bash:          4.2_p50-r1
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.7, 3.3.5-r1
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.15 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo ShoutIRC-Radio-Bot Rackspace-Overlay
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--ask-enter-invalid --autounmask-unrestricted-atoms y --autounmask-write y --complete-graph y --with-bdeps y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg candy cgroup clean-logs collision-protect compress-build-logs config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles ipc-sandbox merge-sync metadata-transfer mirror multilib-strict network-sandbox news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync webrsync-gpg xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/opt/overlay/ShoutIRC /opt/overlay/Rackspace"
SYNC="rsync://rsync25.us.gentoo.org/gentoo-portage"
USE="X aac acl alsa amd64 ao apache2 berkdb bzip2 cairo caps cddb cgi cli cracklib crypt cscope cups cvs cxx dbus djvu doc dri emacs encode examples expat ffmpeg fftw flac fontconfig fortran freetds gcj gd gdbm gmp gnome-keyring gnutls gpm graphviz gsm gstreamer gtk hardened iconv icu idn ieee1394 ipv6 jack java jbig jit jpeg jpeg2k justify ladspa lapack latex libass libcaca libffi libnotify lua lzma mad mmap mmx modplug modules mp3 mpi mysql nas ncurses nls nptl nsplugin ocaml odbc offensive ogg openal opengl openmp oss pam pax_kernel pcre perl png portaudio pulseaudio python readline ruby samba sasl sdl session sndfile source speex spell sqlite sse sse2 sse3 ssl ssse3 subversion suid syslog tcl tcmalloc tcpd theora threads tiff tk truetype udev unicode urandom usb vdpau vim-syntax vorbis wavpack webkit wxwidgets x264 xattr xcb xinetd xml xpm xtpax xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CURL_SSL="gnutls" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" NGINX_MODULES_HTTP="access addition ajp auth_basic auth_pam auth_request autoindex browser cache_purge charset dav dav_ext degradation echo empty_gif fancyindex fastcgi flv geo geoip gunzip gzip gzip_static headers_more image_filter limit_conn limit_req map memcached metrics mogilefs mp4 naxsi perl proxy push_stream random_index realip referer rewrite scgi secure_link security slowfs_cache split_clients ssi sticky stub_status sub upload_progress upstream_check upstream_ip_hash userid uwsgi xslt" NGINX_MODULES_MAIL="imap pop3 smtp" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Chicago 2014-10-01 15:56:49 UTC
Created attachment 385894 [details]
pyrax-1.9.2_p9999.ebuild

Ebuild Submission for =dev-python/pyrax-1.9.2_p9999
Comment 2 Chicago 2014-10-01 15:58:15 UTC
Created attachment 385896 [details]
ChangeLog for pyrax-1.9.2_p9999

Updated ChangeLog
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2014-10-01 23:29:29 UTC
Comment on attachment 385894 [details]
pyrax-1.9.2_p9999.ebuild

--- pyrax-9999.ebuild   2014-07-10 12:56:47.925982364 +0200
+++ -   2014-10-02 01:28:55.630283540 +0200
@@ -5,11 +5,13 @@
 EAPI=5
 PYTHON_COMPAT=( python2_7 )

-inherit distutils-r1 git-2
+inherit distutils-r1 git-r3

 EGIT_REPO_URI="git://github.com/rackspace/${PN}.git
        https://github.com/rackspace/${PN}.git"

+EGIT_MIN_CLONE_TYPE="single"
+EGIT_COMMIT="v1.9.2"
 DESCRIPTION="Python SDK for OpenStack/Rackspace APIs"
 HOMEPAGE="https://github.com/openstack/python-novaclient"

@@ -21,7 +23,9 @@
 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
                test? ( dev-python/mock
                                >=dev-python/python-novaclient-2.10.0[${PYTHON_USEDEP}]
-                               dev-python/python-swiftclient[${PYTHON_USEDEP}] )"
+                               dev-python/python-swiftclient[${PYTHON_USEDEP}]
+                               dev-python/nose[${PYTHON_USEDEP}]
+                               dev-python/rax-scheduled-images-python-novaclient-ext[${PYTHON_USEDEP}] )"
 RDEPEND="
                dev-python/httplib2[${PYTHON_USEDEP}]
                dev-python/keyring[${PYTHON_USEDEP}]
@@ -29,7 +33,8 @@
                >=dev-python/python-novaclient-2.10.0[${PYTHON_USEDEP}]
                dev-python/python-swiftclient[${PYTHON_USEDEP}]
                dev-python/rackspace-novaclient[${PYTHON_USEDEP}]
-               dev-python/simplejson[${PYTHON_USEDEP}]"
+               dev-python/simplejson[${PYTHON_USEDEP}]
+               dev-python/rax-scheduled-images-python-novaclient-ext[${PYTHON_USEDEP}]"

 python_test() {
        "${PYTHON}" setup.py nosetests || die
Comment 4 Alex Brandt (RETIRED) gentoo-dev 2014-10-04 15:17:45 UTC
I might still be a bit naïve but wouldn't pinning the version to a particular tag mean this is not a 9999 build but just a normal release build?
Comment 5 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2014-10-04 16:18:32 UTC
if it's a tag yes, if it's a branch no
Comment 6 Alex Brandt (RETIRED) gentoo-dev 2014-10-25 20:47:14 UTC
Hey Christopher,

It looks like this ebuild is pinned to a particular version or tag.  Is there a need for a live ebuild on a branch of pyrax?  What are you looking for as a solution from this bug?  Is it just the addition of passing test suites to the ebuild?
Comment 7 Chicago 2014-10-26 01:15:23 UTC
Hi Alex,

    The reason I contributed this updated ebuild is twofold.
    First, it does pass the test suite which the existing -9999 ebuild fails to do.

    The choice in naming the ebuild was to express it is a live ebuild of the current release, v1.9.2.

    This will permit the ebuild working as expected in the future when master has advanced beyond the current commit.

    Also, if there is some bug fix to v1.9.2 (tagged), this ebuild will be able to capture those changes.

    Since the Portage tree only has a v1.7.2 release - - I felt it would be helpful to others to grab the latest stable release and to see the test suite pass.


-Chris
Comment 8 Alex Brandt (RETIRED) gentoo-dev 2014-10-26 16:14:21 UTC
Alright, I'll go ahead and add this to my overlay while I review it and try to get this in the tree soon.  Is it worth it to have a live ebuild for pyrax or are up to date releases good enough?

I also don't show any current attachments.  Should I use one of the obsolete as a starting point?
Comment 9 Alex Brandt (RETIRED) gentoo-dev 2014-11-01 15:52:43 UTC
Added dev-python/pyrax-1.9.2.ebuild to my overlay.  Let me know if I missed anything that was in a version attached here that needs to be included.  Otherwise, as soon as I get a chance to test the install I'll go ahead and add this bump to the tree.
Comment 10 Alex Brandt (RETIRED) gentoo-dev 2014-11-01 19:58:54 UTC
Got 1.9.2 passing tests and added to the tree.  Everything looks good from my end but if anyone sees anything differently; please, let me know.