GNU bug report logs -
#47546
[PATCH 2/2] gnu: Add python-typogrify.
Previous Next
Reported by: iyzsong <at> outlook.com
Date: Thu, 1 Apr 2021 14:49:02 UTC
Severity: normal
Tags: patch
Done: 宋文武 <iyzsong <at> outlook.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Fri, 02 Apr 2021 18:40:33 +0800
with message-id <OSZP286MB066441C7108B7579860F5566A37A9 <at> OSZP286MB0664.JPNP286.PROD.OUTLOOK.COM>
and subject line Re: [bug#47546] [PATCH 2/2] gnu: Add python-typogrify.
has caused the debbugs.gnu.org bug report #47546,
regarding [PATCH 2/2] gnu: Add python-typogrify.
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
47546: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=47546
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: 宋文武 <iyzsong <at> member.fsf.org>
* gnu/packages/python-xyz.scm (python-typogrify): New variable.
---
gnu/packages/python-xyz.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index dfce35a212..c22f615bd9 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -24372,3 +24372,34 @@ entities
@item Three consecutive dots (... or . . .) into an ellipsis entity
@end enumerate")
(license license:bsd-3)))
+
+(define-public python-typogrify
+ (package
+ (name "python-typogrify")
+ (version "2.0.7")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "typogrify" version))
+ (sha256
+ (base32
+ "0f6b2gnnxjbx1fbmkcscc6qjr4hi78kwm1wx4b766ha3va66dr4b"))))
+ (build-system python-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda _
+ (invoke "nosetests" "-v"))))))
+ (propagated-inputs
+ `(("python-smartypants" ,python-smartypants)))
+ (native-inputs
+ ;; For tests.
+ `(("python-nose" ,python-nose)))
+ (home-page "https://github.com/mintchaos/typogrify")
+ (synopsis "Filters to transform text into typographically-improved HTML")
+ (description
+ "@code{typogrify} provides a set of custom filters that automatically
+apply various transformations to plain text in order to yield
+typographically-improved HTML. While often used in conjunction with Jinja and
+Django template systems, the filters can be used in any environment.")
+ (license license:bsd-3)))
--
2.30.0
[Message part 3 (message/rfc822, inline)]
Leo Famulari <leo <at> famulari.name> writes:
> On Thu, Apr 01, 2021 at 10:50:48PM +0800, iyzsong <at> outlook.com wrote:
>> From: 宋文武 <iyzsong <at> member.fsf.org>
>>
>> * gnu/packages/python-xyz.scm (python-typogrify): New variable.
>
> LGTM, thanks!
Pushed, thank you for review!
This bug report was last modified 4 years and 112 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.