Package Details: nanoc 4.10.3-1

Git Clone URL: https://aur.archlinux.org/nanoc.git (read-only)
Package Base: nanoc
Description: A simple, flexible static site generator written in Ruby.
Upstream URL: http://nanoc.ws
Licenses: MIT
Conflicts: ruby-nanoc, ruby-nanoc3
Provides: ruby-nanoc, ruby-nanoc3
Submitter: Ichimonji10
Maintainer: None
Last Packager: hcartiaux
Votes: 11
Popularity: 0.013671
First Submitted: 2014-06-18 13:45
Last Updated: 2018-11-30 13:22

Dependencies (18)

Required by (1)

Sources (1)

Latest Comments

1 2 3 4 Next › Last »

wurzelbenutzer commented on 2018-10-16 13:08

New dependency ruby-json_schema (with underline) is needed starting with 4.9.9 (I installed via pacgem). Current is 4.9.10.

hcartiaux commented on 2017-12-27 11:58

$ nanoc /usr/lib/ruby/2.4.0/rubygems/dependency.rb:308:in `to_specs': Could not find 'addressable' (~> 2.5) among 33 total gem(s) (Gem::MissingSpecError)

snqlby commented on 2017-12-03 07:32

It requires additional dependencies. Could you add the following:
ruby-hamster ruby-ref ruby-ddplugin

hcartiaux commented on 2017-10-19 14:45

Please update (and remove my comments) or promote me as a co-maintainer ;)

hcartiaux commented on 2017-10-19 14:45

# Maintainer: Marcin (CTRL) Wieczorek <marcin@marcin.co>
# Contributor: Jeremy "Ichimonji10" Audet <ichimonji10 at gmail dot com>
# Contributor: Lucky <archlinux@builds.lucky.li>
# Contributor: carstene1ns <arch carsten-teibes de>

pkgname=nanoc
pkgver=4.8.10
pkgrel=1
pkgdesc='A simple, flexible static site generator written in Ruby.'
arch=(any)
url='http://nanoc.ws'
license=(MIT)
depends=(ruby-cri ruby-addressable ruby-hamster ruby-ref ruby-ddplugin)
makedepends=(rubygems)
optdepends=(
"adsf: Provides 'nanoc view' command."
"ruby-builder: Provides 'Blogging' helper."
"ruby-kramdown: Provides filter for Markdown input files."
"ruby-nokogiri: Provides 'nanoc check' command."
"ruby-pry: Provides 'nanoc shell' command."
"ruby-w3c_validators: Provides 'nanoc check' command."
)
provides=(ruby-nanoc3 ruby-nanoc)
conflicts=(ruby-nanoc3 ruby-nanoc)
options=(!emptydirs)
source=(https://rubygems.org/downloads/$pkgname-$pkgver.gem)
noextract=("${pkgname}-${pkgver}.gem")
sha256sums=('fc3d1bc48af638fb93b4023f0cfcd40e658c74129c25dd878cd9c3f93f2317ea')

package() {

local _gemdir="$(ruby -e'puts Gem.default_dir')"

# install gem
HOME=/tmp gem install \
--no-user-install \
--ignore-dependencies \
--install-dir "${pkgdir}${_gemdir}" \
--bindir "${pkgdir}/usr/bin" \
"${srcdir}/${pkgname}-${pkgver}.gem"

# install license
install -Dm 644 \
"${pkgdir}"/usr/lib/ruby/gems/*/gems/"${pkgname}-${pkgver}"/LICENSE \
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"

rm "${pkgdir}/${_gemdir}/cache/${pkgname}-${pkgver}.gem"
}

# vim:set ts=2 sw=2 et:

Ichimonji10 commented on 2016-03-22 01:22

I no longer use Nanoc, and cannot therefore claim to be a reasonable maintainer for this package. Disowning.

Ichimonji10 commented on 2015-10-11 18:16

I've updated nanoc from version 3.8.0 to 4.0.0rc3. The ruby-listen and ruby-rack optdepends have been dropped. They provided the deprecated `nanoc watch` and `nanoc autocompile` commands in version 3.8.0, and both commands have been dropped completely in version 4.x. These two commands have been replaced by the "guard" command. See:

* https://aur.archlinux.org/packages/ruby-guard-nanoc/
* https://github.com/guard/guard-nanoc

Nanoc 4 brings significant changes. For help upgrading, see the Nanoc 4 upgrade guide: http://v4.nanoc.ws/doc/nanoc-4-upgrade-guide/

If you are unable to upgrade at this time and want to continue using nanoc 3.x, please see the commit history for this package. I cleaned up the 3.8.0 package right before updating to version 4.0.0rc3.

Ichimonji10 commented on 2015-09-30 17:07

I'll definitely do that! I've been procrastinating on finally making a nanoc3 package and updating this one to version 4.x. Thanks. :)

carstene1ns commented on 2015-09-27 09:39

Next time you update the package (maybe when 4.0 finally gets released *hint* *hint* :D), please remove 'ruby-listen' from optdepends. It has been deprecated for a while (use 'ruby-guard-nanoc' instead). Thanks!

Ichimonji10 commented on 2014-08-03 22:50

*sigh* That's definitely my fault. Sorry for failing to fix this obvious issue, carstene1ns, and thanks for giving me a heads up. I'll get on this, now that I'm back from vacation.