* [PATCH 02/10] gnu: Add python-arrow and python2-arrow.
@ 2016-06-23 15:18 宋文武
2016-06-23 15:18 ` [PATCH 03/10] gnu: Add python-inflection and python2-inflection 宋文武
2016-06-23 15:18 ` [PATCH 04/10] gnu: Add python-pylev and python2-pylev 宋文武
0 siblings, 2 replies; 4+ messages in thread
From: 宋文武 @ 2016-06-23 15:18 UTC (permalink / raw)
To: guix-devel; +Cc: 宋文武
* gnu/packages/python.scm (python-arrow, python2-arrow): New variables.
---
gnu/packages/python.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 0c9bd22..6e30377 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -9316,3 +9316,31 @@ objects, patterned after the Mocha library for Ruby.")
(define-public python2-chai
(package-with-python2 python-chai))
+(define-public python-arrow
+ (package
+ (name "python-arrow")
+ (version "0.8.0")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "arrow" version))
+ (sha256
+ (base32
+ "1bz7hkdgpqcjs866y58z8jywpy7al0f4rxdr00bh2l5qddyw245j"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("python-setuptools" ,python-setuptools)
+ ("python-dateutil" ,python-dateutil-2)
+ ;; For testing
+ ("python-chai" ,python-chai)
+ ("python-simplejson" ,python-simplejson)))
+ (home-page "https://github.com/crsmithdev/arrow/")
+ (synopsis "Dates and times for Python")
+ (description
+ "Arrow is a Python library to creating, manipulating, formatting and
+converting dates, times, and timestamps. It implements and updates the
+datetime type.")
+ (license asl2.0)))
+
+(define-public python2-arrow
+ (package-with-python2 python-arrow))
+
--
2.8.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 03/10] gnu: Add python-inflection and python2-inflection.
2016-06-23 15:18 [PATCH 02/10] gnu: Add python-arrow and python2-arrow 宋文武
@ 2016-06-23 15:18 ` 宋文武
2016-06-25 17:58 ` Leo Famulari
2016-06-23 15:18 ` [PATCH 04/10] gnu: Add python-pylev and python2-pylev 宋文武
1 sibling, 1 reply; 4+ messages in thread
From: 宋文武 @ 2016-06-23 15:18 UTC (permalink / raw)
To: guix-devel; +Cc: 宋文武
* gnu/packages/python.scm (python-inflection, python2-inflection):
New variables.
---
gnu/packages/python.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 6e30377..ced8232 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -9344,3 +9344,27 @@ datetime type.")
(define-public python2-arrow
(package-with-python2 python-arrow))
+(define-public python-inflection
+ (package
+ (name "python-inflection")
+ (version "0.3.1")
+ (source
+ (origin (method url-fetch)
+ (uri (pypi-uri "inflection" version))
+ (sha256
+ (base32
+ "1jhnxgnw8y3mbzjssixh6qkc7a3afc4fygajhqrqalnilyvpzshq"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("python-setuptools" ,python-setuptools)))
+ (home-page "http://github.com/jpvanhal/inflection")
+ (synopsis "Python string transformation library")
+ (description
+ "Inflection is a string transformation library. It singularizes
+and pluralizes English words, and transforms strings from CamelCase to
+underscored string.")
+ (license license:expat)))
+
+(define-public python2-inflection
+ (package-with-python2 python-inflection))
+
--
2.8.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 04/10] gnu: Add python-pylev and python2-pylev.
2016-06-23 15:18 [PATCH 02/10] gnu: Add python-arrow and python2-arrow 宋文武
2016-06-23 15:18 ` [PATCH 03/10] gnu: Add python-inflection and python2-inflection 宋文武
@ 2016-06-23 15:18 ` 宋文武
1 sibling, 0 replies; 4+ messages in thread
From: 宋文武 @ 2016-06-23 15:18 UTC (permalink / raw)
To: guix-devel; +Cc: 宋文武
* gnu/packages/python.scm (python-pylev, python2-pylev): New variables.
---
gnu/packages/python.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index ced8232..1dc5212 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -9368,3 +9368,26 @@ underscored string.")
(define-public python2-inflection
(package-with-python2 python-inflection))
+(define-public python-pylev
+ (package
+ (name "python-pylev")
+ (version "1.3.0")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "pylev" version))
+ (sha256
+ (base32
+ "1hz1x9blsbxya1y9nnhnwwdnqmakxi9mc0jkwj0rn6b1h44i0f86"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("python-setuptools" ,python-setuptools)))
+ (home-page "http://github.com/toastdriven/pylev")
+ (synopsis "Levenshtein distance implementation in Python")
+ (description "Pure Python Levenshtein implementation, based off the
+Wikipedia code samples at
+@url{http://en.wikipedia.org/wiki/Levenshtein_distance}.")
+ (license bsd-3)))
+
+(define-public python2-pylev
+ (package-with-python2 python-pylev))
+
--
2.8.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 03/10] gnu: Add python-inflection and python2-inflection.
2016-06-23 15:18 ` [PATCH 03/10] gnu: Add python-inflection and python2-inflection 宋文武
@ 2016-06-25 17:58 ` Leo Famulari
0 siblings, 0 replies; 4+ messages in thread
From: Leo Famulari @ 2016-06-25 17:58 UTC (permalink / raw)
To: 宋文武; +Cc: guix-devel
On Thu, Jun 23, 2016 at 11:18:50PM +0800, 宋文武 wrote:
> * gnu/packages/python.scm (python-inflection, python2-inflection):
> New variables.
> ---
> gnu/packages/python.scm | 24 ++++++++++++++++++++++++
> 1 file changed, 24 insertions(+)
>
> diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> index 6e30377..ced8232 100644
> --- a/gnu/packages/python.scm
> +++ b/gnu/packages/python.scm
> @@ -9344,3 +9344,27 @@ datetime type.")
> (define-public python2-arrow
> (package-with-python2 python-arrow))
>
> +(define-public python-inflection
> + (package
> + (name "python-inflection")
> + (version "0.3.1")
> + (source
> + (origin (method url-fetch)
> + (uri (pypi-uri "inflection" version))
> + (sha256
> + (base32
> + "1jhnxgnw8y3mbzjssixh6qkc7a3afc4fygajhqrqalnilyvpzshq"))))
The indentation should be shifted to the right.
> + (build-system python-build-system)
> + (native-inputs
> + `(("python-setuptools" ,python-setuptools)))
> + (home-page "http://github.com/jpvanhal/inflection")
> + (synopsis "Python string transformation library")
> + (description
> + "Inflection is a string transformation library. It singularizes
> +and pluralizes English words, and transforms strings from CamelCase to
> +underscored string.")
> + (license license:expat)))
> +
> +(define-public python2-inflection
> + (package-with-python2 python-inflection))
> +
> --
> 2.8.4
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-06-25 17:58 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-23 15:18 [PATCH 02/10] gnu: Add python-arrow and python2-arrow 宋文武
2016-06-23 15:18 ` [PATCH 03/10] gnu: Add python-inflection and python2-inflection 宋文武
2016-06-25 17:58 ` Leo Famulari
2016-06-23 15:18 ` [PATCH 04/10] gnu: Add python-pylev and python2-pylev 宋文武
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).