public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/tyrian-sphinx-theme:master commit in: /
@ 2023-09-01 10:26 Michał Górny
  0 siblings, 0 replies; 4+ messages in thread
From: Michał Górny @ 2023-09-01 10:26 UTC (permalink / raw
  To: gentoo-commits

commit:     1727f7418be816c4b72da590207766f32b2ef73a
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Sep  1 10:05:40 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Sep  1 10:05:40 2023 +0000
URL:        https://gitweb.gentoo.org/proj/tyrian-sphinx-theme.git/commit/?id=1727f741

Update homepage

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index cd47c3f..5b4eac4 100644
--- a/setup.py
+++ b/setup.py
@@ -17,7 +17,7 @@ setup(
     long_description_content_type='text/markdown',
     author="Max Magorsch",
     author_email="max@magorsch.de",
-    url="https://github.com/mmagorsc/tyrian_sphinx_theme",
+    url="https://gitweb.gentoo.org/proj/tyrian-sphinx-theme.git",
     packages=["tyrian_sphinx_theme"],
     package_data={'tyrian_sphinx_theme': [
         'theme.conf',


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] proj/tyrian-sphinx-theme:master commit in: /
@ 2023-09-01 10:26 Michał Górny
  0 siblings, 0 replies; 4+ messages in thread
From: Michał Górny @ 2023-09-01 10:26 UTC (permalink / raw
  To: gentoo-commits

commit:     999b55f1a3c6e54a00721483f29cf842d61153fb
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Sep  1 10:22:24 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Sep  1 10:22:24 2023 +0000
URL:        https://gitweb.gentoo.org/proj/tyrian-sphinx-theme.git/commit/?id=999b55f1

Migrate to pyproject.toml

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 pyproject.toml | 41 +++++++++++++++++++++++++++++++++++++++++
 setup.py       | 46 ----------------------------------------------
 2 files changed, 41 insertions(+), 46 deletions(-)

diff --git a/pyproject.toml b/pyproject.toml
new file mode 100644
index 0000000..c6b344d
--- /dev/null
+++ b/pyproject.toml
@@ -0,0 +1,41 @@
+[build-system]
+requires = ["setuptools"]
+build-backend = "setuptools.build_meta"
+
+[project]
+name = "tyrian-sphinx-theme"
+authors = [
+    {name = "Max Magorsch", email = "max@magorsch.de"},
+]
+description = "A Tyrian based Sphinx theme for Gentoo"
+readme = {file = "README.md", content-type = "text/markdown"}
+requires-python = ">=3.8"
+license = {text = "BSD-2-Clause"}
+classifiers = [
+    "Framework :: Sphinx",
+    "Framework :: Sphinx :: Theme",
+    "Operating System :: OS Independent",
+    "License :: OSI Approved :: BSD License",
+    "Programming Language :: Python :: 3",
+]
+dynamic = ["version"]
+
+[project.urls]
+Homepage = "https://gitweb.gentoo.org/proj/tyrian-sphinx-theme.git"
+
+[project.entry-points."sphinx.html_themes"]
+tyrian_sphinx_theme = "tyrian_sphinx_theme"
+
+[tool.setuptools]
+packages = ["tyrian_sphinx_theme"]
+
+[tool.setuptools.package-data]
+tyrian_sphinx_theme = [
+    "theme.conf",
+    "*.html",
+    "static/*.css",
+    "static/*.css_t",
+]
+
+[tool.setuptools.dynamic]
+version = {attr = "tyrian_sphinx_theme._version.__version__"}

diff --git a/setup.py b/setup.py
deleted file mode 100644
index 5b4eac4..0000000
--- a/setup.py
+++ /dev/null
@@ -1,46 +0,0 @@
-#!/usr/bin/env python
-
-from setuptools import setup
-
-# Version info -- read without importing
-_locals = {}
-with open("tyrian_sphinx_theme/_version.py") as fp:
-    exec(fp.read(), None, _locals)
-version = _locals["__version__"]
-
-setup(
-    name="tyrian-sphinx-theme",
-    version=version,
-    license = "BSD-2-Clause",
-    description="A Tyrian based Sphinx theme for Gentoo",
-    long_description=open('README.md', encoding='utf-8').read(),
-    long_description_content_type='text/markdown',
-    author="Max Magorsch",
-    author_email="max@magorsch.de",
-    url="https://gitweb.gentoo.org/proj/tyrian-sphinx-theme.git",
-    packages=["tyrian_sphinx_theme"],
-    package_data={'tyrian_sphinx_theme': [
-        'theme.conf',
-        '*.html',
-        'static/*.css',
-        'static/*.css_t'
-    ]},
-    include_package_data=True,
-    entry_points={"sphinx.html_themes": ["tyrian_sphinx_theme = tyrian_sphinx_theme"]},
-    classifiers=[
-        "Framework :: Sphinx",
-        "Framework :: Sphinx :: Theme",
-        "Operating System :: OS Independent",
-        "License :: OSI Approved :: BSD License",
-        "Programming Language :: Python",
-        "Programming Language :: Python :: 2",
-        "Programming Language :: Python :: 2.6",
-        "Programming Language :: Python :: 2.7",
-        "Programming Language :: Python :: 3",
-        "Programming Language :: Python :: 3.2",
-        "Programming Language :: Python :: 3.3",
-        "Programming Language :: Python :: 3.4",
-        "Programming Language :: Python :: 3.5",
-        "Programming Language :: Python :: 3.6"
-    ],
-)


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] proj/tyrian-sphinx-theme:master commit in: /
@ 2023-09-01 10:26 Michał Górny
  0 siblings, 0 replies; 4+ messages in thread
From: Michał Górny @ 2023-09-01 10:26 UTC (permalink / raw
  To: gentoo-commits

commit:     38058508c059f6cce947b8d07fe31e5538562f4c
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Sep  1 10:25:54 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Sep  1 10:25:54 2023 +0000
URL:        https://gitweb.gentoo.org/proj/tyrian-sphinx-theme.git/commit/?id=38058508

Use flit_core as build backend

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 pyproject.toml | 18 ++----------------
 1 file changed, 2 insertions(+), 16 deletions(-)

diff --git a/pyproject.toml b/pyproject.toml
index e23bf89..e6ca72f 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
 [build-system]
-requires = ["setuptools"]
-build-backend = "setuptools.build_meta"
+requires = ["flit_core >=3.2,<4"]
+build-backend = "flit_core.buildapi"
 
 [project]
 name = "tyrian-sphinx-theme"
@@ -25,17 +25,3 @@ Homepage = "https://gitweb.gentoo.org/proj/tyrian-sphinx-theme.git"
 
 [project.entry-points."sphinx.html_themes"]
 tyrian_sphinx_theme = "tyrian_sphinx_theme"
-
-[tool.setuptools]
-packages = ["tyrian_sphinx_theme"]
-
-[tool.setuptools.package-data]
-tyrian_sphinx_theme = [
-    "theme.conf",
-    "*.html",
-    "static/*.css",
-    "static/*.css_t",
-]
-
-[tool.setuptools.dynamic]
-version = {attr = "tyrian_sphinx_theme.__version__"}


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] proj/tyrian-sphinx-theme:master commit in: /
@ 2023-09-01 10:29 Michał Górny
  0 siblings, 0 replies; 4+ messages in thread
From: Michał Górny @ 2023-09-01 10:29 UTC (permalink / raw
  To: gentoo-commits

commit:     3502c3aef13a47f14182d6f09e1104e6723bd726
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Sep  1 10:26:57 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Sep  1 10:26:57 2023 +0000
URL:        https://gitweb.gentoo.org/proj/tyrian-sphinx-theme.git/commit/?id=3502c3ae

Explicitly depend on sphinx

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 pyproject.toml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/pyproject.toml b/pyproject.toml
index e6ca72f..5c289f0 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -19,6 +19,9 @@ classifiers = [
     "Programming Language :: Python :: 3",
 ]
 dynamic = ["version"]
+dependencies = [
+    "sphinx",
+]
 
 [project.urls]
 Homepage = "https://gitweb.gentoo.org/proj/tyrian-sphinx-theme.git"


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-09-01 10:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-01 10:26 [gentoo-commits] proj/tyrian-sphinx-theme:master commit in: / Michał Górny
  -- strict thread matches above, loose matches on Subject: below --
2023-09-01 10:29 Michał Górny
2023-09-01 10:26 Michał Górny
2023-09-01 10:26 Michał Górny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox