unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: ng0 <ng0@libertad.pw>
To: guix-devel@gnu.org
Subject: Re: [PATCH 11/11] gnu: Add pagure.
Date: Sun, 11 Dec 2016 18:48:59 +0000	[thread overview]
Message-ID: <87poky7144.fsf@wasp.i-did-not-set--mail-host-address--so-tickle-me> (raw)
In-Reply-To: <20161211181237.24485-12-ng0@libertad.pw>

ng0 <ng0@libertad.pw> writes:

> * gnu/packages/version-control.scm (pagure): New variable.
> ---
>  gnu/packages/version-control.scm | 81 +++++++++++++++++++++++++++++++++++++++-
>  1 file changed, 80 insertions(+), 1 deletion(-)
>
> diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
> index f6845fab0..1eee6ad87 100644
> --- a/gnu/packages/version-control.scm
> +++ b/gnu/packages/version-control.scm
> @@ -10,7 +10,7 @@
>  ;;; Copyright © 2015 Kyle Meyer <kyle@kyleam.com>
>  ;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net>
>  ;;; Copyright © 2016 Leo Famulari <leo@famulari.name>
> -;;; Copyright © 2016 ng0 <ng0@we.make.ritual.n0.is>
> +;;; Copyright © 2016 ng0 <ng0@libertad.pw>
>  ;;;
>  ;;; This file is part of GNU Guix.
>  ;;;
> @@ -1265,3 +1265,82 @@ a built-in wiki, built-in file browsing, built-in tickets system, etc.")
>      (description "Stagit creates static pages for git repositories, the results can
>  be served with a HTTP file server of your choice.")
>      (license license:expat)))
> +
> +(define-public pagure
> +  (package
> +    (name "pagure")
> +    (version "2.10.1")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (list
> +             ;; XXX: upstream serves an invalid certificate.
> +             (string-append "https://web.archive.org/web/20161211142731/"
> +                            "https://releases.pagure.org/pagure/pagure-"
> +                            version ".tar.gz")
> +             (string-append "https://releases.pagure.org/pagure/"
> +                                 name "-" version ".tar.gz")))

Please add this when commiting:
XXX: The certificate issue upstream https://pagure.io/fedora-infrastructure/issue/5600

Thanks!

> +       (sha256
> +        (base32
> +         "1h629hd8wfvdnmlrd1g3hpxcgkqzrxdpnxnmqhd2wi04g86pn7pg"))))
> +    (build-system python-build-system)
> +    (arguments
> +     `(#:python ,python-2
> +       #:phases
> +       (modify-phases %standard-phases
> +         (add-after 'install 'install-additional-files
> +           ;; We need to copy files.
> +           (lambda* (#:key outputs #:allow-other-keys)
> +             (install-file "files/pagure.cfg.sample"
> +                           (string-append (assoc-ref outputs "out") "/etc/pagure/"))
> +             (install-file "files/alembic.ini"
> +                           (string-append (assoc-ref outputs "out") "/etc/pagure/"))
> +             (install-file "files/pagure.conf"
> +                           (string-append (assoc-ref outputs "out") "/etc/httpd/conf.d/"))
> +             (install-file "files/pagure.wsgi"
> +                           (string-append (assoc-ref outputs "out") "/share/pagure/"))
> +             (install-file "createdb.py"
> +                           (string-append (assoc-ref outputs "out") "/share/pagure/"))
> +             #t)))))
> +    (propagated-inputs
> +     `(("python2-alembic" ,python2-alembic)
> +       ("python2-arrow" ,python2-arrow)
> +       ("python2-binaryornot" ,python2-binaryornot)
> +       ("python2-bleach" ,python2-bleach)
> +       ("python2-blinker" ,python2-blinker)
> +       ("python2-chardet" ,python2-chardet)
> +       ("python2-docutils" ,python2-docutils)
> +       ("python2-enum34" ,python2-enum34)
> +       ("python2-flask" ,python2-flask)
> +       ("python2-flask-wtf" ,python2-flask-wtf)
> +       ("python2-flask-multistatic" ,python2-flask-multistatic)
> +       ("python2-kitchen" ,python2-kitchen)
> +       ("python2-markdown" ,python2-markdown)
> +       ("python2-munch" ,python2-munch)
> +       ("python2-pillow" ,python2-pillow)
> +       ("python2-psutil" ,python2-psutil)
> +       ;; pyclamd ; only for VIRUS_SCAN_ATTACHMENTS
> +       ("python2-pygit2" ,python2-pygit2)
> +       ("python2-pygments" ,python2-pygments)
> +       ("python2-openid" ,python2-openid)
> +       ("python2-openid-cla" ,python2-openid-cla)
> +       ("python2-openid-teams" ,python2-openid-teams)
> +       ("python2-redis" ,python2-redis)
> +       ("python2-six" ,python2-six)
> +       ("python2-sqlalchemy" ,python2-sqlalchemy)
> +       ("python2-straight.plugin" ,python2-straight.plugin)
> +       ("python2-trollius-redis" ,python2-trollius-redis)
> +       ("python2-wtforms" ,python2-wtforms)
> +       ("python2-cryptography" ,python2-cryptography)
> +       ;; TODO: python2-fedora ;for fas and openid auth backends
> +       ("python2-py-bcrypt" ,python2-py-bcrypt)))
> +    (home-page "https://pagure.io/pagure/")
> +    (synopsis "Git-centered forge based on pygit2")
> +    (description
> +     "Pagure is a git-centered forge, python based using pygit2.
> +With pagure you can host your project with its documentation,
> +let your users report issues or request enhancements using the
> +ticketing system and build your community of contributors by
> +allowing them to fork your projects and contribute to it via
> +the now-popular pull-request mechanism.")
> +    (license license:gpl2+)))
> -- 
> 2.11.0
>
>

