Search
SailfishOS Open Build Service
>
Projects
>
home:eenemo
:
branches:mer:mds2:Core:i486:master
>
python3
> python3.yaml
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File python3.yaml of Package python3
Name: python3 Summary: An interpreted, interactive, object-oriented programming language Version: 3.3.2 Release: 1 Group: Development/Languages License: Python URL: http://www.python.org/ Sources: - http://www.python.org/ftp/python/%{version}/Python-%{version}.tar.xz - macros.python3 Patches: - cgi-py-shebang.patch - notimestamp.patch Description: | Python 3 is a new version of the language that is incompatible with the 2.x line of releases. The language is mostly the same, but many details, especially how built-in objects like dictionaries and strings work, have changed considerably, and a lot of deprecated features have finally been removed. This package provides the "python3" executable; most of the actual implementation is within the "python3-libs" package. PkgConfigBR: - libffi - liblzma - ncursesw - openssl - sqlite3 PkgBR: - bzip2 - bzip2-devel - db4-devel - gdbm-devel - readline-devel # - gcc # - pkgconfig # - tar Provides: - python3-abi = %{pybasever} SetupOptions: -q -n Python-%{version} Configure: configure ConfigOptions: - --enable-ipv6 - --enable-shared - --with-system-ffi Builder: make Files: - "%doc LICENSE README" - "%{_bindir}/pydoc3*" - "%{_bindir}/python3" - "%{_bindir}/python%{pybasever}" - "%{_bindir}/python%{pybasever}m" - "%{_bindir}/pyvenv" - "%{_bindir}/pyvenv-%{pybasever}" - "%{_mandir}/*/*" Check: no #non-standard check (pre-install), see spec build post # #note: #brp-python-bytecompile in __os_install_post will use /usr/bin/python [2.7] #instead of this build. so redefine __os_install_post [see spec] to remove it. #even with this, rpmlint output on obs [endless occurrences]: #python3-test.i486: W: python-bytecode-wrong-magic-value /usr/lib/python3.3/test/json_tests/__pycache__/test_default.cpython-33.pyc expected 3190 (3.3), found 3230 (unknown) #but builds fine in sb2. # SubPackages: - Name: libs Summary: Python 3 runtime libraries Group: Applications/System Description: | This package contains runtime libraries for use by Python 3 Files: - "%dir %{pylibdir}" - - "%dir %{dynload_dir}" - "%{dynload_dir}/*.so" - "#warning, hardwired SOVERSION 1.0" - "%{_libdir}/libpython%{pybasever}m.so.1.0" - "%{_libdir}/libpython%{pybasever}m.so" - "%{_libdir}/libpython3.so" - - "%dir %{pylibdir}/site-packages" - "%{pylibdir}/site-packages/README" - "%{pylibdir}/*.py" - "%{pylibdir}/__pycache__" - - "#see -tests pkg for others" - "%dir %{pylibdir}/test" - "%dir %{pylibdir}/test/__pycache__" - "%{pylibdir}/test/__init__.py" - "%{pylibdir}/test/support.py" - "%{pylibdir}/test/__pycache__/__init__.*" - "%{pylibdir}/test/__pycache__/support.*" - - "%{pylibdir}/collections" - "%{pylibdir}/concurrent" - - "%{pylibdir}/ctypes" - "%exclude %{pylibdir}/ctypes/test" - - "%{pylibdir}/curses" - "%{pylibdir}/dbm" - - "%{pylibdir}/distutils" - "%exclude %{pylibdir}/distutils/tests" - - "%{pylibdir}/email" - "%exclude %{pylibdir}/email/architecture.rst" - "%doc %{pylibdir}/email/architecture.rst" - - "%{pylibdir}/encodings" - "%{pylibdir}/html" - "%{pylibdir}/http" - "%{pylibdir}/importlib" - "%{pylibdir}/json" - - "%{pylibdir}/lib2to3" - "%exclude %{pylibdir}/lib2to3/tests" - - "%{pylibdir}/logging" - "%{pylibdir}/multiprocessing" - "%{pylibdir}/plat-linux" - "%{pylibdir}/pydoc_data" - - "%{pylibdir}/sqlite3" - "%exclude %{pylibdir}/sqlite3/test" - - "%{pylibdir}/unittest" - "%exclude %{pylibdir}/unittest/test" - - "%{pylibdir}/urllib" - "%{pylibdir}/venv" - "%{pylibdir}/wsgiref" - "%{pylibdir}/xml" - "%{pylibdir}/xmlrpc" - - "#needed by distutils" - "%dir %{pylibdir}/config-%{pybasever}m" - "%{pylibdir}/config-%{pybasever}m/Makefile" - "%dir %{_includedir}/python%{pybasever}m" - "%{_includedir}/python%{pybasever}m/pyconfig.h" - Name: test Summary: The test modules from the main python3 package Group: Development/Languages Description: | The test modules from the main python 3 package These are in a separate package to save space, as they are never or almost never used in production. You might want to install the python3-test package if you are developing python code that uses more than just unittest and/or support.py. Files: - "%{pylibdir}/test" - "%exclude %{pylibdir}/test/__init__.py" - "%exclude %{pylibdir}/test/support.py" - "%exclude %{pylibdir}/test/__pycache__/__init__.*" - "%exclude %{pylibdir}/test/__pycache__/support.*" - "%{pylibdir}/ctypes/test" - "%{pylibdir}/distutils/tests" - "%{pylibdir}/lib2to3/tests" - "%{pylibdir}/sqlite3/test" - "%{pylibdir}/unittest/test" - Name: tools Summary: A collection of development tools included with Python Group: Development/Tools Description: | This package includes several tools to help with the development of Python 3 programs. Provides: - python3-tools = %{version} Obsoletes: - python3-tools < %{version} Files: - "%{_bindir}/python3-2to3" - "%{_bindir}/2to3-%{pybasever}" - Name: devel Summary: The libraries and header files needed for Python 3 development Group: Development/Libraries Description: | The Python 3 programming language's interpreter can be extended with dynamically loaded extensions and can be embedded in other programs. This package contains the header files and libraries needed to do these types of tasks. Provides: - python3-devel = %{version}-%{release} Obsoletes: - python3-devel < %{version}-%{release} Files: - "%{_bindir}/python3-config" - "%{_bindir}/python%{pybasever}-config" - "%{_bindir}/python%{pybasever}m-config" - - "%{_libdir}/pkgconfig/python3.pc" - "%{_libdir}/pkgconfig/python-%{pybasever}.pc" - "%{_libdir}/pkgconfig/python-%{pybasever}m.pc" - - "%{pylibdir}/config-%{pybasever}m" - "%exclude %{pylibdir}/config-%{pybasever}m/Makefile" - - "%{_includedir}/python%{pybasever}m/*.h" - "%exclude %{_includedir}/python%{pybasever}m/pyconfig.h" #todo: macros.python3?