asciidoctor new package
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
|
||||
_rubyver="3.2.0"
|
||||
|
||||
def build():
|
||||
shelltools.system("gem build asciidoctor.gemspec")
|
||||
|
||||
def install():
|
||||
shelltools.system("gem install --ignore-dependencies --no-user-install -V -i %s/usr/lib/ruby/gems/%s/ -n %s/usr/bin asciidoctor-%s.gem" % (get.installDIR(), _rubyver, get.installDIR(), get.srcVERSION()))
|
||||
|
||||
pisitools.domove("/usr/lib/ruby/gems/%s/gems/asciidoctor-%s/man/asciidoctor.1" %(_rubyver, get.srcVERSION() ), "/usr/share/man/man1/")
|
||||
pisitools.removeDir("/usr/lib/ruby/gems/%s/gems/asciidoctor-%s/man" % (_rubyver, get.srcVERSION()))
|
||||
pisitools.remove("/usr/lib/ruby/gems/%s/cache/asciidoctor-%s.gem" % (_rubyver, get.srcVERSION()))
|
||||
# pisitools.doman("man/asciidoctor.1")
|
||||
|
||||
pisitools.dodoc("LICENSE", "README*")
|
||||
@@ -0,0 +1,51 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>asciidoctor</Name>
|
||||
<Homepage>https://github.com/asciidoctor/asciidoctor</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>MIT</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>A fast, open source AsciiDoc implementation in Ruby</Summary>
|
||||
<Icon>asciidoctor</Icon>
|
||||
<Description>Ruby'de hızlı, açık kaynaklı bir AsciiDoc uygulaması</Description>
|
||||
<Archive sha1sum="2a982ae490bc88a0d1478356dfea8c43007084ac" type="targz">https://github.com/asciidoctor/asciidoctor/archive/refs/tags/v2.0.18.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>rubygems</Dependency>
|
||||
</BuildDependencies>
|
||||
<!--
|
||||
<Patches>
|
||||
<Patch>asciidoctor.patch</Patch>
|
||||
<Patch level="1">asciidoctor.patch</Patch>
|
||||
</Patches>
|
||||
-->
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>asciidoctor</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>rubygems</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="data">/usr/share</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2023-05-20</Date>
|
||||
<Version>2.0.18</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>asciidoctor</Name>
|
||||
<Summary xml:lang="tr">A fast, open source AsciiDoc implementation in Ruby</Summary>
|
||||
<Description xml:lang="tr">Ruby'de hızlı, açık kaynaklı bir AsciiDoc uygulaması</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
+390679
-390117
File diff suppressed because it is too large
Load Diff
@@ -1 +1 @@
|
||||
746b381f4bfdeddb0d2ffa06a7f857ef94c2130e
|
||||
43b10eded64c83819731a99b9639ea3ad5d3b319
|
||||
Binary file not shown.
@@ -1 +1 @@
|
||||
e4e02d63792977d287b132461ff6bb6e7f9d4662
|
||||
a0446c9bf95e940f8744a6994f26f526b61a541f
|
||||
Reference in New Issue
Block a user