[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [libextractor-python] branch master updated: +
From: |
gnunet |
Subject: |
[GNUnet-SVN] [libextractor-python] branch master updated: + |
Date: |
Sat, 16 Jun 2018 13:43:56 +0200 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to branch master
in repository libextractor-python.
The following commit(s) were added to refs/heads/master by this push:
new f0ea748 +
f0ea748 is described below
commit f0ea748da0ee2d9a768f03854f589bad594ef31c
Author: Nils Gillmann <address@hidden>
AuthorDate: Sat Jun 16 11:44:26 2018 +0000
+
Signed-off-by: Nils Gillmann <address@hidden>
---
.gitignore | 3 ++-
Makefile | 4 ++++
guix-env.scm | 76 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 82 insertions(+), 1 deletion(-)
diff --git a/.gitignore b/.gitignore
index c44fe56..91a6573 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
*.egg
*~
-\#*\#
\ No newline at end of file
+\#*\#
+*.pyc
\ No newline at end of file
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..cf43958
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,4 @@
+default: guix-environment
+
+guix-environment:
+ guix environment -l guix-env.scm --pure
diff --git a/guix-env.scm b/guix-env.scm
new file mode 100644
index 0000000..a032cd7
--- /dev/null
+++ b/guix-env.scm
@@ -0,0 +1,76 @@
+;;; This file is part of GNUnet.
+;;; Copyright (C) 2016, 2017, 2018 GNUnet e.V.
+;;;
+;;; GNUnet is free software: you can redistribute it and/or modify it
+;;; under the terms of the GNU Affero General Public License as published
+;;; by the Free Software Foundation, either version 3 of the License,
+;;; or (at your option) any later version.
+;;;
+;;; GNUnet is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+;;; Affero General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU Affero General Public License
+;;; along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+(use-modules
+ (ice-9 popen)
+ (ice-9 match)
+ (ice-9 rdelim)
+ (guix packages)
+ (guix build-system python)
+ (guix gexp)
+ ((guix build utils) #:select (with-directory-excursion))
+ (guix git-download)
+ (guix utils) ; current-source-directory
+ (gnu packages)
+ (gnu packages gnunet)
+ (gnu packages python)
+ (gnu packages base)
+ (gnu packages version-control)
+ (gnu packages ssh)
+ ((guix licenses) #:prefix license:))
+
+(define %source-dir (current-source-directory))
+
+(define python-libextractor
+ (let* ((revision "1")
+ (select? (delay (or (git-predicate
+ (current-source-directory))
+ source-file?))))
+ (package
+ (name "python-libextractor")
+ (version (string-append "git" revision))
+ (source
+ (local-file
+ (string-append (getcwd))
+ #:recursive? #t))
+ (build-system python-build-system)
+ (arguments
+ `(#:python ,python-2
+ #:tests? #f))
+ (propagated-inputs
+ `(("libextractor" ,libextractor)))
+ (home-page "https://github.com/docker/docker-py")
+ (synopsis "Python bindings for libextractor")
+ (description "Python bindings for libextractor")
+ (license #f))))
+
+(define-public python2-libextractor
+ (package-with-python2 python-libextractor))
+
+(package
+ (inherit python2-libextractor)
+ (name "python2-libextractor-hackenv")
+ (version "git")
+ (inputs
+ `(("coreutils" ,coreutils)
+ ("which" ,which)
+ ("git" ,git)
+ ,@(package-inputs python2-libextractor)))
+ (propagated-inputs
+ `(("python" ,python-2)
+ ("openssh" ,openssh)
+ ("git" ,git)
+ ,@(package-propagated-inputs python2-libextractor))))
--
To stop receiving notification emails like this one, please contact
address@hidden
- [GNUnet-SVN] [libextractor-python] branch master updated: +,
gnunet <=
- [GNUnet-SVN] [libextractor-python] branch master updated: +, gnunet, 2018/06/16
- [GNUnet-SVN] [libextractor-python] branch master updated: +, gnunet, 2018/06/16
- [GNUnet-SVN] [libextractor-python] branch master updated: +, gnunet, 2018/06/17
- [GNUnet-SVN] [libextractor-python] branch master updated: +, gnunet, 2018/06/17
- [GNUnet-SVN] [libextractor-python] branch master updated: +, gnunet, 2018/06/18