summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTizenOpenSource <tizenopensrc@samsung.com>2024-02-06 17:49:33 +0900
committerTizenOpenSource <tizenopensrc@samsung.com>2024-02-06 17:49:33 +0900
commit23c27e93948c76be43a37746cfb5d0c276991161 (patch)
tree567f15039035b110bbbd79d976b15c43b06a6dea
parent57f7285a01046c15fcf0971b69d106a2db157b2e (diff)
downloadpython3-Cheetah-accepted/tizen_unified_dev.tar.gz
python3-Cheetah-accepted/tizen_unified_dev.tar.bz2
python3-Cheetah-accepted/tizen_unified_dev.zip
Signed-off-by: TizenOpenSource <tizenopensrc@samsung.com>
-rw-r--r--.gitignore12
-rw-r--r--__gbs_exported/python3-Cheetah-3.3.2b2-0/0001-Bump-to-3.3.2b2.patch140
-rw-r--r--__gbs_exported/python3-Cheetah-3.3.2b2-0/Cheetah-3.3.2b2.tar.gzbin0 -> 315173 bytes
-rw-r--r--__gbs_exported/python3-Cheetah-3.3.2b2-0/python3-Cheetah.manifest5
-rw-r--r--__gbs_exported/python3-Cheetah-3.3.2b2-0/python3-Cheetah.spec46
-rw-r--r--packaging/python3-Cheetah.manifest5
-rw-r--r--packaging/python3-Cheetah.spec41
7 files changed, 237 insertions, 12 deletions
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index 2b1008f..0000000
--- a/.gitignore
+++ /dev/null
@@ -1,12 +0,0 @@
-*.py[co]
-*.py.bak
-*.swp
-*.so
-.eggs/
-.tox/
-CT3.egg-info/
-build
-dist
-docs/*.html
-docs/_build/
-docs/html/
diff --git a/__gbs_exported/python3-Cheetah-3.3.2b2-0/0001-Bump-to-3.3.2b2.patch b/__gbs_exported/python3-Cheetah-3.3.2b2-0/0001-Bump-to-3.3.2b2.patch
new file mode 100644
index 0000000..1c5086e
--- /dev/null
+++ b/__gbs_exported/python3-Cheetah-3.3.2b2-0/0001-Bump-to-3.3.2b2.patch
@@ -0,0 +1,140 @@
+From: TizenOpenSource <tizenopensrc@samsung.com>
+Date: Wed, 9 Aug 2023 00:21:42 +0900
+Subject: Bump to 3.3.2b2
+
+Signed-off-by: TizenOpenSource <tizenopensrc@samsung.com>
+---
+ .github/workflows/test-publish.yaml | 124 ------------------------------------
+ 1 file changed, 124 deletions(-)
+ delete mode 100644 .github/workflows/test-publish.yaml
+
+diff --git a/.github/workflows/test-publish.yaml b/.github/workflows/test-publish.yaml
+deleted file mode 100644
+index b216b2a..0000000
+--- a/.github/workflows/test-publish.yaml
++++ /dev/null
+@@ -1,124 +0,0 @@
+-name: Test, build, publish
+-
+-# Run tests (all branches),
+-# for tags build wheels, publish wheels to PyPI and Github Releases.
+-
+-on: [push, pull_request]
+-
+-jobs:
+- run-tests:
+- env:
+- not_in_conda: "[]"
+-
+- strategy:
+- matrix:
+- os: [ubuntu-latest, macos-latest, windows-latest]
+- python-version: ["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "pypy3.7"]
+- include:
+- - os: ubuntu-latest
+- os-name: Linux
+- pip-cache-path: ~/.cache/pip
+- - os: macos-latest
+- os-name: MacOS
+- pip-cache-path: ~/Library/Caches/pip
+- - os: windows-latest
+- os-name: w32
+- pip-cache-path: ~\AppData\Local\pip\Cache
+- exclude:
+- - os: windows-latest
+- python-version: "pypy3.7"
+-
+- name: Python ${{ matrix.python-version }} @ ${{ matrix.os-name }}
+- runs-on: ${{ matrix.os }}
+-
+- steps:
+-
+- # Setup Python/pip
+- - uses: actions/checkout@v2
+- # Python 3.7 is needed for ghactions-release script
+- - uses: s-weigand/setup-conda@v1
+- with:
+- conda-channels: conda-forge
+- python-version: "3.7"
+- if: ${{ matrix.python-version == '2.7' && runner.os != 'Windows' && startsWith(github.ref, 'refs/tags/') }}
+- - uses: s-weigand/setup-conda@v1
+- with:
+- conda-channels: conda-forge
+- python-version: ${{ matrix.python-version }}
+- if: ${{ !contains(fromJSON(env.not_in_conda), matrix.python-version) }}
+- - uses: actions/setup-python@v4
+- with:
+- python-version: ${{ matrix.python-version }}
+- if: ${{ contains(fromJSON(env.not_in_conda), matrix.python-version) }}
+- - name: Cache pip
+- uses: actions/cache@v3
+- with:
+- path: ${{ matrix.pip-cache-path }}
+- key: ${{ runner.os }}-pip
+-
+- # Setup tox
+- - name: Install dependencies
+- run: |
+- python --version
+- python -m ensurepip
+- python -m pip install --upgrade pip setuptools wheel
+- pip --version
+- pip install --upgrade virtualenv "tox >= 3.15, < 4"
+- - name: Set TOXENV
+- run: |
+- import os, sys
+- ld_library_path = None
+- if hasattr(sys, 'pypy_version_info'):
+- toxenv = 'pypy3'
+- else:
+- pyver = '%d%d' % tuple(sys.version_info[:2])
+- if os.name == 'posix':
+- if pyver == '27': # Python 2.7 on Linux requires `$LD_LIBRARY_PATH`
+- ld_library_path = os.path.join(
+- os.path.dirname(os.path.dirname(sys.executable)), 'lib')
+- toxenv = 'py%s' % pyver
+- if os.name == 'posix':
+- toxenv += ',py%s-flake8' % pyver
+- with open(os.environ['GITHUB_ENV'], 'a') as f:
+- if ld_library_path:
+- f.write('LD_LIBRARY_PATH=' + ld_library_path + '\n')
+- f.write('TOXENV=' + toxenv + '\n')
+- print(toxenv)
+- shell: python
+-
+- - name: Run tox
+- run: |
+- python -c "import os; print(os.environ['TOXENV'])"
+- tox --version
+- tox
+-
+- - name: Build and publish sdist and wheel on Unix
+- run: |
+- devscripts/CI/ghactions-release
+- env:
+- TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
+- TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
+- if: ${{ runner.os != 'Windows' && startsWith(github.ref, 'refs/tags/') }}
+- - name: Build and publish wheel on w32
+- run: |
+- pip install -U pip setuptools twine wheel
+- python setup.py bdist_wheel
+- twine upload --disable-progress-bar --skip-existing dist\*
+- if: ${{ runner.os == 'Windows' && startsWith(github.ref, 'refs/tags/') }}
+- env:
+- TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
+- TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
+- - name: Publish wheel to Releases
+- uses: ncipollo/release-action@v1
+- with:
+- artifacts: "dist/*"
+- allowUpdates: true
+- bodyFile: "LATEST-CHANGES.rst"
+- omitBodyDuringUpdate: true
+- omitNameDuringUpdate: true
+- omitPrereleaseDuringUpdate: true
+- prerelease: true
+- replacesArtifacts: false
+- skipIfReleaseExists: false
+- updateOnlyUnreleased: false
+- if: ${{ startsWith(github.ref, 'refs/tags/') }}
diff --git a/__gbs_exported/python3-Cheetah-3.3.2b2-0/Cheetah-3.3.2b2.tar.gz b/__gbs_exported/python3-Cheetah-3.3.2b2-0/Cheetah-3.3.2b2.tar.gz
new file mode 100644
index 0000000..c3e8e34
--- /dev/null
+++ b/__gbs_exported/python3-Cheetah-3.3.2b2-0/Cheetah-3.3.2b2.tar.gz
Binary files differ
diff --git a/__gbs_exported/python3-Cheetah-3.3.2b2-0/python3-Cheetah.manifest b/__gbs_exported/python3-Cheetah-3.3.2b2-0/python3-Cheetah.manifest
new file mode 100644
index 0000000..017d22d
--- /dev/null
+++ b/__gbs_exported/python3-Cheetah-3.3.2b2-0/python3-Cheetah.manifest
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
diff --git a/__gbs_exported/python3-Cheetah-3.3.2b2-0/python3-Cheetah.spec b/__gbs_exported/python3-Cheetah-3.3.2b2-0/python3-Cheetah.spec
new file mode 100644
index 0000000..aad923d
--- /dev/null
+++ b/__gbs_exported/python3-Cheetah-3.3.2b2-0/python3-Cheetah.spec
@@ -0,0 +1,46 @@
+Name: python3-Cheetah
+VCS: TOSCAS/python3-Cheetah.git#262b01d308f2460fe7f699180d4ece21558d2af4
+Version: 3.3.2b2
+Release: 0
+Url: http://www.cheetahtemplate.org/
+Summary: Cheetah is a template engine and code generation tool
+License: MIT
+Group: Development/Languages/Python3
+Source: Cheetah-%{version}.tar.gz
+Source1001: python3-Cheetah.manifest
+# Patches auto-generated by git-buildpackage:
+Patch0: 0001-Bump-to-3.3.2b2.patch
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildRequires: fdupes
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+Provides: python3-cheetah = %{version}
+Obsoletes: python3-cheetah < %{version}
+
+%description
+Cheetah is an open source template engine and code generation tool.
+
+It can be used standalone or combined with other tools and frameworks. Web
+development is its principle use, but Cheetah is very flexible and is also being
+used to generate C++ game code, Java, sql, form emails and even Python3 code.
+
+%prep
+%setup -q -n Cheetah-%{version}
+# 0001-Bump-to-3.3.2b2.patch
+%patch0 -p1
+cp %{SOURCE1001} .
+
+%build
+CFLAGS="%{optflags}" %{_bindir}/python3 setup.py build
+
+%install
+%{_bindir}/python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%fdupes %{buildroot}
+
+%files
+%manifest %{name}.manifest
+%license LICENSE
+%{_bindir}/cheetah*
+%{python3_sitearch}/*
+
+%changelog
diff --git a/packaging/python3-Cheetah.manifest b/packaging/python3-Cheetah.manifest
new file mode 100644
index 0000000..017d22d
--- /dev/null
+++ b/packaging/python3-Cheetah.manifest
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/python3-Cheetah.spec b/packaging/python3-Cheetah.spec
new file mode 100644
index 0000000..e993b8d
--- /dev/null
+++ b/packaging/python3-Cheetah.spec
@@ -0,0 +1,41 @@
+Name: python3-Cheetah
+Version: 3.3.3b1
+Release: 0
+Url: http://www.cheetahtemplate.org/
+Summary: Cheetah is a template engine and code generation tool
+License: MIT
+Group: Development/Languages/Python3
+Source: Cheetah-%{version}.tar.gz
+Source1001: python3-Cheetah.manifest
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildRequires: fdupes
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+Provides: python3-cheetah = %{version}
+Obsoletes: python3-cheetah < %{version}
+
+%description
+Cheetah is an open source template engine and code generation tool.
+
+It can be used standalone or combined with other tools and frameworks. Web
+development is its principle use, but Cheetah is very flexible and is also being
+used to generate C++ game code, Java, sql, form emails and even Python3 code.
+
+%prep
+%setup -q -n Cheetah-%{version}
+cp %{SOURCE1001} .
+
+%build
+CFLAGS="%{optflags}" %{_bindir}/python3 setup.py build
+
+%install
+%{_bindir}/python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%fdupes %{buildroot}
+
+%files
+%manifest %{name}.manifest
+%license LICENSE
+%{_bindir}/cheetah*
+%{python3_sitearch}/*
+
+%changelog