-- 
♥Ⓐ  ng0  | ng0.chaosnet.org

  reply	other threads:[~2016-12-11 18:49 UTC|newest]

Thread overview: 68+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-11 18:12 [PATCH] Add pagure SCM/forge ng0
2016-12-11 18:12 ` [PATCH 01/11] gnu: Add python-flask-wtf ng0
2016-12-11 22:39   ` Leo Famulari
2016-12-11 23:05     ` ng0
2016-12-11 23:22       ` Leo Famulari
2016-12-12 10:27         ` Hartmut Goebel
2016-12-12 10:26       ` Hartmut Goebel
2016-12-11 18:12 ` [PATCH 02/11] gnu: Add python-flask-multistatic ng0
2016-12-11 22:40   ` Leo Famulari
2016-12-11 18:12 ` [PATCH 03/11] gnu: Add python-kitchen ng0
2016-12-11 22:44   ` Leo Famulari
2016-12-11 18:12 ` [PATCH 04/11] gnu: Add python-munch ng0
2016-12-11 18:12 ` [PATCH 05/11] gnu: Add python-pygit2 ng0
     [not found]   ` <20161211223454.GA9474@jasmine>
     [not found]     ` <871sxem5ix.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me>
     [not found]       ` <87mvg1k2f3.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me>
     [not found]         ` <20161212154412.GA25907@jasmine>
     [not found]           ` <f9ccfb0d-d503-d124-d0c4-14bcbd8c8977@crazy-compilers.com>
     [not found]             ` <87k2b4jhpw.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me>
