On Sun, 24 May 2015 17:53:18 +0300
Vladimir Seleznev <[email protected]> wrote:

> Fixed ports are in attachment.
> 
> Thanks to Daniel Jakots for some mistakes discovering.
> 
> Please test and comment.
> 
> On Sun, May 24, 2015 at 03:01:21PM +0300, Vladimir Seleznev wrote:
> > Found some issues, please ignore it at the moment.
> > 
> > On Sun, May 24, 2015 at 02:08:00PM +0300, Vladimir Seleznev wrote:
> > > Hi ports@!
> > > 
> > > There are pelican and feedgenerator ports in attachment.
> > > 
> > > Pelican is static site generator written in Python, it is similar
> > > to Jekyll still has less dependences.
> > > 
> > > Tested on -5.7.
> > > 
> > > Please comment.
> > > 
> > > -- 
> > >    With best regards,
> > >    Vladimir Seleznev
> > 
> > -- 
> >    With best regards,
> >    Vladimir Seleznev
> > 
> 

tl;dr
 - drop permit distfiles_ftp/package_ftp
 - uncomment MAINTAINER
 - works fine with a basic test from quickstart

1. For py-feedgenerator

$ /usr/ports/infrastructure/bin/portcheck                                       
                                                                               
extra PERMIT_DISTFILES_FTP line(-s)
extra PERMIT_PACKAGE_FTP lines
www/py-feedgenerator

With PERMIT_PACKAGE_CDROM =     Yes the DISTFILE & PACKAGE are not needed.

Same for pelican.

2. Why is MAINTAINER commented out in both ports?

3. Generate a pelican-quickstart page
Welcome to pelican-quickstart v3.5.0.

This script will help you create a new Pelican-based website.

Please answer the following questions so this script can generate the files
needed by Pelican.

    
> Where do you want to create your new web site? [.] 
> What will be the title of this web site? OpenBSD Test
> Who will be the author of this web site? Adam Wolk <[email protected]>
> What will be the default language of this web site? [en] 
> Do you want to specify a URL prefix? e.g., http://example.com   (Y/n) n
> Do you want to enable article pagination? (Y/n) Y
> How many articles per page do you want? [10] 
> Do you want to generate a Fabfile/Makefile to automate generation and 
> publishing? (Y/n) Y
> Do you want an auto-reload & simpleHTTP script to assist with theme and site 
> development? (Y/n) 
> Do you want to upload your website using FTP? (y/N) 
> Do you want to upload your website using SSH? (y/N)  
> Do you want to upload your website using Dropbox? (y/N) 
> Do you want to upload your website using S3? (y/N) 
> Do you want to upload your website using Rackspace Cloud Files? (y/N) 
> Do you want to upload your website using GitHub Pages? (y/N) 
Done. Your new project is available at /home/mulander/lab/pelican/test

After that (and adding an article) I was able to generate the page both with:
 - pelican content
 - gmake html

$ pelican contet                                                                
                                                                   
Done: Processed 1 article(s), 0 draft(s) and 0 page(s) in 0.22 seconds.
$ 

The page looks as expected when loaded in a browser.

Regards,
Adam

Reply via email to