Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Mar 2015 21:05:59 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 199077] [patch] devel/pep8: make port concurrent
Message-ID:  <bug-199077-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199077

            Bug ID: 199077
           Summary: [patch] devel/pep8: make port concurrent
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: sbz@FreeBSD.org
          Reporter: rsmith@xs4all.nl
          Keywords: patch
          Assignee: sbz@FreeBSD.org
                CC:
             Flags: maintainer-feedback?(sbz@FreeBSD.org)

Created attachment 155068
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=155068&action=edit
Patch for devel/pep8 port Makefile

A one-line change (see attached patch) to the port's Makefile makes this port
concurrent.

Tested with Python 3.4;

Script started on Tue Mar 31 22:36:00 2015
root@slackbox:/usr/ports/devel/pep8 # diff -u Makefile.orig Makefile
--- Makefile.orig    2015-03-31 22:31:17.000000000 +0200
+++ Makefile    2015-03-31 22:31:48.000000000 +0200
@@ -13,7 +13,7 @@
 LICENSE=    MIT

 USES=        python
-USE_PYTHON=    distutils autoplist
+USE_PYTHON=    distutils autoplist concurrent py3kplist

 regression-test: extract
     @(cd ${WRKSRC}; ${PYTHON_CMD} ${PORTNAME}.py \

root@slackbox:/usr/ports/devel/pep8 # portlint
looks fine.

root@slackbox:/usr/ports/devel/pep8 # env DEVELOPER=yes
PYTHON_VERSION=python3.4 make stage
===>  License MIT accepted by the user
===>   py34-pep8-1.5.7 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by py34-pep8-1.5.7 for building
===>  Extracting for py34-pep8-1.5.7
=> SHA256 Checksum OK for pep8-1.5.7.tar.gz.
===>  Patching for py34-pep8-1.5.7
===>   py34-pep8-1.5.7 depends on package: py34-setuptools34>0 - found
===>   py34-pep8-1.5.7 depends on file: /usr/local/bin/python3.4 - found
===>  Configuring for py34-pep8-1.5.7
running config
===>  Building for py34-pep8-1.5.7
running build
running build_py
creating build
creating build/lib
copying pep8.py -> build/lib
running egg_info
writing pep8.egg-info/PKG-INFO
writing top-level names to pep8.egg-info/top_level.txt
writing namespace_packages to pep8.egg-info/namespace_packages.txt
writing entry points to pep8.egg-info/entry_points.txt
writing dependency_links to pep8.egg-info/dependency_links.txt
reading manifest file 'pep8.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*.pyc' found under directory
'docs'
warning: no previously-included files matching '*.pyo' found under directory
'docs'
warning: no previously-included files matching '*.pyc' found under directory
'testsuite'
warning: no previously-included files matching '*.pyo' found under directory
'testsuite'
no previously-included directories found matching 'docs/_build'
writing manifest file 'pep8.egg-info/SOURCES.txt'
===>  Staging for py34-pep8-1.5.7
===>   py34-pep8-1.5.7 depends on package: py34-setuptools34>0 - found
===>   py34-pep8-1.5.7 depends on file: /usr/local/bin/python3.4 - found
===>   Generating temporary packing list
running install
running build
running build_py
running egg_info
writing entry points to pep8.egg-info/entry_points.txt
writing pep8.egg-info/PKG-INFO
writing namespace_packages to pep8.egg-info/namespace_packages.txt
writing top-level names to pep8.egg-info/top_level.txt
writing dependency_links to pep8.egg-info/dependency_links.txt
reading manifest file 'pep8.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*.pyc' found under directory
'docs'
warning: no previously-included files matching '*.pyo' found under directory
'docs'
warning: no previously-included files matching '*.pyc' found under directory
'testsuite'
warning: no previously-included files matching '*.pyo' found under directory
'testsuite'
no previously-included directories found matching 'docs/_build'
writing manifest file 'pep8.egg-info/SOURCES.txt'
running install_lib
creating /usr/ports/devel/pep8/work/stage/usr/local/lib/python3.4
creating /usr/ports/devel/pep8/work/stage/usr/local/lib/python3.4/site-packages
copying build/lib/pep8.py ->
/usr/ports/devel/pep8/work/stage/usr/local/lib/python3.4/site-packages
byte-compiling
/usr/ports/devel/pep8/work/stage/usr/local/lib/python3.4/site-packages/pep8.py
to pep8.cpython-34.pyc
writing byte-compilation script '/tmp/tmp6e6722g0.py'
/usr/local/bin/python3.4 -O /tmp/tmp6e6722g0.py
removing /tmp/tmp6e6722g0.py
running install_egg_info
Copying pep8.egg-info to
/usr/ports/devel/pep8/work/stage/usr/local/lib/python3.4/site-packages/pep8-1.5.7-py3.4.egg-info
running install_scripts
Installing pep8 script to /usr/ports/devel/pep8/work/stage/usr/local/bin
writing list of installed files to '/usr/ports/devel/pep8/work/.PLIST.pymodtmp'
===> Moving suffixed files around
  bin/pep8 --> bin/pep8-3.4
====> Compressing man pages (compress-man)
====> Running Q/A tests (stage-qa)

root@slackbox:/usr/ports/devel/pep8 # env DEVELOPER=yes
PYTHON_VERSION=python3.4 make check-plist
====> Checking for pkg-plist issues (check-plist)
===> Parsing plist
===> Checking for items in STAGEDIR missing from pkg-plist
===> Checking for items in pkg-plist which are not in STAGEDIR
===> No pkg-plist issues found (check-plist)

root@slackbox:/usr/ports/devel/pep8 # env DEVELOPER=yes
PYTHON_VERSION=python3.4 make package
===>  Building package for py34-pep8-1.5.7

Script done on Tue Mar 31 22:44:26 2015

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-199077-13>