2016-12-13 22:47               ` Removing the python-updates branch [was Re: bug#25177: Test failures don't cause some Python packages to fail] Leo Famulari
2016-12-11 18:12 ` [PATCH 06/11] gnu: Add python2-openid ng0
2016-12-11 18:12 ` [PATCH 07/11] gnu: Add python-openid-cla ng0
2016-12-11 18:12 ` [PATCH 08/11] gnu: Add python-openid-teams ng0
2016-12-11 18:12 ` [PATCH 09/11] gnu: Add python-straight.plugin ng0
2016-12-11 18:12 ` [PATCH 10/11] gnu: Add python-trollius-redis ng0
2016-12-11 18:12 ` [PATCH 11/11] gnu: Add pagure ng0
2016-12-11 18:48   ` ng0 [this message]
2016-12-11 22:54   ` Leo Famulari
2016-12-13 22:05   ` Ricardo Wurmus
2016-12-11 22:52 ` [PATCH] Add pagure SCM/forge Leo Famulari
2016-12-12  9:21   ` ng0
2016-12-12 15:18     ` Leo Famulari
2016-12-14 12:25       ` [PATCH] series: Add pagure (v2) ng0
2016-12-14 12:25         ` [PATCH 01/11] gnu: Add python-flask-wtf ng0
2016-12-14 12:25         ` [PATCH 02/11] gnu: Add python-flask-multistatic ng0
2016-12-14 12:25         ` [PATCH 03/11] gnu: Add python-kitchen ng0
2016-12-14 12:25         ` [PATCH 04/11] gnu: Add python-munch ng0
2016-12-14 12:25         ` [PATCH 05/11] gnu: Add python-pygit2 ng0
2016-12-14 12:25         ` [PATCH 06/11] gnu: Add python2-openid ng0
2016-12-14 12:25         ` [PATCH 07/11] gnu: Add python-openid-cla ng0
2016-12-14 12:25         ` [PATCH 08/11] gnu: Add python-openid-teams ng0
2016-12-14 12:25         ` [PATCH 09/11] gnu: Add python-straight-plugin ng0
2016-12-14 12:25         ` [PATCH 10/11] gnu: Add python-trollius-redis ng0
2016-12-14 12:25         ` [PATCH 11/11] gnu: Add pagure ng0
2016-12-14 15:36           ` Leo Famulari
2016-12-14 16:27             ` ng0
2016-12-14 16:47               ` Leo Famulari
2016-12-19  9:07                 ` Pagure dependencies, rebased (v3) ng0
2016-12-19  9:07                   ` [PATCH 01/11] gnu: Add python-flask-wtf ng0
2016-12-20 23:10                     ` Danny Milosavljevic
2016-12-21 11:47                       ` Dependencies of pagure, revision of 2016-12-21 ng0
2016-12-21 11:47                         ` [PATCH 01/11] gnu: Add python-flask-wtf ng0
2016-12-21 11:47                         ` [PATCH 02/11] gnu: Add python-flask-multistatic ng0
2016-12-21 11:47                         ` [PATCH 03/11] gnu: Add python-kitchen ng0
2016-12-21 11:47                         ` [PATCH 04/11] gnu: Add python-munch ng0
2016-12-21 11:47                         ` [PATCH 05/11] gnu: Add python-pygit2 ng0
2016-12-21 11:47                         ` [PATCH 06/11] gnu: Add python2-openid ng0
2016-12-21 11:47                         ` [PATCH 07/11] gnu: Add python-openid-cla ng0
2016-12-21 11:47                         ` [PATCH 08/11] gnu: Add python-openid-teams ng0
2016-12-21 11:47                         ` [PATCH 09/11] gnu: Add python-straight-plugin ng0
2016-12-21 11:47                         ` [PATCH 10/11] gnu: Add python-trollius-redis ng0
2016-12-26 15:05                         ` Dependencies of pagure, revision of 2016-12-21 ng0
2016-12-29  3:44                         ` Leo Famulari
2016-12-29 12:19                           ` ng0
2016-12-19  9:07                   ` [PATCH 02/11] gnu: Add python-flask-multistatic ng0
2016-12-19  9:07                   ` [PATCH 03/11] gnu: Add python-kitchen ng0
2016-12-19  9:07                   ` [PATCH 04/11] gnu: Add python-munch ng0
2016-12-19  9:07                   ` [PATCH 05/11] gnu: Add python-pygit2 ng0
2016-12-19  9:07                   ` [PATCH 06/11] gnu: Add python2-openid ng0
2016-12-19  9:07                   ` [PATCH 07/11] gnu: Add python-openid-cla ng0
2016-12-19  9:07                   ` [PATCH 08/11] gnu: Add python-openid-teams ng0
2016-12-19  9:07                   ` [PATCH 09/11] gnu: Add python-straight-plugin ng0
2016-12-19  9:07                   ` [PATCH 10/11] gnu: Add python-trollius-redis ng0
2016-12-14 18:26               ` [PATCH 11/11] gnu: Add pagure ng0

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87poky7144.fsf@wasp.i-did-not-set--mail-host-address--so-tickle-me \
    --to=ng0@libertad.pw \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).