summaryrefslogtreecommitdiff
path: root/dev-python/smartypants
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-12 19:09:37 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-12 19:09:37 -0500
commitb590c8d7572b727d565cc0b8ff660d43569845de (patch)
tree06f7a4102ea4e845df8b66660f252920d52952f9 /dev-python/smartypants
parent24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff)
downloadbaldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz
baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz
baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip
Adding metadata
Diffstat (limited to 'dev-python/smartypants')
-rw-r--r--dev-python/smartypants/Manifest1
-rw-r--r--dev-python/smartypants/metadata.xml15
-rw-r--r--dev-python/smartypants/smartypants-2.0.2.ebuild37
3 files changed, 53 insertions, 0 deletions
diff --git a/dev-python/smartypants/Manifest b/dev-python/smartypants/Manifest
new file mode 100644
index 000000000000..d69c73dfb1f4
--- /dev/null
+++ b/dev-python/smartypants/Manifest
@@ -0,0 +1 @@
+DIST smartypants-2.0.2.gh.tar.gz 28770 BLAKE2B 5e77ad66db51afcac634b4da47e86e61bfbd3436a79bc77ad57781f173c780be1065ad80ed7ec187dbafaeaae2cf144f16635d5fc63f333e88c22cccf085f2e5 SHA512 6cdb1574145f4c15984550c2b10bc95b7a86baf067f6465d53e60696347a650e6afb978f623f2344d82e03281ecb28a1f94cdb759fd2db613dc13fada1b25485
diff --git a/dev-python/smartypants/metadata.xml b/dev-python/smartypants/metadata.xml
new file mode 100644
index 000000000000..e2963d9b185e
--- /dev/null
+++ b/dev-python/smartypants/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <stabilize-allarches />
+ <longdescription lang="en">
+ smartypants does transformations of plain old ASCII straight quotes,
+ plain dashes, and plain dots, into smart quotes, em-dashes, and
+ proper ellipses.
+ </longdescription>
+ <origin>baldeagleos-repo</origin>
+</pkgmetadata>
diff --git a/dev-python/smartypants/smartypants-2.0.2.ebuild b/dev-python/smartypants/smartypants-2.0.2.ebuild
new file mode 100644
index 000000000000..112b313a1bdb
--- /dev/null
+++ b/dev-python/smartypants/smartypants-2.0.2.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{13..14} )
+
+inherit distutils-r1
+
+MY_P="${PN}.py-${PV}"
+DESCRIPTION="ASCII quote-dot-dash to HTML entity converter"
+HOMEPAGE="
+ https://pypi.org/project/smartypants/
+ https://github.com/justinmayer/smartypants.py/
+"
+SRC_URI="
+ https://github.com/justinmayer/smartypants.py/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
+
+distutils_enable_tests unittest
+
+src_prepare() {
+ # relevant only to upstream packaging, requires docutils
+ rm tests/test_setup.py || die
+ distutils-r1_src_prepare
+}
+
+python_test() {
+ eunittest -s tests
+}