Index: Makefile
===================================================================
--- Makefile (nonexistent)
+++ Makefile (revision 113)
@@ -0,0 +1,57 @@
+
+COMPONENT_TARGETS = $(HARDWARE_NOARCH)
+
+
+include ../../../../build-system/constants.mk
+
+
+url = $(DOWNLOAD_SERVER)/sources/packages/x/pycairo
+
+versions = 1.23.0
+pkgname = pycairo
+suffix = tar.xz
+
+tarballs = $(addsuffix .$(suffix), $(addprefix $(pkgname)-, $(versions)))
+sha1s = $(addsuffix .sha1sum, $(tarballs))
+
+
+patches = $(CURDIR)/patches/pycairo-1.23.0-sphinx6.patch
+
+.NOTPARALLEL: $(patches)
+
+
+BUILD_TARGETS = $(tarballs) $(sha1s) $(patches)
+
+
+include ../../../../build-system/core.mk
+
+
+.PHONY: download_clean
+
+
+$(tarballs):
+ @echo -e "\n======= Downloading source tarballs =======" ; \
+ for tarball in $(tarballs) ; do \
+ echo "$(url)/$$tarball" | xargs -n 1 -P 100 wget $(WGET_OPTIONS) - & \
+ done ; wait
+
+$(sha1s): $(tarballs)
+ @for sha in $@ ; do \
+ echo -e "\n======= Downloading '$$sha' signature =======\n" ; \
+ echo "$(url)/$$sha" | xargs -n 1 -P 100 wget $(WGET_OPTIONS) - & wait %1 ; \
+ touch $$sha ; \
+ echo -e "\n======= Check the '$$sha' sha1sum =======\n" ; \
+ sha1sum --check $$sha ; ret="$$?" ; \
+ if [ "$$ret" == "1" ]; then \
+ echo -e "\n======= ERROR: Bad '$$sha' sha1sum =======\n" ; \
+ exit 1 ; \
+ fi ; \
+ done
+
+$(patches): $(sha1s)
+ @echo -e "\n======= Create Patches =======\n" ; \
+ ( cd create-1.23.0-sphinx6-patch ; ./create.patch.sh ) ; \
+ echo -e "\n"
+
+download_clean:
+ @rm -f $(tarballs) $(sha1s) $(patches)
Index: create-1.23.0-sphinx6-patch/create.patch.sh
===================================================================
--- create-1.23.0-sphinx6-patch/create.patch.sh (nonexistent)
+++ create-1.23.0-sphinx6-patch/create.patch.sh (revision 113)
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+VERSION=1.23.0
+
+tar --files-from=file.list -xJvf ../pycairo-$VERSION.tar.xz
+mv pycairo-$VERSION pycairo-$VERSION-orig
+
+cp -rf ./pycairo-$VERSION-new ./pycairo-$VERSION
+
+diff --unified -Nr pycairo-$VERSION-orig pycairo-$VERSION > pycairo-$VERSION-sphinx6.patch
+
+mv pycairo-$VERSION-sphinx6.patch ../patches
+
+rm -rf ./pycairo-$VERSION
+rm -rf ./pycairo-$VERSION-orig
Property changes on: create-1.23.0-sphinx6-patch/create.patch.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: create-1.23.0-sphinx6-patch/file.list
===================================================================
--- create-1.23.0-sphinx6-patch/file.list (nonexistent)
+++ create-1.23.0-sphinx6-patch/file.list (revision 113)
@@ -0,0 +1 @@
+pycairo-1.23.0/docs/conf.py
Index: create-1.23.0-sphinx6-patch/pycairo-1.23.0-new/docs/conf.py
===================================================================
--- create-1.23.0-sphinx6-patch/pycairo-1.23.0-new/docs/conf.py (nonexistent)
+++ create-1.23.0-sphinx6-patch/pycairo-1.23.0-new/docs/conf.py (revision 113)
@@ -0,0 +1,67 @@
+# -*- coding: utf-8 -*-
+
+import os
+import sys
+
+from sphinx.util import logging
+
+# https://github.com/sphinx-doc/sphinx/issues/10112
+logging.getLogger('sphinx.ext.extlinks').setLevel(40)
+
+dir_ = os.path.dirname(os.path.realpath(__file__))
+
+
+def exec_module(path):
+ import importlib.machinery
+ loader = importlib.machinery.SourceFileLoader("cairo", path)
+ return loader.load_module()
+
+
+sys.modules["cairo"] = exec_module(os.path.join(dir_, "..", "cairo", "__init__.pyi"))
+
+extensions = [
+ 'sphinx.ext.intersphinx',
+ 'sphinx.ext.extlinks',
+ 'sphinx.ext.autodoc',
+]
+intersphinx_mapping = {
+ 'python3': ('https://docs.python.org/3', None),
+}
+source_suffix = '.rst'
+master_doc = 'index'
+project = u'Pycairo'
+html_show_copyright = False
+exclude_patterns = ['_build']
+pygments_style = 'sphinx'
+html_theme = "sphinx_rtd_theme"
+html_theme_options = {
+ "display_version": False,
+}
+html_context = {
+ 'extra_css_files': [
+ '_static/extra.css',
+ ],
+}
+
+html_static_path = [
+ "extra.css",
+]
+
+extlinks = {
+ 'fdobug': ('https://bugs.freedesktop.org/show_bug.cgi?id=%s', '#fdo-%s'),
+ 'bug': ('https://github.com/pygobject/pycairo/issues/%s', '#%s'),
+ 'pr': ('https://github.com/pygobject/pycairo/pull/%s', '#pr-%s'),
+ 'user': ('https://github.com/%s', '%s'),
+}
+suppress_warnings = ["image.nonlocal_uri"]
+
+autoclass_content = 'class'
+
+autodoc_default_options = {
+ 'member-order': 'bysource',
+}
+
+autodoc_type_aliases = {
+ '_PathLike': 'cairo._PathLike',
+ '_FileLike': 'cairo._FileLike',
+}
Index: patches/README
===================================================================
--- patches/README (nonexistent)
+++ patches/README (revision 113)
@@ -0,0 +1,6 @@
+
+/* begin *
+
+ TODO: Leave some comment here.
+
+ * end */
Index: patches
===================================================================
--- patches (nonexistent)
+++ patches (revision 113)
Property changes on: patches
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,74 ##
+
+# install dir
+dist
+
+# Target build dirs
+.a1x-newlib
+.a2x-newlib
+.at91sam7s-newlib
+
+.build-machine
+
+.a1x-glibc
+.a2x-glibc
+.h3-glibc
+.h5-glibc
+.i586-glibc
+.i686-glibc
+.imx6-glibc
+.jz47xx-glibc
+.makefile
+.am335x-glibc
+.omap543x-glibc
+.p5600-glibc
+.power8-glibc
+.power8le-glibc
+.power9-glibc
+.power9le-glibc
+.m1000-glibc
+.riscv64-glibc
+.rk328x-glibc
+.rk33xx-glibc
+.rk339x-glibc
+.rk358x-glibc
+.s8xx-glibc
+.s9xx-glibc
+.x86_64-glibc
+
+# Hidden files (each file)
+.makefile
+.dist
+.rootfs
+
+# src & hw requires
+.src_requires
+.src_requires_depend
+.requires
+.requires_depend
+
+# Tarballs
+*.gz
+*.bz2
+*.lz
+*.xz
+*.tgz
+*.txz
+
+# Signatures
+*.asc
+*.sig
+*.sign
+*.sha1sum
+
+# Patches
+*.patch
+
+# Descriptions
+*.dsc
+*.txt
+
+# Default linux config files
+*.defconfig
+
+# backup copies
+*~
Index: .
===================================================================
--- . (nonexistent)
+++ . (revision 113)
Property changes on: .
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,74 ##
+
+# install dir
+dist
+
+# Target build dirs
+.a1x-newlib
+.a2x-newlib
+.at91sam7s-newlib
+
+.build-machine
+
+.a1x-glibc
+.a2x-glibc
+.h3-glibc
+.h5-glibc
+.i586-glibc
+.i686-glibc
+.imx6-glibc
+.jz47xx-glibc
+.makefile
+.am335x-glibc
+.omap543x-glibc
+.p5600-glibc
+.power8-glibc
+.power8le-glibc
+.power9-glibc
+.power9le-glibc
+.m1000-glibc
+.riscv64-glibc
+.rk328x-glibc
+.rk33xx-glibc
+.rk339x-glibc
+.rk358x-glibc
+.s8xx-glibc
+.s9xx-glibc
+.x86_64-glibc
+
+# Hidden files (each file)
+.makefile
+.dist
+.rootfs
+
+# src & hw requires
+.src_requires
+.src_requires_depend
+.requires
+.requires_depend
+
+# Tarballs
+*.gz
+*.bz2
+*.lz
+*.xz
+*.tgz
+*.txz
+
+# Signatures
+*.asc
+*.sig
+*.sign
+*.sha1sum
+
+# Patches
+*.patch
+
+# Descriptions
+*.dsc
+*.txt
+
+# Default linux config files
+*.defconfig
+
+# backup copies
+*~