unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / Atom feed
* [bug#47546] [PATCH 2/2] gnu: Add python-typogrify.
       [not found] <20210401145048.17894-1-iyzsong@outlook.com>
@ 2021-04-01 14:50 ` iyzsong
  2021-04-01 20:19   ` Leo Famulari
  0 siblings, 1 reply; 3+ messages in thread
From: iyzsong @ 2021-04-01 14:50 UTC (permalink / raw)
  To: 47546; +Cc: 宋文武

From: 宋文武 <iyzsong@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





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

* [bug#47546] [PATCH 2/2] gnu: Add python-typogrify.
  2021-04-01 14:50 ` [bug#47546] [PATCH 2/2] gnu: Add python-typogrify iyzsong
@ 2021-04-01 20:19   ` Leo Famulari
  2021-04-02 10:40     ` bug#47546: " 宋文武
  0 siblings, 1 reply; 3+ messages in thread
From: Leo Famulari @ 2021-04-01 20:19 UTC (permalink / raw)
  To: iyzsong; +Cc: 47546, 宋文武

On Thu, Apr 01, 2021 at 10:50:48PM +0800, iyzsong@outlook.com wrote:
> From: 宋文武 <iyzsong@member.fsf.org>
> 
> * gnu/packages/python-xyz.scm (python-typogrify): New variable.

LGTM, thanks!




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

* bug#47546: [PATCH 2/2] gnu: Add python-typogrify.
  2021-04-01 20:19   ` Leo Famulari
@ 2021-04-02 10:40     ` 宋文武
  0 siblings, 0 replies; 3+ messages in thread
From: 宋文武 @ 2021-04-02 10:40 UTC (permalink / raw)
  To: Leo Famulari; +Cc: 宋文武, 47546-done

Leo Famulari <leo@famulari.name> writes:

> On Thu, Apr 01, 2021 at 10:50:48PM +0800, iyzsong@outlook.com wrote:
>> From: 宋文武 <iyzsong@member.fsf.org>
>> 
>> * gnu/packages/python-xyz.scm (python-typogrify): New variable.
>
> LGTM, thanks!

Pushed, thank you for review!




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

end of thread, other threads:[~2021-04-02 10:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20210401145048.17894-1-iyzsong@outlook.com>
2021-04-01 14:50 ` [bug#47546] [PATCH 2/2] gnu: Add python-typogrify iyzsong
2021-04-01 20:19   ` Leo Famulari
2021-04-02 10:40     ` bug#47546: " 宋文武

unofficial mirror of guix-patches@gnu.org 

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhetil.org/guix-patches/1 guix-patches/git/1.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guix-patches guix-patches/ https://yhetil.org/guix-patches \
		guix-patches@gnu.org
	public-inbox-index guix-patches

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://news.yhetil.org/yhetil.gnu.guix.patches


AGPL code for this site: git clone http://ou63pmih66umazou.onion/public-inbox.git