--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>thomas@gstaedtner.net</email>
+ <name>Thomas Gstädtner</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <longdescription>
+ Sigal is yet another simple static gallery generator.
+ It's written in Python and it allows to build a static gallery
+ of images with the following features:
+ - Process directories recursively.
+ - Generate HTML pages using jinja2 templates.
+ - Relative links for a portable output.
+ - Support themes, videos, EXIF tags, zip download.
+ - Parallel processing.
+ - MIT licensed.
+ </longdescription>
+ <upstream>
+ <remote-id type="pypi">sigal</remote-id>
+ <remote-id type="github">saimn/sigal</remote-id>
+ <bugs-to>https://github.com/saimn/sigal/issues</bugs-to>
+ </upstream>
+ <use>
+ <flag name="s3">Enables support for the Amazon S3 service.</flag>
+ </use>
+</pkgmetadata>
--- /dev/null
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+
+inherit distutils-r1
+
+DESCRIPTION="Simple static web gallery generator"
+HOMEPAGE="http://sigal.saimon.org/"
+SRC_URI="https://github.com/saimn/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="s3 test"
+
+CDEPEND="dev-python/blinker[${PYTHON_USEDEP}]
+ dev-python/click[${PYTHON_USEDEP}]
+ dev-python/jinja[${PYTHON_USEDEP}]
+ dev-python/markdown[${PYTHON_USEDEP}]
+ dev-python/pillow[${PYTHON_USEDEP}]
+ dev-python/pilkit[${PYTHON_USEDEP}]"
+DEPEND="${CDEPEND}
+ s3? ( dev-python/boto[${PYTHON_USEDEP}] )
+ test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
+RDEPEND="${CDEPEND}"
+
+DOCS="README.rst"
+
+python_test() {
+ esetup.py test
+}