Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update py2-chardet.spec #3620

Merged
merged 1 commit into from Dec 8, 2017
Merged

Conversation

smuzaffar
Copy link
Contributor

If chardet is already available then package is build with no contents.

+ pip install --user -v --no-deps chardet-3.0.4.tar.gz
Processing ./chardet-3.0.4.tar.gz
  Running setup.py (path:tmp/pip-Li_eTP-build/setup.py) egg_info for package from file://BUILD/slc6_amd64_gcc630/external/py2-chardet/3.0.4-npnolj2/chardet-3.0.4.tar.gz
    Running command python setup.py egg_info
    running egg_info
    creating pip-egg-info/chardet.egg-info
    writing pip-egg-info/chardet.egg-info/PKG-INFO
    writing top-level names to pip-egg-info/chardet.egg-info/top_level.txt
    writing dependency_links to pip-egg-info/chardet.egg-info/dependency_links.txt
    writing entry points to pip-egg-info/chardet.egg-info/entry_points.txt
    writing manifest file 'pip-egg-info/chardet.egg-info/SOURCES.txt'
    warning: manifest_maker: standard file '-c' not found

    reading manifest file 'pip-egg-info/chardet.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    warning: no files found matching 'requirements.txt'
    writing manifest file 'pip-egg-info/chardet.egg-info/SOURCES.txt'
  Source in tmp/pip-Li_eTP-build has version 3.0.4, which satisfies requirement chardet==3.0.4 from file://BUILD/slc6_amd64_gcc630/external/py2-chardet/3.0.4-npnolj2/chardet-3.0.4.tar.gz
  Requirement already satisfied (use --upgrade to upgrade): chardet==3.0.4 from file://BUILD/slc6_amd64_gcc630/external/py2-chardet/3.0.4-npnolj2/chardet-3.0.4.tar.gz in /opt/py2-packages
Cleaning up...
  Removing source in tmp/pip-Li_eTP-build
+ touch BUILD/slc6_amd64_gcc630/external/py2-chardet/3.0.4-npnolj2/files

with force --upgrade it build the package fine. For now I am only added --upgrade for py2-chardet but we might want to add it in build-with-pip.file so that all packages can make use of it.

  Source in w2/tmp/pip-nqmwRr-build has version 3.0.4, which satisfies requirement chardet==3.0.4 from file:/BUILD/slc6_amd64_gcc630/external/py2-chardet/3.0.4-cms/chardet-3.0.4.tar.gz
Installing collected packages: chardet
  Running setup.py install for chardet: started
    Running command slc6_amd64_gcc630/external/python/2.7.11-fmblme/bin/python -u -c "import setuptools, tokenize;__file__='tmp/pip-nqmwRr-build/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record tmp/pip-ZvPyO3-record/install-record.txt --single-version-externally-managed --compile --user --prefix=
    running install
    running build
    running build_py
    creating build
    creating build/lib
    creating build/lib/chardet
    copying chardet/big5prober.py -> build/lib/chardet

If chardet is already available then package is build with no contents.
```
+ pip install --user -v --no-deps chardet-3.0.4.tar.gz
Processing ./chardet-3.0.4.tar.gz
  Running setup.py (path:tmp/pip-Li_eTP-build/setup.py) egg_info for package from file://BUILD/slc6_amd64_gcc630/external/py2-chardet/3.0.4-npnolj2/chardet-3.0.4.tar.gz
    Running command python setup.py egg_info
    running egg_info
    creating pip-egg-info/chardet.egg-info
    writing pip-egg-info/chardet.egg-info/PKG-INFO
    writing top-level names to pip-egg-info/chardet.egg-info/top_level.txt
    writing dependency_links to pip-egg-info/chardet.egg-info/dependency_links.txt
    writing entry points to pip-egg-info/chardet.egg-info/entry_points.txt
    writing manifest file 'pip-egg-info/chardet.egg-info/SOURCES.txt'
    warning: manifest_maker: standard file '-c' not found

    reading manifest file 'pip-egg-info/chardet.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    warning: no files found matching 'requirements.txt'
    writing manifest file 'pip-egg-info/chardet.egg-info/SOURCES.txt'
  Source in tmp/pip-Li_eTP-build has version 3.0.4, which satisfies requirement chardet==3.0.4 from file://BUILD/slc6_amd64_gcc630/external/py2-chardet/3.0.4-npnolj2/chardet-3.0.4.tar.gz
  Requirement already satisfied (use --upgrade to upgrade): chardet==3.0.4 from file://BUILD/slc6_amd64_gcc630/external/py2-chardet/3.0.4-npnolj2/chardet-3.0.4.tar.gz in /opt/py2-packages
Cleaning up...
  Removing source in tmp/pip-Li_eTP-build
+ touch BUILD/slc6_amd64_gcc630/external/py2-chardet/3.0.4-npnolj2/files
```
with force --upgrade it build the package fine. For now I am only added --upgrade for py2-chardet but we might want to add it in build-with-pip.file so that all packages can make use of it.
@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 8, 2017

A new Pull Request was created by @smuzaffar (Malik Shahzad Muzaffar) for branch IB/CMSSW_10_0_X/gcc630.

@cmsbuild, @smuzaffar, @gudrutis, @mrodozov can you please review it and eventually sign? Thanks.
You can sign-off by replying to this message having '+1' in the first line of your reply.
You can reject by replying to this message having '-1' in the first line of your reply.

@smuzaffar smuzaffar deleted the smuzaffar-patch-5 branch December 12, 2017 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants